This route requires admin authentication.

Step 1. Add your api key to the request headers


Step 2. Create a reward

Any token create with our protocol can have a linked reward. That means that customers that own the token will have access to this benefit.

Everytime you create it’s a new reward, it’s mandatory that you provide the item type ids.

curl --request POST \
--url \
--header 'Bearer: $API_KEY' \
--header 'Content-Type: application/json' \
--data '
    "itemTypeIds": ["<ITEM_TYPE_ID>"],
    "name": "Teste",
    "description": "Teste",
    "content": "CODE123"

You will receive a status 200 with an object containing the ID of reward.


If you completed all the steps above, you can advance to our next recipe.

Any problems during this recipe? Check some possible troubleshooting.