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": "906f5075-d7f3-429c-be94-74203a958670",
    "type": "schedule_rotation_users",
    "attributes": {
      "schedule_rotation_id": "d392fdee-0bee-4895-8f28-a3ad8a268382",
      "user_id": 425,
      "position": 2,
      "created_at": "2025-09-18T06:46:08.243-07:00",
      "updated_at": "2025-09-18T06:46:08.243-07: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