Skip to Content

Search companies

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.
GET
/api/v1/companies/search

Search for companies by organization number or name.

Query Parameters (at least one required):

  • orgNumber - Search by exact organization number match
  • name - Search by exact company name match (case-insensitive)

Response: Returns an array of matching companies with their associated contacts. Empty array if no matches found.

Note: All searches are exact matches and scoped to your organization.

Authorization

headerAuthorizationBearer <token>

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

Query Parameters

Header Parameters

authorization*string

Bearer token for API authentication

Response Body

200

application/json
  1. response
companies*array<>

Array of matching companies

Example Request
curl -X GET 'https://app.sajn.se/api/v1/companies/search' \  -H 'authorization: string'
Example Response
{  "companies": [    {      "id": "string",      "name": "string",      "orgNumber": "string",      "country": "string",      "contacts": [        {          "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?