v2

latestOpenAPI 3.0.02026-07-261859071.2 MB
Private locations

Generate a new API Key for a private location

Creates an api key on the private location.

post/v1/private-locations/{id}/keys

Path parameters

idstring required

Headers

x-checkly-accountstring

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Response

Created

idstring required
rawKeystring required
maskedKeystring required

The masked key value.

created_atstring date required
updated_atstring date nullable

Example response

{
  "id": "fed3ada8-7d9b-4634-a0fe-471afe0518b6",
  "rawKey": "pl_a89026d28a0c45cf9e11b4c3637f3912",
  "maskedKey": "...6a1e"
}