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

# Send a Thnks via Webhook

<ParamField header="Content-Type" type="string" default="application/json" initialValue="application/json">
  This should always be `application/json`
</ParamField>

<ParamField body="gift_id" type="integer" required="true">
  Variable containing Thnks ID of the Thnks to be sent
</ParamField>

<ParamField body="recipients" type="array">
  <Expandable title="properties">
    <ParamField body="email" type="string" required="true">
      Variable containing email address of the recipient
    </ParamField>

    <ParamField body="first_name" type="string">
      Variable containing first name of the recipient (optional)
    </ParamField>

    <ParamField body="last_name" type="string">
      Variable containing last name of the recipient (optional)
    </ParamField>

    <ParamField body="message" type="string" required="true">
      Variable containing the Thnks message.

      Use
      `"Hello,\nThank you"` instead of
      `"Hello,
                                                Thank You"`
      for a multiline Thnks
    </ParamField>

    <ParamField body="gift_redeem_type" type="string" required="true">
      Always set to "email".
    </ParamField>
  </Expandable>
</ParamField>
