Some StatusCake API endpoints, namely those that create and update monitoring resources, accept input parameters. This document outline the considerations that must be made when interacting with these endpoints.
Accept request HTTP header indicates which content types, expressed as
MIME types, the client is able to understand. The StatusCake API is only
capable of consuming data that has been URL encoded, meaning that the only
Accept header be
Any API endpoint that accepts an array as input must be formatted as follows:
For example if creating an uptime check with tags, the tags must be given as separate parameters.
curl -X POST "https://api.statuscake.com/v1/uptime" \
-H "Authorization: Bearer <token>" \
Setting an array of values to be empty can be achieved either by passing a
single array item without a value, i.e.
tags=, or by specifying the field
name without a value, i.e.