API Reference
v1.7.3
Search…
⌃K

Get a webhook

get
https://api.complycube.com
/v1/webhooks/:id
Get a webhook
Retrieves an existing webhook
Parameters
Path
id*
string
The ID of the webhook.
Header
Authorization*
string
The live or sandbox API key.
Responses
200
Webhook successfully retrieved.
404
Could not find a webhook matching the provided id.

Example request

cURL
Node.js
Python
PHP
.NET
curl -X GET https://api.complycube.com/v1/webhooks/{:webhookId} \
-H 'Authorization: <YOUR_API_KEY>'
const { ComplyCube } = require("@complycube/api");
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
await complycube.webhook.get("WEBHOOK_ID")
from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR_API_KEY>')
hook = cc_api.webhooks.get('WEBHOOK_ID')
$ccapi = new ComplyCubeClient('<YOUR_API_KEY>');
$webhook = $ccapi->webhooks()->get('WEBHOOK_ID');
using ComplyCube.Net;
using ComplyCube.Net.Resources.Webhooks;
var webhookApi = new WebhookApi(new ComplyCubeClient("<YOUR_API_KEY>"));
var webhook = await webhookApi.GetAsync("WEBHOOK_ID");