Generate Link API
Generate Link API
Generate reward links in bulk without needing recipient email addresses. Ideal for reward automation where links are distributed via your own channels.
POST
Generate Link API
| **Property ** | ** Type ** | ** Description** |
|---|---|---|
campaignId | String | Unique identifier of the campaign for which the link(s) should be generated. |
links_quantity | Int | Number of links to generate. |
link_expiry | String | Expiry date for the link(s) (format: DD-MM-YYYY). |
Response Schema
| **Path ** | ** Type ** | ** Description** |
|---|---|---|
| data | object | Root response object. |
| data.generateLink | object | Container for link generation result. |
| data.generateLink.success | number | API execution status (1 = success). |
| data.generateLink.message | string | Message returned by the API. |
| data.generateLink.links | array | List of generated reward/claim links. |
| data.generateLink.links[] | string | Individual generated link URL. |
| data.generateLink.batchId | string | Unique batch identifier for the generated link set. |
| data.generateLink.campaignName | string | Name of the campaign for which links were generated. |
| data.generateLink.campaignId | string | Campaign ID (string returned by API). |
| data.generateLink.denomination_value | number | Denomination/value associated with the generated links. |
| data.generateLink.countryName | string | Country for which the link campaign applies. |
| data.generateLink.currencyCode | string | Currency code for the denomination. |
Authorizations
Authorization: Bearer <access_token>
Body
application/json
Response
Links generated successfully.
