Skip to main content
GET
/
client
/
marketplace
/
rewards
Get Rewards
curl --request GET \
  --url https://api.doshi.app/client/marketplace/rewards \
  --header 'Access-Type: <access-type>' \
  --header 'Authorization: Bearer <token>'
{
  "rewards": [
    {
      "id": "<string>",
      "name": "<string>",
      "price": 123,
      "type": "<string>",
      "description": "<string>",
      "brand": "<string>",
      "imageUrl": "<string>"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Authentication token (API Key) provided by Doshi. Your server's IP address must be whitelisted to use this API. Contact [email protected] to whitelist your IPs.

Headers

Access-Type
enum<string>
required

Must be set to 'client' for all API requests

Available options:
client

Response

A list of rewards.

rewards
object[]
required
total
integer
required