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": "1ec54e02-e36b-4706-9705-6878e09317d3",
    "type": "schedule_rotation_users",
    "attributes": {
      "schedule_rotation_id": "16618d11-509c-4394-909e-4c7c173a33d8",
      "user_id": 470,
      "position": 2,
      "created_at": "2025-11-06T13:29:22.178-08:00",
      "updated_at": "2025-11-06T13:29:22.178-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