eGifts
Generate eGift Links
This endpoint allows you to generate one or more eGift links to embed in your own outreach to the recipient(s).
POST
/
api
/
v3
/
send
/
generate_egift_links
{
"send": {
"touch_id": 123456,
"via": "generate_egift_links",
"via_from": "Your Application Name",
"recipient_users": [
{
"email": "developers@sendoso.com"
},
{
"email": "developers2@sendoso.com"
}
]
}
}
{
"success": true,
"message": "Success! Here are your 2 eGift Card links:",
"egift_links": [
{
"egift_link": "https://sendo.so/g/NzOHQCUf9eqw0",
"recipient_email_or_phone_number": "developers@sendoso.com"
},
{
"egift_link": "https://sendo.so/g/9d91rKc7O3d4",
"recipient_email_or_phone_number": "developers2@sendoso.com"
}
],
"expiration_days": 30
}
{
"success": false,
"message": "email can't be blank"
}
{
"success": false,
"message": "The access token is invalid",
}
{
"success": false,
"message": "Touch not found"
}
Each recipient will have a unique link generated that is associated to the email you passed in the request
Body
object
required
Hide send
Hide send
integer
required
The ID of the campaign within Sendoso you are wanting to send.
string
required
Value must be
generate_egift_links.string
required
The name of the application making the send request. Please make sure this is consistent per application.
Response
boolean
required
Whether or not the request was successful. Always
true for 2xx responses.string
required
Response message.
array
required
{
"send": {
"touch_id": 123456,
"via": "generate_egift_links",
"via_from": "Your Application Name",
"recipient_users": [
{
"email": "developers@sendoso.com"
},
{
"email": "developers2@sendoso.com"
}
]
}
}
{
"success": true,
"message": "Success! Here are your 2 eGift Card links:",
"egift_links": [
{
"egift_link": "https://sendo.so/g/NzOHQCUf9eqw0",
"recipient_email_or_phone_number": "developers@sendoso.com"
},
{
"egift_link": "https://sendo.so/g/9d91rKc7O3d4",
"recipient_email_or_phone_number": "developers2@sendoso.com"
}
],
"expiration_days": 30
}
{
"success": false,
"message": "email can't be blank"
}
{
"success": false,
"message": "The access token is invalid",
}
{
"success": false,
"message": "Touch not found"
}
⌘I
{
"send": {
"touch_id": 123456,
"via": "generate_egift_links",
"via_from": "Your Application Name",
"recipient_users": [
{
"email": "developers@sendoso.com"
},
{
"email": "developers2@sendoso.com"
}
]
}
}
{
"success": true,
"message": "Success! Here are your 2 eGift Card links:",
"egift_links": [
{
"egift_link": "https://sendo.so/g/NzOHQCUf9eqw0",
"recipient_email_or_phone_number": "developers@sendoso.com"
},
{
"egift_link": "https://sendo.so/g/9d91rKc7O3d4",
"recipient_email_or_phone_number": "developers2@sendoso.com"
}
],
"expiration_days": 30
}
{
"success": false,
"message": "email can't be blank"
}
{
"success": false,
"message": "The access token is invalid",
}
{
"success": false,
"message": "Touch not found"
}