Create a new contact
Create a new contact in your organization.
Required Fields:
firstName- Contact’s first name
Optional Fields:
lastName- Contact’s last name (omit or send an empty string for single-name contacts)email- Email addressphone- Phone number (for SMS notifications)ssn- Swedish personal number (for BankID)externalId- Your external reference ID for trackingcompanyId- Associate with existing companycompanyRole- Role within the company
Authorizations
Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
Headers
Bearer token for API authentication
Makes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.
255Body
Body
Create contact request
Contact first name (required)
1Contact last name (optional, e.g. for single-name contacts)
Contact email address
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Contact phone number
Swedish personal number (personnummer)
Your external reference ID for this contact
ID of company to associate with
Role/title within the company
Response
200
Unique contact identifier
Contact first name
Contact last name
Date and time when contact was created
Date and time when contact was last updated
Contact email address
Contact phone number
Swedish personal number (personnummer)
Your external reference ID
Role/title within the associated company
Associated company information

