GET /keys/:name

Fetch API Key by name

Request Path Parameters

name
string
required

Code Examples

curl -X GET "https://api.spendjuice.com/keys/:name" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \

Response

{
  "data": {
    "created_at": "2025-04-15T00:09:36Z",
    "description": null,
    "expiry_date": null,
    "name": "test-key",
    "scopes": []
  },
  "pagination": { "after": null, "before": null, "limit": 100 }
}