Skip to main content
POST
/
v1
/
schedule_rotations
/
{schedule_rotation_id}
/
schedule_rotation_users
Creates a schedule rotation user
curl --request POST \
  --url https://api.rootly.com/v1/schedule_rotations/{schedule_rotation_id}/schedule_rotation_users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "schedule_rotation_users",
    "attributes": {
      "user_id": 123,
      "position": 123
    }
  }
}'
{
  "data": {
    "id": "cec67ad2-d420-481b-a526-22926d1429ca",
    "type": "schedule_rotation_users",
    "attributes": {
      "schedule_rotation_id": "76262b42-0d11-4503-8a57-a5fa3f505951",
      "user_id": 472,
      "position": 2,
      "created_at": "2025-11-19T13:28:55.389-08:00",
      "updated_at": "2025-11-19T13:28:55.389-08:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

schedule_rotation_id
string
required

Body

application/vnd.api+json
data
object

Response

schedule_rotation_user created

data
object
required