GET
/
organizations
List Orgs
curl --request GET \
  --url https://sandbox.intermezzo.ai/organizations \
  --header 'Authorization: Bearer <token>'
[
  {
    "bankAccounts": [
      {
        "accountNumber": "12345678",
        "createdAt": "2024-03-15T10:30:45.456789Z",
        "financialInstitutionName": "Example Bank",
        "id": "ban_01234567890abcdefghijklmnop",
        "isActive": true,
        "isPrimary": true,
        "orgId": "org_01234567890abcdefghijklmnop",
        "routingNumber": "123456789",
        "updatedAt": "2024-03-15T10:30:45.456789Z"
      }
    ],
    "createdAt": "2024-03-15T10:30:45.123456Z",
    "createdBy": "user_01234567890abcdefghijklmnop",
    "dbaName": "ExampleCo",
    "externalRef": "EXT-001234",
    "id": "org_01234567890abcdefghijklmnop",
    "incorporationDate": "2024-01-15",
    "legalAddress": "123 Example Street, London, EC1A 1BB",
    "legalName": "Example Corporation Ltd",
    "registrationCountry": "GB",
    "taxIdentifiers": {
      "accountsOfficeReference": "123PA00000001",
      "businessType": "Limited Company",
      "country": "GB",
      "payeReferenceNumber": "123/A45678"
    },
    "updatedAt": "2024-03-15T10:30:45.123456Z",
    "website": "https://example-company.com/",
    "workSites": [
      {
        "address": "123 Example Street, London, EC1A 1BB",
        "createdAt": "2024-03-15T10:30:45.234567Z",
        "id": "wst_01234567890abcdefghijklmnop",
        "isActive": true,
        "isPrimary": true,
        "name": "Headquarters",
        "orgId": "org_01234567890abcdefghijklmnop",
        "updatedAt": "2024-03-15T10:30:45.234567Z"
      },
      {
        "address": "456 Sample Road, Manchester, M1 2AB",
        "createdAt": "2024-03-15T10:30:45.345678Z",
        "id": "wst_09876543210zyxwvutsrqponmlk",
        "isActive": true,
        "isPrimary": false,
        "name": "Branch Office",
        "orgId": "org_01234567890abcdefghijklmnop",
        "updatedAt": "2024-03-15T10:30:45.345678Z"
      }
    ]
  }
]

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[].