Contact fields
The following request body creates a contact:
POST /contacts. The response is the contact, with the full company in company.
Companies
A company has aname, an optional orgNumber, and an optional country. To link a contact to a company, set the contact’s companyId. To read a company, call GET /companies/{id}, and to list its contacts, call GET /contacts?companyId=. To find companies, filter GET /companies by orgNumber or name.
To find a company’s details in the business registry by its organization number, call GET /company-registry/{orgNumber}.
Use a contact on a document
To add a contact as a party, send itscontactId, either in parties when you create the document, or to POST /documents/{id}/parties:
contactId links back to the contact.
Find contacts
To list contacts, callGET /contacts. Use query to search first name, last name, email, phone, and company. To filter, pass email, phone, externalId, companyId, or tagId; a contact must match every filter you pass. For pagination, see Pagination.
Before you create a contact, look it up by email or externalId, so you don’t create duplicates. If you sync contacts from another system, store that system’s ID in externalId.
Delete a contact
DELETE /contacts/{id} deletes a contact permanently and returns its id with deleted set to true. Parties created from the contact keep their own copy of its details and are unlinked from it, so existing documents don’t change.
Next steps
Parties
Roles, signing order, delivery, and verification.
Managing contacts
Create, search, and update contacts.
Working with companies
Group contacts by company.

