GET
/
rewards_programs
/
{id}
/
tiers
curl --request GET \
  --url https://api.pocketflows.com/rewards_programs/{id}/tiers \
  --header 'Authorization: Basic <encoded-value>'
{
  "tiers": [
    {
      "id": "<string>",
      "name": "<string>",
      "minimum_points": 123,
      "perks": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the rewards program

Response

200 - application/json
An object with a `tiers` key which contains an array of `Tier` objects
tiers
object[]
required

An array of tiers