Get a webhook

URL

GET https://api.complycube.com/v1/webhooks/:id

Retrieves an existing webhook

Headers

NameTypeDescription

Authorization*

string

The API live or test key.

Path parameters

NameTypeDescription

id*

string

The ID of the webhook.

Example request

curl -X GET https://api.complycube.com/v1/webhooks/{:webhookId} \
     -H 'Authorization: <YOUR_API_KEY>'

Example response

{
  "id": "5ed1712e99c81a0007b9a3d6",
  "description": "This is my webhook, I like it a lot",
  "url": "https://example.com/my/webhook/endpoint",
  "enabled": true,
  "events": [
    "check.pending",
    "check.completed"
  ],
  "createdAt": "2020-01-29T20:31:42.375Z",
  "updatedAt": "2020-01-29T20:31:42.375Z"
}

Last updated