Back to API Keys Endpoints
GET /v1/api-keys
Growth+
Retrieve a list of all API keys associated with your organization. For security reasons, the full key values are never returned - only the key prefix and metadata are shown. This allows you to identify and manage your keys without exposing sensitive credentials. Use this endpoint to audit your API keys, check their scopes, and identify keys that may need to be rotated or revoked.
Request
http
GET https://api.votepipe.com/v1/api-keys
Authorization: Bearer mr_live_your_api_key_hereResponse (200 OK)
json
{
"data": {
"keys": [
{
"id": "1",
"name": "CI Pipeline",
"prefix": "mr_live_a1b2c3d4",
"scope": "full",
"last_used_at": "2026-01-02T10:00:00Z",
"created_at": "2025-12-20T00:00:00Z"
},
{
"id": "2",
"name": "Read-Only Bot",
"prefix": "mr_live_x9y8z7w6",
"scope": "read",
"last_used_at": null,
"created_at": "2026-01-01T00:00:00Z"
}
]
},
"meta": {
"request_id": "req_abc123"
}
}