Webhooks hub
Returns the webhooks hub for a shop, including HAL links to subscribe, unsubscribe and list subscriptions.
GET
/hub/{shop_id}Authorization
AuthorizationBearer token (JWT) · headerrequiredOAuth 2.0 Bearer token. Obtain via `POST https://auth.onbolder.com/oauth/token`.
Path parameters
shop_idintegerrequiredShop ID
Responses
200Hub resource
_linksobjectRequest
curl -X GET "https://api.onbolder.com/v1/hub/0" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v1/hub/0", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v1/hub/0",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"_links": {}
}