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

# Perfil da sessão

> Retorna usuário autenticado. Use `sessionToken` de login no Bearer (não API key de mensageria).



## OpenAPI

````yaml /es/platform-api/api-reference/openapi-platform.json get /v1/platform/me
openapi: 3.0.3
info:
  title: Notifique API Platform
  description: >-
    Conta, billing, API keys, equipe e tudo que o painel faz — via API. Rotas
    públicas: `register`, `verify`, `login`. Autentique o restante com
    `Authorization: Bearer sk_live_...` ou `x-api-key`. Escopos: `api_keys:*`,
    `billing:*`, `workspace:members:*` conforme a rota.
  version: 1.0.0
servers:
  - url: https://api.notifique.dev
    description: Produção
security:
  - ntfPlatformBearerAuth: []
  - ntfPlatformApiKeyHeader: []
tags:
  - name: 'Platform: Conta'
    description: Registro, verificação de telefone e login.
  - name: 'Platform: Billing'
    description: >-
      Assinatura, saldo, recarga e histórico de uso de créditos (`billing:read`
      / `billing:manage`).
  - name: 'Platform: API Keys'
    description: Gestão de chaves do workspace (`api_keys:read` / `api_keys:manage`).
  - name: 'Platform: Workspace'
    description: Listagem de workspaces (sessão) e recursos por workspace.
  - name: 'Platform: Equipe'
    description: >-
      Membros e convites (`workspace:members:read` /
      `workspace:members:manage`).
  - name: Sandbox
    description: Mensajes de prueba interceptados en el entorno sandbox.
paths:
  /v1/platform/me:
    get:
      tags:
        - 'Platform: Conta'
      summary: Perfil da sessão
      description: >-
        Retorna usuário autenticado. Use `sessionToken` de login no Bearer (não
        API key de mensageria).
      operationId: ntfPlatform_getMe
      responses:
        '200':
          description: Perfil do usuário.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ntfPlatform_GetMeResponse'
              example:
                success: true
                data:
                  id: clusr_01H...
                  email: dev@empresa.com
                  name: Ana Dev
                  phone: '+5511999999999'
                  phoneVerified: true
        '401':
          $ref: '#/components/responses/NtfPlatform_Unauthorized'
components:
  schemas:
    ntfPlatform_GetMeResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          $ref: '#/components/schemas/NtfPlatform_User'
      example:
        success: true
        data:
          id: clxx...
          email: string
          name: Exemplo
          phone: string
          phoneVerified: true
          onboardingCompleted: true
    NtfPlatform_User:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
        name:
          type: string
          nullable: true
        phone:
          type: string
          nullable: true
        phoneVerified:
          type: boolean
        onboardingCompleted:
          type: boolean
        workspaces:
          type: array
          items:
            type: string
          example:
            - role: OWNER
              id: clws_01HProducao...
              name: Produção BR
              slug: producao-br
            - role: OWNER
              id: clws_02HHomolog...
              name: Homologação
              slug: homologacao
      example:
        id: clxx...
        email: string
        name: Exemplo
        phone: string
        phoneVerified: true
        onboardingCompleted: true
    NtfPlatform_Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
        code:
          type: string
        message:
          type: string
          example: Campo inválido ou ausente.
        retryAfter:
          type: integer
          example: 60
      example:
        success: false
        error: string
        code: string
  responses:
    NtfPlatform_Unauthorized:
      description: Credenciais ou token inválidos.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NtfPlatform_Error'
          example:
            success: false
            code: VERIFICATION_TOKEN_INVALID
  securitySchemes:
    ntfPlatformBearerAuth:
      type: http
      scheme: bearer
      description: API key (`sk_live_...`) ou `sessionToken` de login.
    ntfPlatformApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: Alternativa ao Bearer.

````