Webhooks

Create a webhook

Register a new outbound webhook. The plaintext signing secret is returned exactly once — store it securely.

Requires the webhooks:write scope — Create, edit, and delete your webhook endpoints.

post/api/webhooks

Request

  • Base URL: https://api.sendly.now
  • URL: https://api.sendly.now/api/webhooks
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token
    • OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: webhooks:write)

Request body

eventTypesstring[] required
urlstring uri required

Response

Webhook created

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.