FeedHorizon API
Api keys
GET
/api-keys

Returns all API keys for the authenticated user. Keys are returned with a prefix only, not the full key value.

Authorization

bearerAuth
AuthorizationBearer <token>

API key with fh_ prefix. Pass as Authorization: Bearer fh_...

In: header

Response Body

application/json

curl -X GET "https://app.feedhorizon.dev/api/v1/api-keys"
{
  "data": [
    {
      "id": "string",
      "keyPrefix": "fh_abc12345",
      "name": "string",
      "permission": "readwrite",
      "fullAccess": true,
      "profileIds": [
        "string"
      ],
      "lastUsedAt": "2019-08-24T14:15:22Z",
      "expiresAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ]
}