curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/generateLink \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "xoxo_link.mutation.generateLink",
"tag": "xoxo_link",
"variables": {
"data": {
"campaignId": 123,
"links_quantity": 1,
"link_expiry": "19-03-1999"
}
}
}
'{
"data": {
"generateLink": {
"success": 1,
"message": "Links generated successfully",
"links": [
"https://plum.xoxoday.com/claim/abc123",
"https://plum.xoxoday.com/claim/def456"
],
"batchId": "batch_20260415_001",
"campaignName": "Summer Rewards",
"campaignId": "123",
"denomination_value": 10,
"countryName": "USA",
"currencyCode": "USD"
}
}
}Generate reward links in bulk without needing recipient email addresses. Ideal for reward automation where links are distributed via your own channels.
curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/generateLink \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "xoxo_link.mutation.generateLink",
"tag": "xoxo_link",
"variables": {
"data": {
"campaignId": 123,
"links_quantity": 1,
"link_expiry": "19-03-1999"
}
}
}
'{
"data": {
"generateLink": {
"success": 1,
"message": "Links generated successfully",
"links": [
"https://plum.xoxoday.com/claim/abc123",
"https://plum.xoxoday.com/claim/def456"
],
"batchId": "batch_20260415_001",
"campaignName": "Summer Rewards",
"campaignId": "123",
"denomination_value": 10,
"countryName": "USA",
"currencyCode": "USD"
}
}
}Documentation Index
Fetch the complete documentation index at: https://help-plum.xoxoday.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <access_token>
Links generated successfully.
Show child attributes