post
https://stagingstores.xoxoday.com/chef/v1/oauth/api/sendLinks
The Send Link API generates a unique reward link for an email address and delivers it to the user’s inbox. It is ideal for automating reward distribution and notifications.
Send Link API
| Property | Type | Description |
|---|---|---|
campaignId | String | Unique identifier of the campaign for which links are to be generated. |
email_ids | String | Comma-separated list of recipient email addresses (or a single email). |
link_expiry | String | Expiry date for the link(s) (format: DD-MM-YYYY). |
Response Schema
| Property | Type | Description |
|---|---|---|
| data | object | Root response object. |
| data.generateLink | object | Container for link-sending operation. |
| data.generateLink.success | number | API execution status (1 = success). |
| data.generateLink.message | string | Message returned by the API (e.g., “Links created successfully”). |
