Skip to main content
GET
/
api
/
v1
/
contacts
/
{id}
Get a contact by ID
curl --request GET \
  --url https://app.sajn.se/api/v1/contacts/{id} \
  --header 'authorization: <authorization>'
{
  "id": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "ssn": "<string>",
  "externalId": "<string>",
  "createdAt": "<any>",
  "updatedAt": "<any>",
  "companyRole": "<string>",
  "company": {
    "id": "<string>",
    "name": "<string>",
    "orgNumber": "<string>"
  }
}

Headers

authorization
string
required

Bearer token for API authentication

Path Parameters

id
string
required

Response

200

id
string
required

Unique contact identifier

firstName
string
required

Contact first name

lastName
string
required

Contact last name

createdAt
any
required

Date and time when contact was created

updatedAt
any
required

Date and time when contact was last updated

email
string | null

Contact email address

phone
string | null

Contact phone number

ssn
string | null

Swedish personal number (personnummer)

externalId
string | null

Your external reference ID

companyRole
string | null

Role/title within the associated company

company
object | null

Associated company information

I