Webhooks

Account Mail Webhook

RO-251: mail webhooks of a workspace's own Unipile account (its `mail` provider override; the URL is its `webhook_url`), authenticated by that account's webhook secret in `Unipile-Auth`. Only mailboxes connected through that account are processed. 401 for a wrong secret or an unknown account.

API key access

This route has its own authentication (or none); an API key is not used here.
POST/api/v1/webhooks/mail/{config_id}

Path Parameters

config_idstring

Response Body

curl -X POST "http://localhost:8000/api/v1/webhooks/mail/string"
{
  "result": "processed"
}
Empty