Skip to main content

Personas Endpoints

Use the Personas API to get and update detailed information on contacts stored within AIQ.

Updated over 3 weeks ago

GET All Personas

Note: GET all contacts endpoint filters out any blocklisted personas.


GET Persona by Contact ID

Note: lastTouch in the response is used internally by AIQ, it does NOT signify dates of persona entering/exiting an audience, we do not track this.


POST New Contact

Create a new contact


POST Override Contact Attributes

Permanently override a contact's attributes.


GET Override Contact Attributes


GET Loyalty Status

It's sometimes useful to understand if a phone number or email is currently used as a loyalty or opted in user. This is a lightweight endpoint to check using a phone number or email.


PUT New Opt-in

This endpoint allows you to set or update a customer’s SMS opt-in status. It does not create a new contact record; it only manages opt-in flags for an existing or incoming phone number.

Behavior

  • By default, sending a phone number to this endpoint will force-set the opt-in state.

  • If you’d like the number to go through your double opt-in flow, include the query parameter doubleOpt=true.

  • If the loyalty parameter is set to false, the double opt-in flow will be skipped.

  • Numbers that have explicitly opted out in the past will not be re-opted in via this endpoint.

Notes

  • Use this endpoint only for managing opt-in status.

  • If you need to create new contacts, we suggest uploading a csv, see Bulk Import Personas.


PUT Adjust Persona Points


GET Points Adjustments

Get point adjustments for contacts.


GET Persona By Source ID

Find a contact by their source ID from an integration.


POST/PUT/GET Custom Attributes for a Persona

Add an array of custom attributes to a persona


GET Personas Orders


GET Personas Points Timeline

Get a contact's loyalty points timeline.


GET Personas Predicted Top Products

Returns the products a contact will most likely be interested in, ranked in order.

Did this answer your question?