GET/v1/webhooks

List webhooks

Returns every webhook registered under this key (without the secret).

Required scope: webhooks.manageRate limit: 10 rps

Code samples

curl -X GET "https://samaprime.com/api/v1/webhooks" \
-H "Authorization: Bearer sk_test_..." \
-H "Content-Type: application/json"

Response

200
{
"data": [
{
"id": "cm_wh_01J8Z9A1BBCCDD",
"url": "https://merchant.example/webhooks/samaprime",
"events": [
"order.completed",
"order.failed"
],
"active": true,
"failure_count": 0,
"created_at": "2026-08-10T14:00:00Z"
}
],
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-08-06T12:00:00Z"
}
}