# Get point campaigns

You can return all of your point campaigns.

GET /point-campaign/?page={page_number}

Attributes Type Required Description
page integer no Page number

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl --location --request GET 'https://<your_app_subdomain>.user.com/api/public/point-campaign/?page=1' \
--header 'accept: application/json' \
--header 'Authorization: Token <your_64_char_api_key>' \
--header 'Accept: */*; version=2'

# Response

{
  "count": 3,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 3,
      "name": "string",
      "start_date": "2022-03-09T13:18:42.359000Z",
      "end_date": "2022-03-09T13:18:42.359000Z",
      "created_at": "2022-03-10T13:49:14.064582Z",
      "status": 1,
      "assigned_events": [0],
      "assigned_product_events": [0],
      "revenue_goal": 0,
      "query_map": {}
    },
    {
      "id": 2,
      "name": "string",
      "start_date": "2022-03-09T13:18:42.359000Z",
      "end_date": "2022-03-09T13:18:42.359000Z",
      "created_at": "2022-03-10T13:48:37.245458Z",
      "status": 1,
      "assigned_events": [0],
      "assigned_product_events": [0],
      "revenue_goal": 0,
      "query_map": {}
    },
    {
      "id": 1,
      "name": "string",
      "start_date": "2022-03-09T13:18:42.359000Z",
      "end_date": "2022-03-09T13:18:42.359000Z",
      "created_at": "2022-03-09T13:56:21.520067Z",
      "status": 1,
      "assigned_events": [0],
      "assigned_product_events": [0],
      "revenue_goal": 0,
      "query_map": {}
    }
  ]
}