Create email webhook
POST
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
application/json- body
event_types*array<string>Any of queued, delivered, deferred, permanently_failed,
complained, suppressed, opened, clicked and inbound.received.
url*stringWebhook created. The signing secret is returned only once.
application/json- response
api_version*stringdata*signing_secret*stringcurl -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"
}