provider Shifts POST /shifts/{shift_id}/teammates
@utdk/front /shifts/{shift_id}/teammates
Add teammates to shift
Add teammates to a shift. The selected teammates must be in the team that owns the shift. Required scope: `shifts:write`
shift_id path required
The Shift ID
string

Try it

Authentication
Configure credentials for Core API
addTeammatesToShift
POST/shifts/{shift_id}/teammates
Add teammates to a shift. The selected teammates must be in the team that owns the shift. Required scope: `shifts:write`

Parameters

required

The Shift ID

Input

required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.addTeammatesToShift({
  "shift_id": "shf_123"
})