Sign in

Add people to manual segment

documented

Add customers to a manual segment.

POST /api/v1/segments/{segment_id}/add_customersSegmentsno 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/api/v1/segments/{{$segment_id}}/add_customers?id_type={{$id_type}}" \
  -X POST \
  -H "Authorization: Basic {{CUSTOMER_SECRET}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"ids": ["{{$id1}}","{{$id2}}"]}'