Add a webhook endpoint to an inbox address
POST
An address can have up to 10 endpoints; every active endpoint receives its own signed delivery. While an address has an active endpoint, its mail is no longer sent to the workspace default webhook. url must be public HTTPS and unique per address. A generated signing secret is returned only once.
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
application/json- body
addressId?stringInbox address ID
url?stringactive?booleanbodyFormat?stringtext / html / markdown
stripQuotes?booleansigningSecret?string[key: string]?unknownCreated
application/json- response
success*booleanendpoint*signingSecret?string[key: string]?unknowncurl -X POST 'https://api.mailly.site/inbox/webhook/endpoints' \ -H 'Content-Type: application/json' \ -d '{ "property1": null, "property2": null}'{ "success": true, "endpoint": { "property1": null, "property2": null }, "signingSecret": "string", "property1": null, "property2": null}