Webhooks

Add outbound webhook signing secret

Changed on

Adds another active signing secret. Requests are signed once per active secret in the same signature header.

post/webhooks/{id}/secrets

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • URL
    https://api.sequenzy.com/api/v1/webhooks/{id}/secrets
  • Auth
    HTTP bearer

Path parameters

idstring required

Response

Secret added

successboolean

Example response

{
  "webhook": {
    "id": "webhook_abc123",
    "name": "Production webhook",
    "url": "https://example.com/sequenzy/webhooks",
    "signingSecret": "whsec_...",
    "signingSecrets": [
      {
        "id": "sec_abc123",
        "prefix": "whsec_abcd12"
      }
    ]
  }
}

Changes

    • warning

      added the new email.received enum value to the // response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new campaign.sent enum value to the // response property for the response status