Skip to main content
POST
/
coverage_requests
/
events
Accept or decline a coverage request
curl --request POST \
  --url https://api.shiftkeeper.io/coverage_requests/events/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "type": "accept"
}
'
{
  "error": {
    "code": "not_found",
    "status": 404,
    "message": "The requested resource was not found"
  }
}

Authorizations

x-api-key
string
header
required

Enter your API key which starts with 'keeper_'

Path Parameters

coverage_request_id
string
required

The ID of the coverage request.

Body

application/json
type
enum<string>
required

The action you want to take on the coverage request

Available options:
accept,
decline

Response

Coverage request event created successfully