Account

Resolve an API key to its owner

Returns the identity of the Studio user that owns the presented API key. user_id is the Studio users.id — the same value POST /api/system/provision-app-key returns, and identical across every key belonging to that user. Not metered: no credits are charged and the call succeeds even for a user with no credit account. Unlike other v1 endpoints this authenticates by API key only — a session cookie will not satisfy it, because the endpoint's purpose is to identify the presented key.

get/whoami

Request

  • Base URL: https://studio.fintechstudios.com/api/v1
  • URL: https://studio.fintechstudios.com/api/v1/whoami
  • Auth: API key in header X-API-Key

Response

Key owner identity

Example response

{
  "data": {
    "user_id": "9f2c1b7e-4a3d-4e21-9b0f-1c8e5a7d3b62"
  },
  "meta": {
    "request_id": "req_abc123def456",
    "credits_used": 1,
    "credits_remaining": 199,
    "rate_limit": {
      "limit": 1000,
      "remaining": 999,
      "reset": 1709251200
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.