Skip to Content

Update a contact

You're viewing API version 2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.
PATCH
/api/v1/contacts/{id}

Update contact information. All fields are optional.

Note: Updating a contact does not affect existing document signers. Changes only apply to new documents.

Authorization

headerAuthorizationBearer <token>

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Path Parameters

id*string

Header Parameters

authorization*string

Bearer token for API authentication

Idempotency-Key?string

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.

Lengthlength <= 255

Request Body

Body

application/json
  1. body

Update contact request

firstName?string

Contact first name

lastName?string

Contact last name

email?string

Contact email address

Match^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Formatemail
phone?string

Contact phone number

ssn?string

Swedish personal number (personnummer)

externalId?string

Your external reference ID for this contact

companyId?|

ID of company to associate with. Omit to keep the current company, or pass null to unlink it.

companyRole?string

Role/title within the company

Response Body

200

application/json
  1. response
id*string

Unique contact identifier

email?|

Contact email address

phone?|

Contact phone number

firstName*string

Contact first name

lastName*string

Contact last name

ssn?|

Swedish personal number (personnummer)

externalId?|

Your external reference ID

createdAt*string

Date and time when contact was created

Formatdate-time
updatedAt*string

Date and time when contact was last updated

Formatdate-time
companyRole?|

Role/title within the associated company

company?|

Associated company information

Example Request
curl -X PATCH 'https://app.sajn.se/api/v1/contacts/string' \  -H 'authorization: string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string",  "email": "string",  "phone": "string",  "firstName": "string",  "lastName": "string",  "ssn": "string",  "externalId": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "companyRole": "string",  "company": {    "id": "string",    "name": "string",    "orgNumber": "string"  }}

Was this page helpful?