Skip to Content
Bhakti BaazarDevelopers
API referenceWebhooks

Get a webhook endpoint

GET
/webhook-endpoints/{endpointId}

Scope: webhooks:manage

Authorization

sellerApiKey
headerAuthorizationBearer <bbsk_live_…>

A Seller API key, bbsk_live_…

Path Parameters

endpointId*string
Formatuuid

Response Body

application/json
  1. response
id*string
Formatuuid
url*string
description*string|null
events*array<>
enabled*boolean
disabledReason*|

seller: you switched it off. failing: every attempt failed for 24 hours, so we switched it off.

Value in"seller""failing"
disabledAt*|
Formatdate-time
failingSince*|

When the current run of failures began; null after any success.

Formatdate-time
previousSecretExpiresAt*|

After a secret rotation, the old secret also signs until this time.

Formatdate-time
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
Example Request
curl -X GET 'https://api.bhaktibaazar.com/seller-api/v1/webhook-endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "url": "string",  "description": "string",  "events": [    "order.created"  ],  "enabled": true,  "disabledReason": "seller",  "disabledAt": "2019-08-24T14:15:22Z",  "failingSince": "2019-08-24T14:15:22Z",  "previousSecretExpiresAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}