Get a contact
Authentication
JWT issued via POST /api/v1/auth/sign_in. Used by mobile and SPA clients. Revoked tokens are rejected.
Lucanto API key. Two prefixes:
lct_pat_<random><checksum>— personal access token (owner: User)lct_live_<random><checksum>— workspace token, live data
Issue keys at /settings/api_keys (personal) or
/:workspace_id/settings/api_keys (workspace). Plaintext token is
shown once and never again.
Path parameters
Workspace ID: the workspace’s numeric id or its public_id
(ws_01h455vb4pex5vsknk084sn02q, the form the web app’s URLs show).
The bare UUID form of the public_id is accepted but deprecated.
Contact ID. Either the numeric id or the public_id (cnt_…).
Response
Contact ID (workspace-scoped). Not the legal-entity ID.
Stable public identifier of this record. Never changes once assigned.
Its prefix names the entity or document family: inv_ invoice,
settlement invoice, collective invoice or tax document; cn_ credit
note or advance credit note; dbn_ debit note; pf_ proforma;
qt_ quote; so_ sales order; po_ purchase order; dln_ delivery
note; rdn_ received delivery note; rcp_ cash receipt; doc_ internal income, rent income or
recurring document. Other entities use exp_ expense, cnt_ contact, prj_
project, ba_ bank account or cash register, txn_ transaction,
lon_ loan, bst_ bank statement, ws_ workspace, edoc_ e-document (a document sent or received over a network, as its edocument block names it; an inbox entry is inb_). Accepted in place of the numeric
id in this resource’s path parameters and in request fields that
reference it (customer_id, bank_account_id, …).
The workspace is over its plan’s contact limit and this contact is suspended: it can be read and used, not edited. Reactivate it with POST …/contacts/{id}/reactivate once the plan has room.
Legal/company registration identifier (SK/CZ IČO). _id denotes identifier, not a foreign key; the value is an opaque string and may be alphanumeric outside SK/CZ (e.g. UK SC123456).
Tax registration identifier (SK/CZ DIČ). An identifier string, not a number.
VAT identifier (SK/CZ IČ DPH). Alphanumeric with a country prefix (e.g. SK2020123456, ATU12345678) — an identifier, not a number.
VAT registration status (standard | non_payer_vat | foreign); nullable.
The contact’s registered legal name, including legal form (e.g. “ACME s.r.o.”). This is the contact’s name.
Buyer reference (EN 16931 BT-10) this customer wants on its invoices. A draft whose customer is set to this contact takes it unless the draft has a reference of its own.
The contact’s in-app name in this workspace (the web form’s “Meno kontaktu pre účely aplikácie”). Not the legal name, and never printed on documents.
The contact’s man-day rate (the web form’s “MD Sadzba”), a decimal string.
When the contact was suspended; null while active.
Whether this contact receives e-invoices over Peppol, as last checked. Read-only: it is the stored answer and never triggers a lookup. null while the feature is not available to the workspace (outside Slovakia, or not yet switched on), and for a contact whose invoice address is outside Slovakia, which is never looked up.
