Documentation Index Fetch the complete documentation index at: https://thehyperstack.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Description
This endpoint allows you to register a webhook URL to receive real-time event notifications from Hyperstack. If a subscription already exists for your organization, it will be updated with the new URL and events.
Currently supported events:
credential.issued — triggered when a credential is successfully published
Bearer YOUR_API_TOKEN — obtainable from Hyperstack Dashboard → Settings → API Access
Body Parameters
The HTTPS URL that Hyperstack will POST event payloads to. Must begin with http:// or https://.
An array of event names to subscribe to. Currently supported values: ["credential.issued"].
Success Response Fields
Indicates whether the subscription was created or updated.
A confirmation message. Value: "Webhook updated successfully".
Responses
200 Success
400 Bad Request — Missing fields
400 Bad Request — Invalid event
400 Bad Request — Invalid URL
401 Unauthorized
{
"success" : true ,
"message" : "Webhook updated successfully"
}
curl -X POST "https://api.thehyperstack.com/v1/webhook/subscribe" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"url": "https://yourapp.com/webhooks/hyperstack",
"events": ["credential.issued"]
}'