> ## Documentation Index
> Fetch the complete documentation index at: https://developer.firstsales.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect the active Developer API Key context.

> GET /api/v1/whoami

Use this endpoint through the Developer API or the matching `firstsales` CLI command when available. Responses use the stable FirstSales public error envelope.


## OpenAPI

````yaml GET /api/v1/whoami
openapi: 3.1.0
info:
  title: FirstSales Developer API
  version: 1.0.0
  description: Versioned public API contract for agent and developer integrations.
servers:
  - url: https://api.app.firstsales.io
security:
  - bearerAuth: []
paths:
  /api/v1/whoami:
    get:
      tags:
        - Authentication
      summary: Inspect the active Developer API Key context.
      operationId: getDeveloperIdentity
      responses:
        '200':
          description: Current API key, organization, workspace, and scope context.
        '401':
          $ref: '#/components/responses/PublicApiError'
components:
  responses:
    PublicApiError:
      description: Stable public API error envelope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
  schemas:
    PublicApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - requestId
          properties:
            code:
              type: string
            message:
              type: string
            requestId:
              type: string
            details:
              type: object
              additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: FirstSales Developer API Key

````