Skip to main content
GET
/
api
/
v1
/
companies
/
{id}
Get a company by ID
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>"
          }
        ]
      }
    ]
  }
}

Headers

authorization
string
required

Bearer token for API authentication

Path Parameters

id
string
required

Response

200

company
object | null
I