API Reference · API keys
List API keys
List all API keys in your workspace. The plaintext key is never returned again.
GET/v1/keys
Headers
Authorizationstringrequired
Your API key as a bearer token:
Bearer rk_your_api_key. You can also use the X-Api-Key header.Request
curl -X GET https://api.raanse.com/v1/keys \
-H "Authorization: Bearer rk_your_api_key"Response
200{
"success": true,
"message": "OK",
"statusCode": 200,
"data": [{ "id": "01JABCDXYZ0000000000000000", "name": "production", "prefix": "rk_5f3a9c1", "scope": "send", "lastUsedAt": null, "revokedAt": null }]
}