Register a webhook (not available yet, 501)
POST
/webhooks- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
createWebhook
Deliveries are POSTs signed with Chartnaut-Signature: t=<unix>,v1=<hex>,
HMAC-SHA256 of <t>.<body> with the webhook's secret. Retried with
backoff for 24h on non-2xx.
Request bodyapplication/json#
object
urlstring (uri)RequiredResponses#
201Createdapplication/json
Created. secret is shown once.
object
Includes Webhook
idstringurlstring (uri)eventsarray of string · WebhookEventcreated_atstring (date-time)secretstringErrorAny other statusapplication/json
Error.
object · Error
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring