Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Customer.io Events API

Track customer events and anonymous events to record behavioral data and trigger messaging workflows.

Customer.io Events API is one of 23 APIs that Customer.io publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Events. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.customer.io/v1, https://api-eu.customer.io/v1.

2 operations 2 paths 2 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://track.customer.io
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Customer.io Events API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer token authentication using your App API key. Pass the key in the Authorization header as Bearer {appapikey}.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Events 2

Track customer events and anonymous events to record behavioral data and trigger messaging workflows.

POST
/customers/{identifier}/events
Track a customer event
trackCustomerEvent 1 param body → 200401
POST
/events
Track an anonymous event
trackAnonymousEvent body → 200401

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are AnonymousEvent (3 properties), CustomerEvent (3 properties). Each schema is shown below with its type and property counts.

CustomerEvent
object
An event to track for a specific customer.
3 properties 1 required
AnonymousEvent
object
An event not associated with a known customer profile.
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

customer-io-events-api-openapi.yml Raw ↑

Other APIs Customer.io publishes across the network.

Customer.io Track API
Customer.io Activities API
Customer.io Alias API
Customer.io Batch API
Customer.io Broadcasts API
Customer.io Campaigns API
Customer.io Collections API
Customer.io Customers API
Customer.io Devices API
Customer.io Entity API
Customer.io Exports API
Customer.io Group API