Skip to main content
GET
/
api
/
v1
/
webhooks
/
{id}
Retrieve a webhook
curl --request GET \
  --url https://api.tabby.ai/api/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Merchant-Code: <x-merchant-code>'
{
  "header": {
    "title": "Arbitrary header name to sign the request",
    "value": "Random string to sign the request"
  },
  "id": "unique webhook id",
  "is_test": true,
  "url": "https://example.com/"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <secret_key>, where <secret_key> is your secret_key.

Headers

X-Merchant-Code
string
required

Used for multi store/countries setup, please contact your Account manager to recognize that

Example:

"code provided to you from Tabby side"

Path Parameters

id
string<uuid>
required

ID of the webhook.

Example:

"webhook id, uuid format"

Response

Success. Webhook object is returned.

id
string
required

Unique webhook ID, assigned by Tabby.

Example:

"unique webhook id"

is_test
boolean
default:true
required

Indicates whether to use this hook in test environment or not.

url
string<uri>
required

HTTPS endpoint for notifications. The URL should be valid and accessible (not local).

Example:

"https://example.com/"

header
object | null