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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

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

Enter a gateway URL 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"
})