Customer.io Webhooks
Customer messaging across email, SMS, push and in-app. Receive reporting webhooks for sends, deliveries, opens, clicks, bounces and unsubscribes, and campaign webhook actions.
Connecting Customer.io to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into Customer.io. Then:
- 1For reporting webhooks: in Customer.io open Integrations → Reporting webhooks, add a webhook with your Hookbase ingest URL and choose the events
- 2Copy that webhook's signing key into this Hookbase source
- 3For campaign webhook actions, use a separate source keyed with the workspace's Webhook signing key (Workspace Settings → API & Webhook Credentials)
- 4Hookbase verifies X-CIO-Signature with X-CIO-Timestamp, names reporting events <object_type>.<metric> (email.opened), and deduplicates by X-CIO-Idempotency-Key or event_id
Signature verification
Set the source's provider to customer-io and paste the signing secret. Every request is checked before the event is stored, and anything that fails is rejected rather than quietly recorded.
- Algorithm
- HMAC-SHA256 of "v0:{X-CIO-Timestamp}:{body}", hex-encoded
- Header
- X-CIO-Signature
- Where to find the secret
- Reporting webhooks each have their own signing key (Integrations → Reporting webhooks → your webhook). Campaign webhook actions share the workspace key (Settings → Workspace Settings → API & Webhook Credentials → Webhook signing keys). Use one source per key.
Customer.io event types
13 of the events people route most often. Hookbase accepts every event Customer.io sends, whether or not it is listed here.
email.sent
An email was sent
email.delivered
An email was delivered
email.opened
An email was opened
email.clicked
A link in an email was clicked
email.bounced
An email bounced
email.converted
An email led to a conversion
email.unsubscribed
A recipient unsubscribed from an email
email.spammed
A recipient marked an email as spam
sms.sent
An SMS was sent
sms.delivered
An SMS was delivered
push.sent
A push notification was sent
customer.subscribed
A person subscribed
customer.unsubscribed
A person unsubscribed
What a Customer.io webhook looks like
A email.sent payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"metric": "sent",
"event_id": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
"object_type": "email",
"timestamp": 1613063089,
"data": {
"action_id": 42,
"broadcast_id": 9,
"customer_id": "0200000001",
"delivery_id": "RPILAgUBcRhIBqSfeiIwdIYJKxTY",
"identifiers": {
"id": "42",
"email": "test@example.com",
"cio_id": "d9c106000001"
},
"recipient": "test@example.com"
}
}Start receiving Customer.io webhooks
Create a source, paste the URL into Customer.io, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free