curl --request GET \
--url https://api.shiftkeeper.io/coverage_requests/ \
--header 'x-api-key: <api-key>'{
"coverage_requests": [
{
"id": "<string>",
"reason": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"email": "[email protected]",
"role": "owner",
"seat": "viewer",
"time_zone": "<string>",
"slack_id": "<string>"
},
"status": "pending",
"shifts": [
{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"schedule_reference": {
"id": "<string>",
"name": "<string>"
}
}
],
"accepted_by": {
"id": "<string>",
"name": "<string>",
"email": "[email protected]",
"role": "owner",
"seat": "viewer",
"time_zone": "<string>",
"slack_id": "<string>"
},
"accepted_shifts": [
{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"schedule_reference": {
"id": "<string>",
"name": "<string>"
}
}
]
}
],
"meta": {
"total": 123,
"page": 123,
"per_page": 123
}
}List all coverage requests in your organization.
curl --request GET \
--url https://api.shiftkeeper.io/coverage_requests/ \
--header 'x-api-key: <api-key>'{
"coverage_requests": [
{
"id": "<string>",
"reason": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"email": "[email protected]",
"role": "owner",
"seat": "viewer",
"time_zone": "<string>",
"slack_id": "<string>"
},
"status": "pending",
"shifts": [
{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"schedule_reference": {
"id": "<string>",
"name": "<string>"
}
}
],
"accepted_by": {
"id": "<string>",
"name": "<string>",
"email": "[email protected]",
"role": "owner",
"seat": "viewer",
"time_zone": "<string>",
"slack_id": "<string>"
},
"accepted_shifts": [
{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"schedule_reference": {
"id": "<string>",
"name": "<string>"
}
}
]
}
],
"meta": {
"total": 123,
"page": 123,
"per_page": 123
}
}Enter your API key which starts with 'keeper_'
The number of items per page.
1 <= x <= 100The page number of the results to return.
x >= 1Default Response
Show child attributes
The ID of the coverage request.
The reason for the coverage request.
Show child attributes
The ID of the user.
The name of the user.
The email of the user.
The preferred time zone of the user. If not set, the organization's time zone will be used.
The Slack ID of the user.
pending, accepted, canceled, expired Show child attributes
Show child attributes
The ID of the user.
The name of the user.
The email of the user.
The preferred time zone of the user. If not set, the organization's time zone will be used.
The Slack ID of the user.
Show child attributes