v2

latestSwagger 2.02026-07-26109144190.4 KB
Rotations

Add a member to a shift

Add a user to a rotation shift. The user must belong to the organization and must not be a stakeholder user. The user will also be added to the team if not already a member.

This API may be called a maximum of 2 times per second.

post/api-public/v1/teams/{team}/rotations/{groupId}/{shiftId}/members

Path parameters

teamstring required

The team slug

groupIdinteger required

The rotation group ID

shiftIdinteger required

The rotation shift ID

Headers

X-VO-Api-Idstring required

Your API ID

X-VO-Api-Keystring required

Your API Key

Request body

usernamestring required

The username of the user to add to the shift

positioninteger

The position (order) in the rotation for this member. If not provided, the member is added at the end.

Response

The member was successfully added to the shift