Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mavera.io/llms.txt

Use this file to discover all available pages before exploring further.

Pull data from Customer.io (Campaign Metrics, Customer Attributes, Reporting Webhooks) → analyze with Mavera (Mave Agent, Custom Personas, Chat, Generate) → get persona-validated messaging strategies, audience clusters, and automated retention research.
Customer.io API — Two APIs: Track (https://track.customer.io/api/) uses HTTP Basic auth (Site ID : API Key), ~1,000 req/sec. App (https://api.customer.io/v1/) uses Bearer Token, 10 req/sec. Campaign metrics live in the App API; event tracking and customer attribute reads use Track.

Prerequisites

1

Customer.io API credentials

Create a Track API key (Site ID + API Key) and an App API key (Bearer Token) from your Customer.io workspace settings.
2

Mavera API key

Get your key from Mavera dashboard.
3

Environment variables

export CIO_SITE_ID="your_site_id"
export CIO_API_KEY="your_api_key"
export CIO_APP_KEY="your_app_api_key"
export MAVERA_API_KEY="mvra_live_xxxxx"

Jobs

#JobCustomer.io DataMavera SurfaceOutput
1Campaign Event Analysis → Messaging StrategyCampaign metricsMave Agent + GenerateNew message variations
2Customer Attribute PersonasApp API customer attributesCustom PersonasAttribute-clustered personas
3Webhook Event → Mave Research TriggerReporting webhooksMave AgentRetention research

Rate Limits & Production Notes

EndpointLimitStrategy
Track API (identify/track)~1,000 req/secGenerous; batch where possible
App API (campaigns, customers)10 req/sec120ms delay; retry on 429
Segment membership10 req/secPaginate with next cursor
Reporting webhooksN/A (push)Queue high-volume events
The App API at 10 req/sec is the bottleneck. Individual customer attribute lookups are the most expensive pattern. For bulk operations, use Customer.io’s Data Export or segment-level APIs instead of per-customer calls.
Production checklist:
  • Store CIO_SITE_ID, CIO_API_KEY, CIO_APP_KEY, and MAVERA_API_KEY in a secrets manager — never commit tokens.
  • Implement webhook signature verification with CIO_WEBHOOK_SECRET in production.
  • For webhook receivers, deploy behind a load balancer and use a message queue to decouple event ingestion from Mave research calls.
  • Monitor Mavera credits at Dashboard.
  • Cache customer attributes locally if running persona creation frequently — App API rate limits make per-customer lookups expensive.

What’s Next

All Integrations

Customer.io API

Personas

Mave Agent

Generate

Focus Groups