AWorld APIs are in a pre-alpha stage and are being updated frequently. For integration inquiries or technical information, please contact us at server@aworld.org.
curl --location --request POST 'https://api.eu-west-1.aworld.cloud/dashboard/v1/mobility/milestones//redeem' \
--header 'Authorization: Bearer <token>'
{
"mobilityMilestoneId": "string",
"date": "2019-08-24",
"userTimezone": "string",
"metric": "minutes",
"target": "target0",
"transportTypes": [
"walk"
],
"goal": 0,
"userAmount": 0,
"reached": true,
"reachedAt": "2019-08-24T14:15:22Z",
"reachedAtT": 0,
"redeemed": true,
"redeemedAt": "2019-08-24T14:15:22Z",
"redeemedAtT": 0,
"accountId": "string",
"workspaceId": "string",
"sourceRegion": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}