Compat
Create or update a person (Customer.io)
PUT/v1/compat/customerio/api/v1/customers/{identifier}
Requires an API key with the contacts:write events:write scope. About keys and scopes
Customer.io's Track API v1, so an app sending to Customer.io can send here too while it moves, by pointing its client at …/v1/compat/customerio. Authenticate as Customer.io clients do, with HTTP Basic: any site id as the user and an Kirora API key as the password (a Bearer key works too). The identifier is the contact's externalId, or its email when it holds an @. first_name, last_name, email and phone fill those fields, unsubscribed: true withdraws email consent, and every other key becomes an attribute. Consent is never granted here: import it with its evidence. Agent keys are refused.
Requires API-key scope: contacts:write and events:write.
Path parameters
identifierstringrequired1–255 characters
Returns
Returns 200 OK. Otherwise returns an error; Errors lists every code and which to retry.