Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

Project-bound Apollo Signal API key. Keys begin with ap_signal_ and must carry the permission shown on the operation.

Path Parameters

projectId
string
required

The project to register the webhook in.

Body

application/json

Target URL, event types to subscribe to, and optional description.

Webhook destination, subscribed event types, and optional payload processing rules.

events
enum<string>[]
required

Event types delivered to this endpoint.

Available options:
email.sent,
email.delivered,
email.bounced,
email.complained,
email.opened,
email.clicked,
email.failed,
email.rejected,
email.delivery_delayed,
email.suppressed,
email.unsubscribed,
email.read_engaged,
webhook.test
url
string<uri>
required

Public HTTPS delivery URL. Localhost and blocked private-network targets are rejected.

filters
WebhookFilterSerializable · object[]

All filters must match for an event to be delivered.

name
string

Human-readable endpoint name. Signal generates one when omitted.

secret
string

Optional signing secret. Signal generates one when omitted and returns it in the create response.

transformations
WebhookTransformationSerializable · object[]

Payload transformations applied in list order after filtering.

Response

Webhook created. The secret field is only present in this response.

createdAt
string
required
enabled
boolean
required
events
string[]
required
id
string
required
name
string
required
projectId
string
required
secret
string
required
updatedAt
string
required
url
string
required
filters
WebhookFilterSerializable · object[]
transformations
WebhookTransformationSerializable · object[]