Skip to main content
GET
/
rewards
/
{id}
Get Reward By Id
curl --request GET \
  --url https://app.stickyqr.com/api/rewards/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "cost": 123,
  "index": 123,
  "isEnable": "<boolean>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-lang
string
default:en

Language support

Example:

"en"

Path Parameters

id
string
required

Reward's id

Response

200 - application/json

Successfull Response

id
string

Reward's id

name
string

Reward's name

createdAt
string

Timestamp of object creation in ISO 8601 format

updatedAt
string

Timestamp of the last update made to the object, in ISO 8601 format

cost
number

The cost of the reward

index
number

Index or position of the reward in the list

isEnable
boolean

Reward is enabled or not