Webhooks
Create Webhook
Creates a new webhook subscribed to one or more events. The signing secret is returned only on creation — store it securely, as it cannot be retrieved again except via the reveal endpoint.
POST
This endpoint accepts a project API key (
AS_ prefix). The signing secret is returned only on creation — store it securely. You can later retrieve it via the Reveal Webhook Secret endpoint.Authorizations
Project API key header of the form Bearer
AS_<key>.Body
The HTTPS (or HTTP) endpoint AutoSend will POST events to. Must include the protocol.Example:
"https://example.com/webhooks/autosend"One or more event types to subscribe to. Must contain at least one valid event. See List Available Events for the full set.Example:
["email.delivered", "email.bounced"]Response
Webhook created (201)Indicates if the request was successfulExample:
trueWrapper containing the created webhook
Error Responses
Returned when the URL is invalid or no valid events are supplied.