Skip to main content
POST
/
organizations
/
{organization_id}
/
payrolls
/
pay-calendars
Create Pay Calendar
curl --request POST \
  --url https://dev.intermezzo.ai/organizations/{organization_id}/payrolls/pay-calendars \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "startDate": "2023-12-25",
  "endDate": "2023-12-25",
  "payDate": "2023-12-25"
}
'
{
  "startDate": "2023-12-25",
  "endDate": "2023-12-25",
  "payDate": "2023-12-25",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Get token from Auth0 and paste it here

Path Parameters

organization_id
required

Body

application/json
startDate
string<date>
required
endDate
string<date>
required
payDate
string<date>
required

Response

Successful Response

startDate
string<date>
required
endDate
string<date>
required
payDate
string<date>
required
id
string
required