ChartnautDocs

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)Required
eventsarray of string · WebhookEventRequired

Responses#

201Createdapplication/json

Created. secret is shown once.

object

Includes Webhook

idstring
urlstring (uri)
eventsarray of string · WebhookEvent
created_atstring (date-time)
secretstring
ErrorAny other statusapplication/json

Error.

object · Error
errorobjectRequired
Show fields
codestringRequired

Stable. Branch on this, never on message.

One of unauthorized forbidden_scope plan_limit not_found version_conflict script_invalid in_use out_of_coverage unknown_instrument ambiguous_instrument unsupported_timeframe run_not_finished rate_limited busy invalid_request forbidden conflict not_in_library confirmation_required not_shared not_installable not_implemented authorization_pending slow_down access_denied expired_token internal
messagestringRequired
detailsobject
docs_urlstring (uri)
request_idstring