POST
/
organizations
Create Orgs
curl --request POST \
  --url https://sandbox.intermezzo.ai/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "bankAccounts": [
    {
      "accountNumber": "DE89370400440532013000",
      "financialInstitutionName": "Deutsche Bank",
      "isActive": true,
      "isPrimary": true,
      "routingNumber": "370400440"
    }
  ],
  "contactPerson": {
    "email": "hans.mueller@mail.com",
    "name": "Hans Mueller"
  },
  "correspondenceAddress": "Korrespondenz-Straße 456, 10117 Berlin, Deutschland",
  "dbaName": "ExampleCo GmbH",
  "externalRef": "EXT-DE-001234",
  "incorporationDate": "2025-07-15",
  "insuranceData": [
    {
      "accidentInsuranceCompanyNumber": "DE111111111",
      "accidentInsurancePin": "DE-PIN-123456",
      "companyNumber": "DE123456789",
      "payrollProcessingLocationNumber": "DE333333333",
      "payrollServiceProviderNumber": "DE222222222",
      "u1Selected": false,
      "u2Selected": true,
      "u3Selected": false,
      "unrs": "DE987654321",
      "validFrom": "2025-07-15"
    }
  ],
  "legalAddress": "Musterstraße 123, 10115 Berlin, Deutschland",
  "legalName": "Example Corporation GmbH",
  "preferences": {
    "extraPaidLeaveDays": 2,
    "insuranceCreditPreference": "credit",
    "insuranceSubsidyMethod": "assessment_ceiling",
    "isInsolvent": false
  },
  "registrationCountry": "DE",
  "taxIdentifiers": [
    {
      "taxData": {
        "businessType": "GmbH",
        "country": "DE",
        "isEmployeeFlatTax": true,
        "taxFilingFrequency": "monthly",
        "taxNumber": "12/345/67890"
      },
      "validFrom": "2025-07-15"
    }
  ],
  "validFrom": "2025-07-15",
  "website": "https://company.com",
  "workSites": [
    {
      "address": "Musterstraße 123, 10115 Berlin, Deutschland",
      "contactPerson": {
        "email": "anna.schmidt@mail.com",
        "name": "Anna Schmidt"
      },
      "insuranceData": [
        {
          "accidentInsuranceCompanyNumber": "DE-WS-111",
          "accidentInsurancePin": "DE-WS-PIN-123",
          "payrollProcessingLocationNumber": "DE-WS-333",
          "payrollServiceProviderNumber": "DE-WS-222",
          "validFrom": "2025-07-15",
          "worksiteLocationNumber": "DE-WS-001"
        }
      ],
      "isActive": true,
      "isPrimary": true,
      "name": "Hauptsitz",
      "taxIdentifiers": [
        {
          "taxData": {
            "businessType": "GmbH",
            "country": "DE",
            "isEmployeeFlatTax": false,
            "taxFilingFrequency": "quarterly",
            "taxNumber": "12/345/67891"
          },
          "validFrom": "2025-07-15"
        }
      ],
      "validFrom": "2024-01-15"
    }
  ]
}'
{
  "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.

Body

application/json

Response

Successful Response

The response is of type object.