Skip to main content
GET
/
api-keys
List API keys
curl --request GET \
  --url https://app.autoposting.ai/api-proxy/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "key_01HXYZ",
      "name": "CI/CD Pipeline Key",
      "keyHint": "ap_live_abc1...xyz7",
      "scopes": [
        "posts:read",
        "posts:write",
        "brands:read"
      ],
      "lastUsedAt": "2024-01-10T08:00:00Z",
      "expiresAt": null,
      "createdAt": "2024-01-01T00:00:00Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Response

List of API keys.

success
boolean
Example:

true

data
object[]