WebhookEndpoints

Create webhook endpoint

Creates a new webhook endpoint. The secret is only returned on creation.

post/webhook_endpoints

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/webhook_endpoints
  • Auth: API key in header Authorization

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

urlstring
status'active' | 'inactive'
api_versionstring
enabled_eventsstring[]

Response

Webhook endpoint created (includes secret)

idstring required
objectstring required
urlstring required
api_versionstring required
status'active' | 'inactive' required
created_atstring date-time required
updated_atstring date-time required
enabled_eventsstring[] required
secretstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.