> ## 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.

# Metadados do Authorization Server

> Retorna URLs dos endpoints OAuth (`authorization_endpoint`, `token_endpoint`, `registration_endpoint`, etc.) conforme RFC 8414.



## OpenAPI

````yaml /es/oauth-api/api-reference/openapi-oauth.json get /.well-known/oauth-authorization-server
openapi: 3.0.3
info:
  title: Notifique API. OAuth 2.1
  description: >-
    Authorization Server OAuth 2.1 con PKCE obligatorio. Registra clientes,
    autoriza usuarios y obtén access tokens para `/v1/*`. Issuer:
    `https://api.notifique.dev`.
  version: 1.0.0
servers:
  - url: https://api.notifique.dev
    description: Produção
security: []
tags:
  - name: Metadados
    description: Discovery RFC 8414, chaves públicas JWT e metadados do recurso MCP.
  - name: OAuth
    description: Registro de clientes, autorização, tokens e revogação.
  - name: OAuth Apps
    description: Apps OAuth do workspace (painel Developer → OAuth Apps).
paths:
  /.well-known/oauth-authorization-server:
    get:
      tags:
        - Metadados
      summary: Metadados do Authorization Server
      description: >-
        Retorna URLs dos endpoints OAuth (`authorization_endpoint`,
        `token_endpoint`, `registration_endpoint`, etc.) conforme RFC 8414.
      operationId: ntfOauth_getAuthorizationServerMetadata
      responses:
        '200':
          description: Documento de metadados OAuth 2.0.
          content:
            application/json:
              example:
                issuer: https://api.notifique.dev
                authorization_endpoint: https://api.notifique.dev/oauth/authorize
                token_endpoint: https://api.notifique.dev/oauth/token
                registration_endpoint: https://api.notifique.dev/oauth/register
                revocation_endpoint: https://api.notifique.dev/oauth/revoke
                jwks_uri: https://api.notifique.dev/.well-known/jwks.json
                response_types_supported:
                  - code
                grant_types_supported:
                  - authorization_code
                  - refresh_token
                code_challenge_methods_supported:
                  - S256
                token_endpoint_auth_methods_supported:
                  - client_secret_basic
                  - none
                scopes_supported:
                  - email:send
                  - whatsapp:send
                  - sms:send
                  - contacts:read
              schema:
                $ref: >-
                  #/components/schemas/ntfOauth_GetAuthorizationServerMetadataResponse
components:
  schemas:
    ntfOauth_GetAuthorizationServerMetadataResponse:
      type: object
      properties:
        issuer:
          type: string
        authorization_endpoint:
          type: string
        token_endpoint:
          type: string
        registration_endpoint:
          type: string
        revocation_endpoint:
          type: string
        jwks_uri:
          type: string
        response_types_supported:
          type: array
          items:
            type: string
        grant_types_supported:
          type: array
          items:
            type: string
        code_challenge_methods_supported:
          type: array
          items:
            type: string
        token_endpoint_auth_methods_supported:
          type: array
          items:
            type: string
        scopes_supported:
          type: array
          items:
            type: string
      example:
        issuer: string
        authorization_endpoint: string
        token_endpoint: string
        registration_endpoint: string
        revocation_endpoint: string
        jwks_uri: string
        response_types_supported:
          - string
        grant_types_supported:
          - string
        code_challenge_methods_supported:
          - string
        token_endpoint_auth_methods_supported:
          - string
        scopes_supported:
          - string

````