Using the API
Schedules
- GETList schedules
- POSTCreate a schedule
- GETGet a schedule
- DELDelete a schedule
- PATCHUpdate a schedule
- GETList schedule shifts
- GETGet the Slack user group for a schedule
- PUTAttach or update the Slack user group for a schedule
- DELDetach the Slack user group from a schedule
- GETList linked schedule Slack channels
- PUTLink a Slack channel to a schedule
- DELUnlink a Slack channel from a schedule
Overrides
Coverage
Teams
Create a team
Create a new team.
POST
/
teams
curl --request POST \
--url https://api.shiftkeeper.io/teams/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "Payments",
"description": "All about payments and billing"
}'
{
"team": {
"id": "tea_VJ4sYEOOXVvJBXqFjRzpm",
"name": "Payments",
"description": "All about payments and billing"
}
}
Authorizations
Enter your API key which starts with 'keeper_'
Body
application/json
Response
200
application/json
Default Response
The response is of type object
.
curl --request POST \
--url https://api.shiftkeeper.io/teams/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "Payments",
"description": "All about payments and billing"
}'
{
"team": {
"id": "tea_VJ4sYEOOXVvJBXqFjRzpm",
"name": "Payments",
"description": "All about payments and billing"
}
}
Assistant
Responses are generated using AI and may contain mistakes.