Email event
SpacePost POSTs this payload to your webhook endpoint for every subscribed event. The shape is identical to Resend’s.
Verify the Standard Webhooks signature headers (webhook-id, webhook-timestamp, webhook-signature) against the raw body.
Respond with any 2xx status.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
object
object
The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
object
object
The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
object
object
The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
object
object
The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
The JSON body SpacePost POSTs to a webhook, identical to Resend’s. Discriminated by type.
data always has the WebhookEmailData fields plus the event-specific object listed below.
object
Event names you can subscribe a webhook to.
When the event happened.
Fields present in data for every event.
object
When the email was created (the event time is the envelope’s created_at).
Present for broadcast emails.
Present when the email belongs to a tenant.
The email’s tags as an object of name to value. Absent when the email has none.
object
object
object
Responses
Section titled “Responses”Acknowledged.