Create Schedules
POST {{baseUrl}}/schedules
This endpoint is used to create a new schedule.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with schedule-write
scope.
Request Body
{"name"=>"Daily schedule", "colour"=>"#0f61dd", "description"=>"This schedule repeats daily", "owner_id"=>"<string>(owner_id represents team_id)"}
RESPONSES
status: Created
{"data":{"id":"620b98c1097308a242bc8644","name":"Weekly schedule","slug":"weekly-schedule","organization_id":"60cb200bc9de4a0008d2fc41","colour":"#0f61dd","description":"This schedule repeats weekly","owner":{"id":"620b71fef163b1e165f19f9c","type":"team"},"access_control":[],"organization":{"id":"60cb200bc9de4a0008d2fc41","name":"Modhilal_Squadcast","slug":"modhilalsquadcast"}}}