provider Shifts POST /teams/{team_id}/shifts
@utdk/front /teams/{team_id}/shifts
Create team shift
Create a shift for a team (workspace). Required scope: `shifts:write`
team_id path required
The Team 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.

createTeamShift
POST/teams/{team_id}/shifts
Create a shift for a team (workspace). Required scope: `shifts:write`

Parameters

required

The Team ID

Input

required

Name of the shift

required

Color of the shift

required

A timezone name as defined in the IANA tz database

required
required

List of all the teammate ids who will be part of this shift. Alternatively, you can supply emails as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).

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.createTeamShift({
  "team_id": "tim_123"
})