SMS delivery
Tremendous also can deliver rewards via SMS to your intended recipient. Here's an example of an API call you can use to do so:
curl --url 'https://testflight.tremendous.com/api/v2/orders' \
--header 'Authorization: Bearer YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data '
{
"payment": {
"funding_source_id": "BALANCE"
},
"rewards": [
{
"value": {
"denomination": 50.00,
"currency_code": "USD"
},
"delivery": {
"method": "PHONE"
},
"recipient": {
"name": "Jane Doe",
"phone": "+19084008885"
},
"products": [
"OKMHM2X2OHYV"
]
}
]
}
'
Tremendous will deliver the reward via SMS to the phone number you specified. Here's an example of what your recipient will receive:
![Screenshot 2023-03-24 at 1.51.08 PM.png 1846](https://files.readme.io/d24709c-Screenshot_2023-03-24_at_1.51.08_PM.png)
Updated 7 months ago