Skip to main content
GET
/
users
/
me
/
api-keys
curl -X GET https://scrape.st/users/me/api-keys \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": {
    "apiKeys": [
      {
        "id": "clx0abc...",
        "name": "production",
        "key": "sk_live_...",
        "createdAt": "2026-05-01T12:00:00.000Z"
      }
    ],
    "telegramDefaultApiKeyId": "clx0abc..."
  },
  "message": "API keys retrieved"
}
Returns every API key owned by the same user as the calling key, plus which key is currently set as the Telegram bot default.

Response

data
object
  • apiKeys (array) — each with id, name, key, createdAt, newest first
  • telegramDefaultApiKeyId (string | null) — the key currently used by the Telegram bot, set via Set Telegram Default Key
curl -X GET https://scrape.st/users/me/api-keys \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": {
    "apiKeys": [
      {
        "id": "clx0abc...",
        "name": "production",
        "key": "sk_live_...",
        "createdAt": "2026-05-01T12:00:00.000Z"
      }
    ],
    "telegramDefaultApiKeyId": "clx0abc..."
  },
  "message": "API keys retrieved"
}