Send Link API
Send Link API
Generate a unique reward link per recipient and deliver it to their inbox. Ideal for automating reward distribution with email notifications.
POST
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”). |
Authorizations
Authorization: Bearer <access_token>
Body
application/json
Response
Links sent successfully to all recipients.
