Pređi na sadržaj
Teme dokumentacije

Introduction to the Synaptik API

What your system can do with the Synaptik API, how access works, and the general rules.

Ova stranica još nije prevedena na Vaš jezik. Prikazana je na jeziku koji je dostupan.

The Synaptik API lets another system, such as a rental platform, an online store or a monitoring tool, read and write a company's data in Synaptik without a person opening the application.

What you can do

AreaWhat it allows
CustomersLook up customers and create one by RUT (the Chilean tax ID) without duplicating it.
Contacts (CRM)Create or update a person by email or phone, with tags and consents.
DocumentsCreate invoices with their lines, approve them (an approved factura is sent to the SII, the Chilean tax service), and read the folio, the SII status and the PDF.
PaymentsRecord a customer payment, apply it to their invoices, and reverse it.
TicketsOpen a support ticket from another system, read it and comment on it.
WebhooksReceive a signed message when a document or a payment changes.

How you get access

Pintor Project grants access. There is no automatic sign-up: we agree with you which operations your system needs and configure only those. There are two ways to authenticate, depending on what you want to do:

  • Documents, customers, contacts and payments: your system gets a Microsoft Entra token with its own application (no signed-in user) and sends it on every call. See Authentication.
  • Tickets: an integration key sent in the X-Integration-Key header. See Authentication.

API address

Pintor Project gives you the API address together with your access. The examples in this documentation use https://YOUR_API_ADDRESS; replace it with the address you were given.

Version

All routes start with /api/v1/. The version can be left out of a request, but we recommend always writing it.

General rules

  • Request and response bodies are JSON with camelCase names (documentClientUid). Send Content-Type: application/json.
  • Dates use ISO 8601, for example 2026-10-15 or 2026-10-15T14:03:11+00:00.
  • Amounts are JSON numbers. Payments are sent in whole Chilean pesos, with no decimals.
  • Identifiers (uid) are GUIDs.
  • Lists are paged with page and pageSize. See Errors and usage rules.
  • Documents, payments and tickets are created with a reference of your own (externalReference), so repeating a call does not create a duplicate.

First call

With an access token (see Authentication), this call lists your company's documents:

curl "https://YOUR_API_ADDRESS/api/v1/documents?page=1&pageSize=20" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Synaptik-Tenant: YOUR_TENANT" \
  -H "X-Synaptik-Workspace: YOUR_WORKSPACE_UID" \
  -H "X-Client-Uid: YOUR_WORKSPACE_UID"

Response (shortened):

{
  "success": true,
  "data": [ { "uid": "0b6e7f2a-9c1d-4e8f-a3b5-7d2c1e0f9a44", "type": 0, "id": 715, "total": 119000 } ],
  "message": null,
  "errors": [],
  "page": 1,
  "pageSize": 20,
  "totalCount": 1,
  "totalPages": 1,
  "hasPrevious": false,
  "hasNext": false
}