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
}

Each recipient will have a unique link generated that is associated to the email you passed in the request

Body

send
object
required
touch_id
integer
required

The ID of the campaign within Sendoso you are wanting to send.

via
string
required

Value must be generate_egift_links.

via_from
string
required

The name of the application making the send request. Please make sure this is consistent per application.

recipient_users
array
required

An array of recipient emails that you are generating the links for.

email
string
required

The recipient’s email.

Response

success
boolean
required

Whether or not the request was successful. Always true for 2xx responses.

message
string
required

Response message.

The sends links to share with the recipients.

The link generated for this specific recipient for you to embed in your own outreach.

recipient_email_or_phone_number
string
required

The recipient’s email or phone number associated to this link.

{
  "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
}