Sign in

Create schedule

documented

Create a routing schedule (e.g., Business Hours, Weekend Hours).

POST /api/v1/accounts/{account_id}/schedulesSchedulesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.calltrackingmetrics.com/api/v1/accounts/{{$account_id}}/schedules" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"title": "{{$title}}", "description": "{{$description}}", "timezone": "{{$timezone}}", "active": true, "times": [ { "start_time": "{{$start_time}}", "end_time": "{{$end_time}}", "days": {{$days}} } ] }'