1
Query the available giftcard brands and amounts
See giftcard brands for more info.
2
Select Giftcard Brand and Amount
After querying the available giftcard brands and amounts, select the desired brand and amount for your giftcard.
3
Send Giftcard
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Giftcards can be sent to recipients via the API.
Query the available giftcard brands and amounts
curl -X GET "https://api.thanks.io/api/v2/giftcard-brands" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"
Select Giftcard Brand and Amount
Send Giftcard
curl -X POST "https://api.thanks.io/api/v2/send/giftcard" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"giftcard_brand": "GIFT_CARD_BRAND_ID_FROM_PREVIOUS_STEP",
"giftcard_amount_in_cents": "GIFT_CARD_AMOUNT_IN_CENTS_FROM_PREVIOUS_STEP",
"front_image_url": "https://cdn.thanks.io/notecard-inspirations/note1.png",
"message": "Hey %FIRST_NAME%!,\n\nTHANK YOU for allowing us the opportunity to HELP you with your plan!",
"recipients": [
{
"name": "Jane Doe",
"address": "456 Another St",
"city": "Fake City",
"province": "NY",
"postal_code": "55555",
"country": "US"
}
]
}'
Was this page helpful?