Send Referrals

Send referrals emails.

Parameters
  • dataformData, objectRequired

    Form Data needed when sending referrals emails.

    • typestringRequired

      Provide Referrals type. Current selection is only referrals.

    • attributesformData, objectRequired

      Attributes object.

      • emailsstring[]Required

        Provided multiple emails atleast one is required.

POST/api/v1/referrals

{
  const res = await fetch(`${BASE_URL}/api/v1/referrals`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify(data)});

  const data = await res.json();
}

RESPONSE