# Get point exchange rules

You can return all of your point exchange rules.

GET /point-exchange-rule/?page={page_number}

# Request

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

# Response

{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 1,
      "name": "string",
      "amount": 0,
      "end_date": "2022-03-09T13:49:54.588000Z",
      "max_daily_use_count": 0,
      "max_trigger_count_interval": 0,
      "max_trigger_count_value": 0,
      "perk": {},
      "point_campaign": 1,
      "user_attribute": 1,
      "level_threshold": 1
    }
  ]
}