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
403
Forbidden
application/problem+json
404
Not Found
application/problem+json
429
Too Many Requests
application/problem+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?