curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/sendLinks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "xoxo_link.mutation.generateLinkEmail",
"tag": "xoxo_link",
"variables": {
"data": {
"campaignId": 123,
"email_ids": "email1@domain.com,email2@domain.com",
"link_expiry": "19-03-2023"
}
}
}
'{
"data": {
"generateLink": {
"success": 1,
"message": "Links created successfully"
}
}
}Generate a unique reward link per recipient and deliver it to their inbox. Ideal for automating reward distribution with email notifications.
curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/sendLinks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "xoxo_link.mutation.generateLinkEmail",
"tag": "xoxo_link",
"variables": {
"data": {
"campaignId": 123,
"email_ids": "email1@domain.com,email2@domain.com",
"link_expiry": "19-03-2023"
}
}
}
'{
"data": {
"generateLink": {
"success": 1,
"message": "Links created successfully"
}
}
}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>
Always use xoxo_link.mutation.generateLinkEmail.
xoxo_link.mutation.generateLinkEmail Always use xoxo_link.
xoxo_link Show child attributes
Links sent successfully to all recipients.
Show child attributes