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

List campaign goals

Returns the available campaign optimization goals with their display labels.

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/campaigns/goals
GET /api/public/v1/campaigns/goals HTTP/1.1
Host: app.shoplift.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "goals": [
    {
      "key": "text",
      "label": "text"
    }
  ]
}

Last updated

Was this helpful?