Retrieves a list of your API keys.
GET {API_URL}/api_keys
Returns the data array of objects, each containing details about your API keys.
Each API key has the following properties:
id: The ID of the API key. This is the ID field that is used for the Delete API Key endpoint.name: The name of the API key.description: An optional description of the API key.partial_key_data: The prefix of each API key. This is the same across all API keys and doesn't show the raw API key value for security reasons.
Indicates the result of the request to list your API keys. success signifies success, while failed indicates an error.
A description of the status of the request.
curl -X GET '{API_URL}/api_keys' \
-H 'Authorization: Bearer {TOKEN/KEY}'{
"data": [
{
"id": 5,
"name": "api-test-key",
"description": "This is the test API key",
"partial_key_data": "ak_..."
},
{
"id": 6,
"name": "api-test-key2",
"description": "This is the test API key #2",
"partial_key_data": "ak_..."
}
],
"message": "API keys successfully retrieved",
"status": "success"
}