Admin — Webhooks
Webhook endpoint subscriptions, delivery logs, and secret rotation.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
limit?number24cursor?stringOK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/admin/v1/webhooks'{ "items": [ { "id": "string", "url": "string", "description": "string", "topics": [ "blog.updated" ], "status": "active", "disabledReason": "string", "previousSecretExpiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}Returns the signing secret. It is shown only here and after a rotation. The URL must be https and must not resolve to a private address.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
application/json- body
url*stringtopics*array<>description?stringOK
application/json- response
id*stringurl*stringdescription*string|nulltopics*array<>status*string"active""disabled""deleted"disabledReason*string|nullpreviousSecretExpiresAt*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timesecret*stringcurl -X POST 'https://api.devhelp.pk/admin/v1/webhooks' \ -H 'Content-Type: application/json' \ -d '{ "url": "string", "topics": [ "blog.updated" ]}'{ "id": "string", "url": "string", "description": "string", "topics": [ "blog.updated" ], "status": "active", "disabledReason": "string", "previousSecretExpiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "secret": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
id*stringurl*stringdescription*string|nulltopics*array<>status*string"active""disabled""deleted"disabledReason*string|nullpreviousSecretExpiresAt*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X GET 'https://api.devhelp.pk/admin/v1/webhooks/string'{ "id": "string", "url": "string", "description": "string", "topics": [ "blog.updated" ], "status": "active", "disabledReason": "string", "previousSecretExpiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Re-enabling an endpoint resumes its pending deliveries.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringapplication/json- body
url?stringtopics?array<>description?string|nullstatus?string"active""disabled"OK
application/json- response
id*stringurl*stringdescription*string|nulltopics*array<>status*string"active""disabled""deleted"disabledReason*string|nullpreviousSecretExpiresAt*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X PATCH 'https://api.devhelp.pk/admin/v1/webhooks/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "url": "string", "description": "string", "topics": [ "blog.updated" ], "status": "active", "disabledReason": "string", "previousSecretExpiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}It stops receiving events immediately. Its delivery log is kept.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
id*stringdeleted*unknowncurl -X DELETE 'https://api.devhelp.pk/admin/v1/webhooks/string'{ "id": "string", "deleted": true}Returns the new secret. For 24 hours deliveries carry signatures from both the old and the new secret, so a receiver can switch over without dropping events.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
id*stringurl*stringdescription*string|nulltopics*array<>status*string"active""disabled""deleted"disabledReason*string|nullpreviousSecretExpiresAt*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timesecret*stringcurl -X POST 'https://api.devhelp.pk/admin/v1/webhooks/string/rotate-secret'{ "id": "string", "url": "string", "description": "string", "topics": [ "blog.updated" ], "status": "active", "disabledReason": "string", "previousSecretExpiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "secret": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
id*stringendpointId*stringeventId*stringtopic*string"blog.updated""review.updated""message.updated""order.placed""order.confirmed""order.receipt_requested""order.cancelled""order.reported""order.report_withdrawn""fulfillment.created""fulfillment.dispatched""fulfillment.delivered""fulfillment.rto""fulfillment.received""fulfillment.cancelled""fulfillment.lost""return.created""refund.created""inventory.low_stock""inventory.out_of_stock""inventory.back_in_stock""product.created""product.updated""product.deleted""collection.created""collection.updated""collection.deleted""discount.created""discount.updated""discount.deleted""sale.started""sale.ended""customer.created""customer.updated""customer.deleted""checkout.updated""checkout.abandoned""contact.subscribed""page.created""page.updated""page.deleted""menu.updated""redirect.created""redirect.updated""redirect.deleted""store.updated""faq.updated""booking_setup.updated""enquiry.created""booking.booked""booking.rescheduled""booking.cancelled""booking.arrived""booking.completed""booking.no_show""booking.payment_recorded""site.published""payment.succeeded""payment.failed""payment.refunded""order.payment_expired""app.installed""app.uninstalled""app.updated""webhook.test"status*string"pending""delivering""succeeded""failed"attempts*numbernextAttemptAt*|nulllastStatusCode*number|nulllastError*string|nullsucceededAt*|nullcreatedAt*stringdate-timecurl -X POST 'https://api.devhelp.pk/admin/v1/webhooks/string/test'{ "id": "string", "endpointId": "string", "eventId": "string", "topic": "blog.updated", "status": "pending", "attempts": 0, "nextAttemptAt": "2019-08-24T14:15:22Z", "lastStatusCode": 0, "lastError": "string", "succeededAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringlimit?number24cursor?stringstatus?string"pending""delivering""succeeded""failed"topic?string"blog.updated""review.updated""message.updated""order.placed""order.confirmed""order.receipt_requested""order.cancelled""order.reported""order.report_withdrawn""fulfillment.created""fulfillment.dispatched""fulfillment.delivered""fulfillment.rto""fulfillment.received""fulfillment.cancelled""fulfillment.lost""return.created""refund.created""inventory.low_stock""inventory.out_of_stock""inventory.back_in_stock""product.created""product.updated""product.deleted""collection.created""collection.updated""collection.deleted""discount.created""discount.updated""discount.deleted""sale.started""sale.ended""customer.created""customer.updated""customer.deleted""checkout.updated""checkout.abandoned""contact.subscribed""page.created""page.updated""page.deleted""menu.updated""redirect.created""redirect.updated""redirect.deleted""store.updated""faq.updated""booking_setup.updated""enquiry.created""booking.booked""booking.rescheduled""booking.cancelled""booking.arrived""booking.completed""booking.no_show""booking.payment_recorded""site.published""payment.succeeded""payment.failed""payment.refunded""order.payment_expired""app.installed""app.uninstalled""app.updated""webhook.test"OK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/admin/v1/webhooks/string/deliveries'{ "items": [ { "id": "string", "endpointId": "string", "eventId": "string", "topic": "blog.updated", "status": "pending", "attempts": 0, "nextAttemptAt": "2019-08-24T14:15:22Z", "lastStatusCode": 0, "lastError": "string", "succeededAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
id*stringendpointId*stringeventId*stringtopic*string"blog.updated""review.updated""message.updated""order.placed""order.confirmed""order.receipt_requested""order.cancelled""order.reported""order.report_withdrawn""fulfillment.created""fulfillment.dispatched""fulfillment.delivered""fulfillment.rto""fulfillment.received""fulfillment.cancelled""fulfillment.lost""return.created""refund.created""inventory.low_stock""inventory.out_of_stock""inventory.back_in_stock""product.created""product.updated""product.deleted""collection.created""collection.updated""collection.deleted""discount.created""discount.updated""discount.deleted""sale.started""sale.ended""customer.created""customer.updated""customer.deleted""checkout.updated""checkout.abandoned""contact.subscribed""page.created""page.updated""page.deleted""menu.updated""redirect.created""redirect.updated""redirect.deleted""store.updated""faq.updated""booking_setup.updated""enquiry.created""booking.booked""booking.rescheduled""booking.cancelled""booking.arrived""booking.completed""booking.no_show""booking.payment_recorded""site.published""payment.succeeded""payment.failed""payment.refunded""order.payment_expired""app.installed""app.uninstalled""app.updated""webhook.test"status*string"pending""delivering""succeeded""failed"attempts*numbernextAttemptAt*|nulllastStatusCode*number|nulllastError*string|nullsucceededAt*|nullcreatedAt*stringdate-timepayload?unknownattemptLog*array<>curl -X GET 'https://api.devhelp.pk/admin/v1/webhook-deliveries/string'{ "id": "string", "endpointId": "string", "eventId": "string", "topic": "blog.updated", "status": "pending", "attempts": 0, "nextAttemptAt": "2019-08-24T14:15:22Z", "lastStatusCode": 0, "lastError": "string", "succeededAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "payload": null, "attemptLog": [ { "id": "string", "statusCode": 0, "durationMs": 0, "error": "string", "responseSnippet": "string", "createdAt": "2019-08-24T14:15:22Z" } ]}Queues the same event, with the same id, for another attempt. Previous attempts stay in the log.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
id*stringendpointId*stringeventId*stringtopic*string"blog.updated""review.updated""message.updated""order.placed""order.confirmed""order.receipt_requested""order.cancelled""order.reported""order.report_withdrawn""fulfillment.created""fulfillment.dispatched""fulfillment.delivered""fulfillment.rto""fulfillment.received""fulfillment.cancelled""fulfillment.lost""return.created""refund.created""inventory.low_stock""inventory.out_of_stock""inventory.back_in_stock""product.created""product.updated""product.deleted""collection.created""collection.updated""collection.deleted""discount.created""discount.updated""discount.deleted""sale.started""sale.ended""customer.created""customer.updated""customer.deleted""checkout.updated""checkout.abandoned""contact.subscribed""page.created""page.updated""page.deleted""menu.updated""redirect.created""redirect.updated""redirect.deleted""store.updated""faq.updated""booking_setup.updated""enquiry.created""booking.booked""booking.rescheduled""booking.cancelled""booking.arrived""booking.completed""booking.no_show""booking.payment_recorded""site.published""payment.succeeded""payment.failed""payment.refunded""order.payment_expired""app.installed""app.uninstalled""app.updated""webhook.test"status*string"pending""delivering""succeeded""failed"attempts*numbernextAttemptAt*|nulllastStatusCode*number|nulllastError*string|nullsucceededAt*|nullcreatedAt*stringdate-timecurl -X POST 'https://api.devhelp.pk/admin/v1/webhook-deliveries/string/redeliver'{ "id": "string", "endpointId": "string", "eventId": "string", "topic": "blog.updated", "status": "pending", "attempts": 0, "nextAttemptAt": "2019-08-24T14:15:22Z", "lastStatusCode": 0, "lastError": "string", "succeededAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z"}