POST
/
organizations
/
{organization_id}
/
employees
curl --request POST \
  --url https://payroll.intermezzo.ai/organizations/{organization_id}/employees \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "formattedAddress": "<string>",
    "streetNumber": "<string>",
    "road": "<string>",
    "city": "<string>",
    "state": "<string>",
    "country": "<string>",
    "postalCode": "<string>",
    "postalCodeSuffix": "<string>",
    "latitude": 123,
    "longitude": 123,
    "legalFullName": "<string>",
    "personalEmail": "jsmith@example.com",
    "workEmail": "jsmith@example.com",
    "phoneNumbers": [
      {
        "isPrimary": true,
        "phoneNumber": "+447911123456",
        "phoneType": "mobile"
      }
    ],
    "dob": "2023-12-25",
    "department": "<string>",
    "startDate": "2023-12-25",
    "terminationDate": "2023-12-25",
    "companyOfficer": true,
    "companyContact": "<string>",
    "worksiteId": "<string>",
    "taxInfo": {
      "country": "UnitedKingdom",
      "taxIdentifier": "<string>",
      "employeeId": "<string>",
      "niNumber": "<string>",
      "niCategory": "A",
      "taxCode": "<string>",
      "studentLoanType": "Plan1",
      "postgraduateLoan": true,
      "validFrom": "2023-12-25",
      "validTo": "2023-12-25",
      "p45GrossPay": 123,
      "p45TaxAmount": 123,
      "p45NetPay": 123
    },
    "bankAccounts": [
      {
        "financialInstitutionName": "<string>",
        "accountNumber": "<string>",
        "routingNumber": "<string>",
        "iban": "<string>",
        "isActive": true,
        "isPrimary": false
      }
    ]
  }
]'
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

organization_id
string
required

Body

application/json · EmployeeRequest · object[]

The body is of type EmployeeRequest · object[].

Response

200
application/json

Successful Response

The response is of type any.