List pass instances
GET /passes
Requires the passes:read permission.
Authorization
X-API-Key required
Parameters
| Name | Location | Type | Required | Default | Limits |
|---|---|---|---|---|---|
limit | query | integer | No | 10 | min 1, max 100 |
page | query | integer | No | 1 | min 1 |
status | query | active, inactive, expired, void | No | ||
memberId | query | string | No | ||
includeVoid | query | boolean | No | false |
Request Examples
curl -X GET "https://api.remypass.com/api/v1/public/passes" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"Use Case Examples
List pass instances with filtering
curl -X GET "https://api.remypass.com/api/v1/public/passes?limit=50&page=1&status=active&memberId=507f1f77bcf86cd799439011" \
-H "Authorization: Bearer YOUR_API_KEY"
Responses
| Status | Description |
|---|---|
200 | Pass instances retrieved. |
400 | Bad request or validation error. |
401 | Missing or invalid API key. |
403 | The caller is not allowed to access this resource. |
500 | Server error. |
200 Response Example
{
"success": true,
"message": "string",
"data": [
{
"_id": "507f1f77bcf86cd799439013",
"serialNumber": "string",
"status": "active",
"member": {},
"pass": {},
"recipientName": "string",
"recipientEmail": "user@example.com",
"expiryDate": "2026-01-01T12:00:00.000Z",
"issuedAt": "2026-01-01T12:00:00.000Z",
"walletUrls": {
"apple": "string",
"google": "string"
}
}
],
"pagination": {
"currentPage": 1,
"totalPages": 5,
"totalItems": 47,
"itemsPerPage": 10,
"hasNextPage": true,
"hasPrevPage": false
}
}
Response Fields
| Field | Type | Attributes |
|---|---|---|
success | boolean | |
message | string | |
data | array of object | Show child attributes
|
pagination | object | Show child attributes
|