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

# Verify the caller credential

> Verification endpoint for `ez login`, the skills and the dev portal setup flow. Accepts an OAuth token or a user JWT (`Authorization: Bearer`), or an API key (`x-api-key` or `Authorization: Bearer ez_…`). Read-only, so API-key callers do not sign it. Reports whether the user is a registered developer, which webhook agents need.



## OpenAPI

````yaml https://mcp.echozero.app/api/docs-json get /status
openapi: 3.0.0
info:
  title: EchoZero MCP API
  description: >-
    EchoZero MCP Server - Developer API for agent management, trading,
    marketplace, and AI chat.


    **Rate Limiting:** All endpoints enforce per-API-key rate limits. Tiers:
    free (60 req/min), standard (300 req/min), premium (1000 req/min). Every
    response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`,
    `X-RateLimit-Reset` headers. Exceeding the limit returns `429 Too Many
    Requests` with a `Retry-After` header.
  version: '1.0'
  contact: {}
servers:
  - url: https://mcp.echozero.app
    description: Production
security: []
tags:
  - name: MCP Protocol
    description: >-
      Model Context Protocol (Streamable HTTP): `/mcp`, `/mcp/sse` — not under
      `/api`; same API key as REST
  - name: Health
    description: Server health check
  - name: API Keys
    description: API key generation, listing, and revocation
  - name: User
    description: >-
      User profile, sessions, social, onboarding, internal agent subscriptions,
      and bot activations (v1: /v1/users/me)
  - name: Token
    description: Token data and trending
  - name: Trade
    description: Trade execution and history
  - name: Strategy
    description: Strategy (trading bot) configuration and control
  - name: Agent
    description: Agent registration and management
  - name: AI
    description: AI chat, intent, and insights
  - name: Wallet
    description: Wallet operations, deposits, and withdrawals
  - name: Notification
    description: Notification management and settings
  - name: Auth
    description: >-
      Public authentication: signup / login lookup, code verification, Google
      OAuth, refresh, and sign-out. Returns `accessToken` / `refreshToken` in
      the JSON body.
  - name: OAuth
    description: >-
      OAuth 2.1 authorization-code + PKCE for AI assistant clients:
      `/oauth/authorize`, `/oauth/token`, `/oauth/introspect`, `/status`.
  - name: Activity
    description: User trade activity list and search
  - name: Feed
    description: Social activity feed timeline
  - name: Earn
    description: Leaderboard, rewards, and referrals
  - name: Statics
    description: Countries, languages, and static data
  - name: Misc
    description: File uploads and utility endpoints
  - name: Developer
    description: Developer registration and profile
  - name: Developer dashboard
    description: >-
      Per-agent dashboard: subscribers (anonymized), performance detail, signal
      history (v1)
  - name: Developer Agent
    description: Developer agent listings and management
  - name: Developer Agents (Marketplace)
    description: Public browse, search, and subscribe to external developer-listed agents
paths:
  /status:
    get:
      tags:
        - OAuth
      summary: Verify the caller credential
      description: >-
        Verification endpoint for `ez login`, the skills and the dev portal
        setup flow. Accepts an OAuth token or a user JWT (`Authorization:
        Bearer`), or an API key (`x-api-key` or `Authorization: Bearer ez_…`).
        Read-only, so API-key callers do not sign it. Reports whether the user
        is a registered developer, which webhook agents need.
      operationId: McpOAuthController_status
      parameters:
        - name: x-api-key
          in: header
          required: false
          schema:
            type: string
        - name: x-signature
          in: header
          required: true
          description: >-
            Required for API-key authenticated requests. HMAC-SHA256(secretKey,
            timestamp + METHOD + path + body) as lowercase hex. Omit only for
            JWT/OAuth session tokens or public routes.
          schema:
            type: string
        - name: x-timestamp
          in: header
          required: true
          description: >-
            Required with x-signature. Epoch milliseconds; rejected if drift
            exceeds 5 minutes. Omit only for JWT/OAuth session tokens or public
            routes.
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponseDto'
        '401':
          description: Missing, invalid or expired credential
components:
  schemas:
    StatusResponseDto:
      type: object
      properties:
        authenticated:
          type: boolean
          example: true
        authMethod:
          type: string
          enum:
            - oauth
            - apiKey
            - jwt
        userId:
          type: string
        scopes:
          type: array
          items:
            type: string
        clientId:
          type: string
          nullable: true
          description: OAuth client the token was issued to; null for API keys and JWTs.
        expiresAt:
          type: string
          nullable: true
          description: ISO expiry; null when the credential does not expire.
        isDeveloper:
          type: boolean
          description: >-
            True when the user has an active developer registration. Webhook
            agents need it to receive signals.
        developerStatus:
          type: string
          enum:
            - pending
            - active
            - suspended
          nullable: true
      required:
        - authenticated
        - authMethod
        - userId
        - scopes
        - clientId
        - expiresAt
        - isDeveloper
        - developerStatus

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.