Webhooks
List webhook endpoints
Changed onList the webhook endpoints configured for your store.
get/v1/webhooks
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.
Query parameters
page_numbernumber
Example:1
The page number for pagination.
page_sizenumber
Example:10
The number of items per page.
Response
Successfully retrieved the list of webhook endpoints
Example response
{
"items": [
{
"object": "webhook",
"store_id": "sto_1234567890",
"name": "Production billing events",
"url": "https://example.com/webhooks/creem",
"events": [
"checkout.completed",
"subscription.paid"
],
"secret": "whsec_xxxxxxxxxxxxxxxxxxxx"
}
],
"pagination": {
"current_page": 1,
"next_page": 2
}
}Changes
- info
added the required property
//to the response with the status
- info
- info
endpoint added
- info