Skip to Content
FastracDocs
API reference

Retrieve your webhook endpoint

GET
/b2b/webhook/info

Returns your organisation's webhook endpoint, as a list with zero or one item. Check verificationStatus: events are delivered only while it is verified and isEnabled is true. failureCount and backoffUntil show whether deliveries are currently failing.

Requires the READ_WEBHOOKS permission.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An access token from the OAuth2 client-credentials grant. Exchange your API key (client_id + client_secret) at the token endpoint and send Authorization: Bearer <access_token>.

Response Body

Your webhook endpoint, if one is registered.

application/json
  1. response
statusCode*integer
message*string
data*array<>
Itemsitems <= 1
Example Request
curl -X GET 'https://sandbox-api.fastrac.example/b2b/webhook/info'
Example Response
{  "statusCode": 200,  "message": "Request successful.",  "data": [    {      "id": 41,      "name": "Production events",      "url": "https://hooks.sinartebet.co.id/shipping-engine",      "isEnabled": true,      "verificationStatus": "verified",      "apiVersion": "V3",      "timeoutMs": 10000,      "maxAttempts": 8,      "eventTypes": [        "shipment.*"      ],      "activeSecretKeyIds": [        "whsec_main_2026"      ],      "createdAt": "2026-11-02T07:00:00.000Z",      "updatedAt": "2026-11-18T09:30:00.000Z",      "backoffUntil": null,      "failureCount": 0    }  ]}

Was this page helpful?