Skip to content

Marketing

Customer.io mock API

Customer.io Track and App APIs: people (identify, suppress, attributes), manual segments, reporting webhooks, transactional sends with derived delivery status, collections and signed webhooks.

At a glance

Operations
238
Stateful operations
31
Stateful resources
5
Webhook events
2
Vendor API version
1.0.0
Verification
Spec-verified

How it works

Use Customer.io without calling Peaberry Software, Inc.

Authorization: Bearer sk_ExampleKey0123456789

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
People9
Segments8
Reporting webhooks5
Transactional messages4
Collections7

Webhooks

Events your handlers can receive

Deliveries are signed with the hmac scheme, so your verification code runs unchanged.

Coverage

238 operations

31 of them are stateful. The largest groups:

GroupOperations
Other operations205
People9
Segments8
Collections7
Reporting webhooks5
Transactional messages4

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

3 operations cannot be checked against the specification.

Source and limits

License, source and limits

Each collection (people, person index, segments, segment members, reporting webhooks, messages, collections) holds up to 1 MiB per API key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). One virtual service serves both the Track API (/api/v1, /api/v2) and the App API (/v1) with the same Authorization header; a caller is one workspace. People are stateful through identify (PUT upsert, attributes merged, one record per id/email/cio_id), delete, suppress/unsuppress (flag visible as customer.suppressed), the App lookups (GET /v1/customers?email=, attributes, POST /v1/customers filter) and track (event logs are not stored; tracking an unknown identifier does not create the person). The people filter evaluates a single top-level attribute eq condition only; exists, and/or/not and segment conditions return every person. Segments are manual only (membership by id, email or cio_id as supplied; ids that match no person are listed id-only and a deleted person stays counted until removed); dynamic segments, segment dependencies and per-person segment lists are generated samples. Reporting webhooks are stored and editable but deliveries do not follow them: email_sent and email_delivered (600 ms later) from POST /v1/send/email go to the virtual service webhook setting, signed with X-CIO-Signature (hex HMAC-SHA256 over v0:<unix seconds>:<raw body>) and X-CIO-Timestamp; the pinned schema carries no signing key. Transactional sends (email, sms, push) store the message; GET /v1/messages/{id} derives metrics on read (sent after about 0.5 s, delivered after about 1.5 s). Scheduled sends (send_at), templates, attachments, newsletters, campaigns, exports, design studio and the other App endpoints are schema-valid stateless samples. Collections support create, list, get, rename, delete and content read/replace (offset cursor, keys filter not supported; url sources and sync are samples). Errors: Track API 400 {meta:{errors}}, send API 400 {meta:{error}}, App API {errors:[{detail,status}]}; 401 {meta:{error:'Unauthorized'}}. Rate limits (429) are not modelled.

MaxoPerf is not affiliated with, endorsed by, or sponsored by Peaberry Software, Inc. Customer.io is a trademark of its owner.