Retrieve a webhook

Returns the details of a given webhook, based on its webhookId.

SecurityCommonAuth
Request
path Parameters
webhookId
required
string <uuid> (webhookId) <= 36 characters

The ID of the webhook to work with.

Example: da91434a-4026-42ea-84b8-d0317b64af9c
query Parameters
accountId
string (accountId)

The account ID to filter the response with (required for user-level API key).

Example: accountId=F50091
Responses
200

OK

400

Bad request

401

Unauthorised

403

Forbidden

404

Not found

405

Method not allowed

415

Unsupported media type

429

Too many requests

500

Internal server error

get/webhooks/{webhookId}
Request samples
Response samples
application/json
{
  • "id": "da91434a-4026-42ea-84b8-d0317b64af9c",
  • "productId": "911db6db-ef58-4992-87cd-2fe2cfde05f9",
  • "webhookEventTypeId": "da91434a-4026-42ea-84b8-d0317b64af9c",
  • "accountId": "C12345",
  • "authorizationHeader": "Basic AXVubzpwQDU1dzByYM==",
  • "webhookEventTypeName": "OrderCreated",
  • "enabled": true,
  • "sharedSecret": "123e4567-e89b-12d3-a456-426614174000",
  • "createdAt": "2021-01-30T08:30:00Z",
  • "updatedAt": "2021-01-30T08:30:00Z"
}