Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Paubox API uses Bearer token authentication in the Authorization header.

Format: Authorization: Bearer YOUR_API_KEY_HERE

Example: Authorization: Bearer 9e5b092b632445b8f570c62ae54f30fda1044305

The legacy format Authorization: Token token=YOUR_API_KEY_HERE is also supported.

Path Parameters

id
integer
required

Webhook endpoint ID

Body

application/json
target_url
string

New HTTPS URL.

events
enum<string>[]
Available options:
api_mail_log_delivered,
api_mail_log_opened,
api_mail_log_temporary_failure,
api_mail_log_permanent_failure,
inbound_mail_received
active
boolean
api_key
string

Response

Webhook endpoint updated

message
string
Example:

"Webhook updated!"

data
object