> ## Documentation Index
> Fetch the complete documentation index at: https://developer.sendoso.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send eGift via Sendoso Email

> This endpoint allows you to send an eGift directly to a recipient.

### Body

<ParamField body="send" type="object" required>
  <Expandable title="send" defaultOpen="true">
    <ParamField body="touch_id" type="integer" required>
      The ID of the campaign within Sendoso you are wanting to send.
    </ParamField>

    <ParamField body="name" type="string">
      The recipient's name.
    </ParamField>

    <ParamField body="email" type="string" required>
      The recipient's email.
    </ParamField>

    <ParamField body="custom_message" type="string">
      The message that goes in the body of the eGift email.
    </ParamField>

    <ParamField body="via" type="string" required>
      Value must be `single_email_address`.
    </ParamField>

    <ParamField body="via_from" type="string" required>
      The name of the application making the send request. Please make sure this is consistent per application.
    </ParamField>
  </Expandable>
</ParamField>

### Response

<ResponseField name="success" type="boolean" required>
  Whether or not the request was successful. Always `true` for 2xx responses.
</ResponseField>

<ResponseField name="message" type="string" required>
  Response message.
</ResponseField>

<ResponseField name="tracking_code" type="string" required>
  The send's unique tracking code.
</ResponseField>

<ResponseField name="tracking_url" type="string" required>
  The send's unique tracking URL.
</ResponseField>

<RequestExample>
  ```json Example Request theme={null}
  {
    "send": {
      "touch_id": 123456,
      "name": "John Smith",
      "email": "developers@sendoso.com",
      "custom_message": "Hi John, I wanted to personally invite you to...",
      "via": "single_email_address",
      "via_from": "YOUR APPLICATION NAME"
    }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json 200 - Success theme={null}
  {
    "success": true,
    "message": "EGifts send Successfully",
    "tracking_code": "df934732d35e597e87ca47990a6ada5c61f890fe",
    "tracking_url": "https://app.sendoso.com/track/df934732d35e597e87ca47990a6ada5c61f890d6"
  }
  ```

  ```json 400 - Bad Request theme={null}
  {
    "success": false,
    "message": "email can't be blank"
  }
  ```

  ```json 401 - Unauthorized theme={null}
  {
    "success": false,
    "description": "The access token is invalid",
    "expired": false
  }
  ```

  ```json 404 - Not Found theme={null}
  {
    "success": false,
    "message": "Touch not found"
  }
  ```
</ResponseExample>
