Skip to main content

List scan events

GET /scans

Requires scans:read. Returns scan events belonging to the authenticated organisation. Results are ordered newest first by _id. Member and passInstance fields contain RemyPass IDs, not populated objects. Date bounds are inclusive; use UTC timestamps for unambiguous ranges.

Authorization​

X-API-Key required

Parameters​

NameLocationTypeRequiredDefaultLimitsDescription
pagequeryintegerNo1min 1Page number, defaults to 1
limitqueryintegerNo10min 1, max 100Page size, defaults to 10, maximum 100
memberIdquerystringNoRemyPass member _id
passInstanceIdquerystringNoRemyPass pass instance _id
typequeryIN, OUT, IGNORED, STAMP_GIVEN, TICKET_REDEEMEDNoIN, OUT, IGNORED, STAMP_GIVEN, or TICKET_REDEEMED
resultquerystringNomin length 1, max length 100Exact scan result
sourcequeryios, android, web, mac, system, squareNoios, android, web, mac, system, or square
locationquerystringNomax length 500Exact scan location
startDatequerystring (date-time)NoInclusive ISO 8601 lower bound on createdAt
endDatequerystring (date-time)NoInclusive ISO 8601 upper bound on createdAt; must be on or after startDate

Request Examples​

curl -X GET "https://api.remypass.com/api/v1/public/scans" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"

Responses​

StatusDescription
200Success
400Invalid request
401Authentication required
403Insufficient permissions
429Rate limit exceeded.
500Server error.

200 Response Example​

{
"success": true,
"message": "string",
"data": [
{
"_id": "string",
"member": "string",
"passInstance": "string",
"source": "ios",
"location": "string",
"input": "string",
"result": "string",
"reason": "string",
"type": "IN",
"createdAt": "2026-01-01T12:00:00.000Z",
"updatedAt": "2026-01-01T12:00:00.000Z",
"quantity": 1
}
],
"pagination": {
"currentPage": 1,
"totalPages": 5,
"totalItems": 47,
"itemsPerPage": 10,
"hasNextPage": true,
"hasPrevPage": false
}
}

Response Fields​

FieldTypeDescriptionAttributes
successboolean
messagestring
dataarray of object
Show child attributes
  • _id: string
  • member: string
  • passInstance: string
  • source: ios, android, web, mac, system, square
  • location: string
  • input: string
  • result: string
  • reason: string
  • type: IN, OUT, IGNORED, STAMP_GIVEN, TICKET_REDEEMED
  • createdAt: string (date-time)
  • updatedAt: string (date-time)
  • quantity: number
paginationobject
Show child attributes
  • currentPage: integer
  • totalPages: integer
  • totalItems: integer
  • itemsPerPage: integer
  • hasNextPage: boolean
  • hasPrevPage: boolean