curl --request GET \
--url https://api.rallyuxr.com/api/public/v1/incentives/{incentiveId} \
--header 'Authorization: Bearer <token>'
{
"incentiveId": "<string>",
"type": "MONEY_OR_GIFT_CARD",
"amountCents": 123,
"sentAt": "2023-11-07T05:31:56Z",
"recipientEmail": "jsmith@example.com",
"personId": "<string>",
"participantId": "<string>",
"studyId": "<string>",
"status": "UNCLAIMED",
"budgetId": "<string>",
"customIncentiveId": "<string>",
"customIncentiveValue": "<string>"
}
Gets an incentive by id
curl --request GET \
--url https://api.rallyuxr.com/api/public/v1/incentives/{incentiveId} \
--header 'Authorization: Bearer <token>'
{
"incentiveId": "<string>",
"type": "MONEY_OR_GIFT_CARD",
"amountCents": 123,
"sentAt": "2023-11-07T05:31:56Z",
"recipientEmail": "jsmith@example.com",
"personId": "<string>",
"participantId": "<string>",
"studyId": "<string>",
"status": "UNCLAIMED",
"budgetId": "<string>",
"customIncentiveId": "<string>",
"customIncentiveValue": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Incentive response
An incentives's metadata