Headers
Bearer token for API authentication
Path Parameters
Response
200
curl --request GET \
--url https://app.sajn.se/api/v1/companies/{id} \
--header 'authorization: <authorization>'
{
"company": {
"id": "<string>",
"name": "<string>",
"orgNumber": "<string>",
"country": "<string>",
"parties": [
{
"id": "<string>",
"email": "<string>",
"phone": "<string>",
"ssn": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"createdAt": "<any>",
"updatedAt": "<any>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"city": "<string>",
"country": "<string>",
"state": "<string>",
"zipCode": "<string>",
"companyRole": "<string>",
"externalId": "<string>",
"company": [
{
"id": "<string>",
"name": "<string>",
"orgNumber": "<string>",
"country": "<string>"
}
]
}
]
}
}
Retrieve detailed information about a company including all associated contacts.
curl --request GET \
--url https://app.sajn.se/api/v1/companies/{id} \
--header 'authorization: <authorization>'
{
"company": {
"id": "<string>",
"name": "<string>",
"orgNumber": "<string>",
"country": "<string>",
"parties": [
{
"id": "<string>",
"email": "<string>",
"phone": "<string>",
"ssn": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"createdAt": "<any>",
"updatedAt": "<any>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"city": "<string>",
"country": "<string>",
"state": "<string>",
"zipCode": "<string>",
"companyRole": "<string>",
"externalId": "<string>",
"company": [
{
"id": "<string>",
"name": "<string>",
"orgNumber": "<string>",
"country": "<string>"
}
]
}
]
}
}
Bearer token for API authentication
200
Show child attributes