Cakemail Logo
Cakemail API

Webhook (1.18.25)

Endpoint:https://api.cakemail.dev

List all webhooks

GET
https://api.cakemail.dev
/webhooks

List all webhooksquery Parameters

  • with_archivedboolean
  • account_idinteger · min: 1
  • pageinteger · min: 1
    Default: 1
  • per_pageinteger · min: 1
    Default: 50
  • with_countboolean

List all webhooksResponses

    • paginationobject · required
    • dataobject[] · required

Create a webhook

POST
https://api.cakemail.dev
/webhooks

Create a webhookquery Parameters

  • account_idinteger · min: 1

Create a webhookRequest Body

  • eventstring · enum · required
    Enum values:
    Account.Created
    Account.Updated
    Account.Confirmed
    Account.Deleted
    Contact.Added
    Contact.Updated
    Contact.Removed
    Contact.Tagged
  • urlstring · uri · minLength: 1 · maxLength: 2083 · required
  • rate_limitinteger
    Default: 50
  • rate_limit_periodstring · enum
    Enum values:
    second
    minute
    Default: second

Create a webhookResponses

    • idstring · required
    • dataobject · required

Archive a webhook

POST
https://api.cakemail.dev
/webhooks/{webhook_id}/archive

Archive a webhookpath Parameters

  • webhook_idstring · required

Archive a webhookquery Parameters

  • account_idinteger · min: 1

Archive a webhookResponses

    • idstring · required
    • dataobject · required
    • objectstring
      Default: Webhook
    • archivedboolean
      Default: true

Unarchive a webhook

POST
https://api.cakemail.dev
/webhooks/{webhook_id}/unarchive

Unarchive a webhookpath Parameters

  • webhook_idstring · required

Unarchive a webhookquery Parameters

  • account_idinteger · min: 1

Unarchive a webhookResponses

    • idstring · required
    • dataobject · required
    • objectstring
      Default: Webhook
    • archivedboolean

Show a webhook

GET
https://api.cakemail.dev
/webhooks/{webhook_id}

Show a webhookpath Parameters

  • webhook_idstring · required

Show a webhookquery Parameters

  • account_idinteger · min: 1

Show a webhookResponses

    • idstring · required
    • signatureobject · required
    • dataobject · required

Patch a webhook

PATCH
https://api.cakemail.dev
/webhooks/{webhook_id}

Patch a webhookpath Parameters

  • webhook_idstring · required

Patch a webhookquery Parameters

  • account_idinteger · min: 1

Patch a webhookRequest Body

  • urlstring · uri · minLength: 1 · maxLength: 2083
  • rate_limitinteger
  • rate_limit_periodstring · enum
    Enum values:
    second
    minute

Patch a webhookResponses

    • idstring · required
    • dataobject · required
    • objectstring
      Default: Webhook
    • patchedboolean
      Default: true