Skip to content

List the on-call rotation roster

GET
/organizations/{org_id}/on-call/members
curl --request GET \
--url https://api.perstat.io/organizations/example/on-call/members \
--header 'Authorization: Bearer <token>'

Returns the ordered on-call rotation roster of the organization as public user ids with positions. Roster entries of users who have left the organization are omitted. Reading the roster is not plan-gated. Accepts API keys with the on-call:read scope, subject to current role and resource grants.

org_id
required
string

Request succeeded. The response body contains the result.

Media typeapplication/json
object
members
required
Array<object>
object
position
required
integer format: int32
user_id
required

Interner User-UUID.

string
Examplegenerated
{
"members": [
{
"position": 1,
"user_id": "example"
}
]
}

Authentication is missing or invalid.

The authenticated caller does not have permission to perform this operation.

No accessible resource matches the supplied identifier.