Skip to main content
POST
/
contract
/
v1
/
workday-types
Create a workday type
curl --request POST \
  --url https://api-{region}.sesametime.com/contract/v1/workday-types \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "editable": true
  }
}

Authorizations

Authorization
string
header
required

API token obtained from Sesame HR Dashboard > Settings > Integrations > API

Body

application/json

Workday type object that needs to be created

name
string
required

the name of the workday type

Response

200 - application/json

Workday Type

data
object