List, Get & Delete
Once you have created audiences and activations, you manage them with the standard list / get / delete reads.
Audiences
List
GET /api/v2/analyses/audiences/index
Returns your company’s audiences, paginated, in the standard
envelope. Accepts page, per_page and search
(case-insensitive contains on the audience name).
curl "https://console.intuizi.com/api/v2/analyses/audiences/index" \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Accept: application/json"Get one
GET /api/v2/analyses/audiences/{id}
Returns a single audience by id, including its lifecycle status. See Read an Audience for the response shape and how to interpret status.
curl "https://console.intuizi.com/api/v2/analyses/audiences/88" \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Accept: application/json"Delete
POST /api/v2/analyses/audiences/delete-by-id
curl -X POST "https://console.intuizi.com/api/v2/analyses/audiences/delete-by-id" \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{ "id": 88 }'Activations
List
GET /api/v2/analyses/activations/index
Returns your company’s activations, paginated, in the standard envelope.
Accepts page, per_page and search (case-insensitive contains on the
activation name). Credentials and other secrets are never present.
curl "https://console.intuizi.com/api/v2/analyses/activations/index" \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Accept: application/json"Get one
GET /api/v2/analyses/activations/{id}
Returns a single activation by id, including its lifecycle status and datastream results. See Read an Activation for the response shape.
curl "https://console.intuizi.com/api/v2/analyses/activations/91" \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Accept: application/json"Delete
POST /api/v2/analyses/activations/delete-by-id
curl -X POST "https://console.intuizi.com/api/v2/analyses/activations/delete-by-id" \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{ "id": 91 }'delete-by-id is destructive. Deleting an audience also removes its linked data
and cannot be undone.Reference
- Read responses: Read an Audience, Read an Activation
- Envelope: Request & Response Envelope
- Field-level contract: API Reference - Audiences, Activations