POST
/
organizations
curl --request POST \
  --url https://payroll.intermezzo.ai/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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>",
  "workSites": [
    {
      "name": "<string>",
      "address": "<string>",
      "isActive": true,
      "isPrimary": true
    }
  ],
  "bankAccounts": [
    {
      "financialInstitutionName": "<string>",
      "accountNumber": "<string>",
      "routingNumber": "<string>",
      "iban": "<string>",
      "isActive": true,
      "isPrimary": false
    }
  ]
}'
{
  "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.

Query Parameters

request_model_exclude_unset
any

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.