cURL
curl --request POST \ --url https://api-{region}.sesametime.com/schedule/v1/agreements \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "code": "<string>", "color": "<string>", "annualHours": 123 } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Create an agreement
API token obtained from Sesame HR Dashboard > Settings > Integrations > API
Data to create an agreement
Agreement name
Agreement code
Color of agreement
Annual hours
Agreement created
Suggestions