Create email webhook

POST
/email/webhooks

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Request Body

application/json
  1. body
event_types*array<string>

Any of queued, delivered, deferred, permanently_failed, complained, suppressed, opened, clicked and inbound.received.

url*string

Response Body

Webhook created. The signing secret is returned only once.

application/json
  1. response
api_version*string
data*
signing_secret*string
Example Request
curl -X POST 'https://api.relevate.app/email/webhooks' \
  -H 'Content-Type: application/json' \
  -d '{
  "event_types": [
    "string"
  ],
  "url": "string"
}'
Example Response
{
  "api_version": "string",
  "data": {
    "created_at": "2019-08-24T14:15:22Z",
    "event_types": [
      "string"
    ],
    "id": "string",
    "status": "string",
    "updated_at": "2019-08-24T14:15:22Z",
    "url": "string"
  },
  "signing_secret": "string"
}