Customers
Create Contact
POST
Creates a new contact for a customer. Optional identityDocumentScanId links a scan to the new contact in the same atomic transaction when the scan is not already tied to another contact and, if already linked to a customer, that customer matches customerId.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
customerId*stringfirstName*stringLength
1 <= lengthlastName?string|nullemail?|unknown|nullphone?string|nullrelation?stringValue in
"SPOUSE""CHILD""GRANDCHILD""PARENT""SIBLING""FRIEND""COLLEAGUE""COMPANY_MANAGER""OTHER"relationOther?string|nullbirthday?stringFormat
date-timeaddress?string|nullbirthplace?string|nullprofession?string|nullpersonalNumber?string|nullcomments?string|nullisEmergencyContact?booleanmentionOnInvoice?booleanlocale?string|nullcountry?string|nullidentityDocumentScanId?stringOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs/string/contacts' \ -H 'Content-Type: application/json' \ -d '{ "customerId": "string", "firstName": "string"}'null