POST
/
v1
/
schedules
curl --request POST \
  --url https://api.rootly.com/v1/schedules \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "7a1302cb-cfc8-42e1-8f59-473331030349",
    "type": "schedules",
    "attributes": {
      "name": "Schedule Name",
      "description": "Schedule Description",
      "all_time_coverage": true,
      "slack_user_group": {},
      "owner_user_id": 441,
      "owner_group_ids": [],
      "created_at": "2025-03-07T00:08:54.164-08:00",
      "updated_at": "2025-03-07T00:08:54.164-08:00"
    },
    "relationships": {
      "owner_user": {
        "data": {
          "id": "441",
          "type": "users"
        }
      },
      "escalation_policies": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
schedule created
data
object
required