Webhooks
Retrieve a webhook endpoint
Changed onRetrieve a webhook endpoint by ID.
get/v1/webhooks/{id}
Request
- Base URLhttps://api.creem.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The webhook ID
Response
Successfully retrieved the webhook endpoint
Example response
{
"object": "webhook",
"store_id": "sto_1234567890",
"name": "Production billing events",
"url": "https://example.com/webhooks/creem",
"events": [
"checkout.completed",
"subscription.paid"
],
"secret": "whsec_xxxxxxxxxxxxxxxxxxxx"
}Changes
- info
added the required property
to the response with the status
- info
- info
endpoint added
- info