Google Sheet Extension
PDF to Pass
Image to Pass
Returns the visit history for a loyalty member — every Progress Update recorded against their pass, most recent first. Use it to audit how a member's stamp / points count changed over time.
customerId from Add User / List Users.All API requests must include your API key in the request headers:
"apikey": "your-api-key-here"
curl 'https://app.addtowallet.co/api/loyalty-pass/activity-log/686d10e7c2f0bc5cdf25c84b' \ -H 'apikey: your-api-key-here'
Returns the list of activity entries in data:
type (e.g. visit_updated), operation (increased | decreased | reset), and a human-readable msg.{
"message": "Fetched logs successfully",
"status": true,
"data": [
{
"customerId": "686d10e7c2f0bc5cdf25c84b",
"passCardId": "686d10e7c2f0bc5cdf25c84e",
"issuerId": "66b6005bb7bddce8f05a3380",
"userId": "66b6005bb7bddce8f05a3381",
"timestamp": "2026-03-20T14:22:03.000Z",
"action": {
"type": "visit_updated",
"operation": "increased",
"msg": "Updated visit count from 2 to 3"
}
},
{
"customerId": "686d10e7c2f0bc5cdf25c84b",
"passCardId": "686d10e7c2f0bc5cdf25c84e",
"issuerId": "66b6005bb7bddce8f05a3380",
"userId": "66b6005bb7bddce8f05a3381",
"timestamp": "2026-03-18T09:10:00.000Z",
"action": {
"type": "visit_updated",
"operation": "increased",
"msg": "Updated visit count from 1 to 2"
}
}
]
}| Error Code | Description |
|---|---|
| 400 | Bad Request - Missing customerId. |
| 401 | Unauthorized - Missing or invalid API key. |
| 404 | Not Found - No logs found for this customer. |
| 429 | Too Many Requests - API rate limit exceeded. Please wait before making additional requests. |
| 500 | Internal Server Error - Unexpected error retrieving logs. Please contact support. |