All endpoints

Update a webhook

PATCHhttps://myagentmail.com/v1/webhooks/{id}

Change url, events, or enabled state.

Path parameters

id
required
string

Request body

Content-Type: application/json

url
string

format: uri

events
"message.received" | "message.sent" | "message.bounced"[]
isActive
boolean

Responses

200Updated

Authentication

Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.