GET
/
organizations
curl --request GET \
  --url https://payroll.intermezzo.ai/organizations \
  --header 'Authorization: Bearer <token>'
[
  {
    "legalName": "<string>",
    "legalAddress": "<string>",
    "dbaName": "<string>",
    "registrationCountry": "<string>",
    "incorporationDate": "2023-12-25",
    "website": "<string>",
    "taxIdentifiers": {
      "country": "<string>",
      "businessType": "Sole Trader",
      "payeReferenceNumber": "<string>",
      "accountsOfficeReference": "<string>"
    },
    "externalRef": "<string>",
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "workSites": [
      {
        "name": "<string>",
        "address": "<string>",
        "isActive": true,
        "isPrimary": true,
        "id": "<string>",
        "orgId": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "bankAccounts": [
      {
        "financialInstitutionName": "<string>",
        "accountNumber": "<string>",
        "routingNumber": "<string>",
        "iban": "<string>",
        "isActive": true,
        "isPrimary": false,
        "id": "<string>",
        "employeeId": "<string>",
        "orgId": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

The response is of type OrgResponse · object[].