Sign in

Add or update entity (v2)

documented

Create, update, or delete a person or object (and their relationships) using the v2 batch/entity endpoint.

POST /api/v2/entityTrack v2 APIno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://track.customer.io/v2/entity" \
  -u "{{$site_id}}:{{$api_key}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -X POST \
  -d '{"identifiers": {"object_type_id": "{{$object_type_id}}", "object_id": "{{$object_id}}"}, "type": "{{$type}}", "action": "{{$action}}", "attributes": {"account_name": "{{$account_name}}", "account_type": "{{$account_type}}"}, "cio_relationships": [ {"identifiers": {"id": "{{$person_id}}"}, "relationship_attributes": {"is_admin": {{$is_admin}}, "position": "{{$position}}"} } ] }'
Add or update entity (v2) · Customer.io · OpenIntegrations