Title
Create new category
Edit page index title
Edit category
Edit link
List Keys
Overview
This endpoint allows you to retrieve a list of all Bre-B key associated with your customers within the Passport API. The response includes key value, type, status, and associated entity details.
Endpoint Details
Definition | Description |
|---|---|
Endpoint | |
Method | GET |
Headers | Content-Type: application/json, Authorization |
Authentication | Access Token (Bearer Token) |
Query Parameters
Pagination Parameters
Parameter | Description |
|---|---|
page_params.page_size | Number of records to return per page. |
page_params.page_number | Page number to retrieve. |
page_params.first_request_timestamp.seconds | UTC seconds since Unix epoch ( |
page_params.first_request_timestamp.nanos | Nanosecond fraction (0 to 999,999,999). Must be a non-negative value and represents fractional seconds at nanosecond resolution. |
Ordering Parameters
Parameter | Description |
|---|---|
order_params.order_key | Field used to sort the results. |
order_params.order_direction | Sort direction. Allowed values: |
Key Filters
Parameter | Description |
|---|---|
customer_id | Filters by the customer identifier associated with the key. |
account_id | Filters by the account identifier associated with the key. |
key_type | Filters by key type. |
key_id | Filters by the unique key identifier. |
status | Filters by key status (for example, active or suspended) |
key_value | Filters by the key value. |
Request Body
No request body
Example Request
Response Body
HTTP Status Code: 200 OK.
The response will contain the list of keys, along with its unique identifiers and details.
Example of Response
Common Errors and Handling
HTTP Status Code | Meaning | Description |
|---|---|---|
400 Bad Request | Invalid Data | Required fields are missing or contain incorrect values. |
401 Unauthorized | Expired Token | The access token is invalid or has expired. |
403 Forbidden | Access Denied | The request is not authorized to list the Keys. |
500 Internal Server Error | Server Error | An unexpected error occurred sending the request. |