For the complete documentation index, see llms.txt. This page is also available as Markdown.

List custom audiences

Returns all custom audiences created for the store. Does not include built-in default audiences (channel, referer, country).

get
Authorizations
AuthorizationstringRequired

All requests require Authorization: Bearer sl_live_<your_api_key>. Generate a key from the Shoplift admin's API Keys settings page.

Responses
200

OK

application/json
get/api/public/v1/custom-audiences
GET /api/public/v1/custom-audiences HTTP/1.1
Host: app.shoplift.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "customAudiences": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "rules": [
        {
          "dimension": "text",
          "operator": "text",
          "values": [
            "text"
          ],
          "selector": null
        }
      ]
    }
  ]
}

Last updated

Was this helpful?