Skip to main content
GET/point-campaign/:id/

Get specific point campaign

You can return a specific point campaign details.

Attributes

Optional unless marked required

idintegerrequired
A unique identifier for the point campaign which is given by User

Request​

curl -X GET "https://<your_app_subdomain>.user.com/api/public/point-campaign/:id/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"

Response examples​

{
"id": 12,
"name": "Spring loyalty campaign",
"start_date": "2026-11-10T09:38:40+01:00",
"end_date": "2026-12-10T09:38:40+01:00",
"created_at": "2026-11-10T08:38:40.641230Z",
"status": 1,
"assigned_events": [],
"assigned_product_events": [],
"revenue_goal": 1000,
"query_map": {}
}

Response fields​

Fields returned in the 200 OK response body.

idinteger
A unique identifier for the point campaign which is given by User
namestring
Name of the loyalty campaign.
start_datestring (date-time)
When the campaign starts, ISO 8601 in the timezone of the API key's agent; null if no start date is set.
end_datestring (date-time)
When the campaign ends, ISO 8601 in the timezone of the API key's agent; null if no end date is set.
created_atstring (date-time)
When the campaign was created, ISO 8601.
statusinteger
Status of the campaign: 1 draft, 2 pending, 3 active or 4 finished.
assigned_eventsarray of integer
IDs of the events the campaign's rules react to.
assigned_product_eventsarray of integer
Product event types the campaign's rules react to, for example 2 (purchase).
revenue_goalinteger
Revenue the campaign aims to bring in, or null if not set.
query_mapobject
Audience filters of the campaign: contacts must match include and not match exclude.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.