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

# Link authorization server metadata

> RFC 8414 discovery document for the issuer `https://api.ofauth.com/v3/link`, on the API origin.



## OpenAPI

````yaml /openapi/v3.json get /.well-known/oauth-authorization-server/v3/link
openapi: 3.1.0
info:
  title: OFAuth API
  version: 1.0.0
  description: >-
    OFAuth V3 API for linking accounts, making OnlyFans API requests, and
    receiving events.
  contact:
    email: support@ofauth.com
    url: https://ofauth.com/
servers:
  - url: https://api.ofauth.com
security:
  - ExternalOAuth: []
tags:
  - name: Link
    description: Link accounts, get and refresh tokens, and end access.
  - name: Linked accounts
    description: The linked accounts of one authorization, and their settings.
  - name: Access
    description: Make OnlyFans API requests for a linked account.
  - name: Analytics
    description: 'Access: charts, rankings, and performance data.'
  - name: Earnings
    description: 'Access: earnings charts, transactions, and chargebacks.'
  - name: Messages
    description: 'Access: messaging, chats, queue, and mass messaging.'
  - name: Posts
    description: 'Access: create, edit, list, and manage posts.'
  - name: Promotions
    description: 'Access: promotions, trials, and bundles.'
  - name: Users
    description: 'Access: user profiles, subscriptions, and actions.'
  - name: Vault
    description: 'Access: vault folders, media, and management.'
  - name: Upload
    description: 'Access: media upload and processing.'
  - name: Self
    description: 'Access: linked account profile and settings.'
  - name: Stories
    description: 'Access: stories listing and management.'
  - name: Subscriptions
    description: 'Access: subscription offers, discounts, and management.'
  - name: Realtime
    description: Webhook event formats, including OnlyFans activity events.
externalDocs:
  description: OFAuth Developer Documentation
  url: https://docs.ofauth.com
paths:
  /.well-known/oauth-authorization-server/v3/link:
    get:
      tags:
        - Link
      summary: Link authorization server metadata
      description: >-
        RFC 8414 discovery document for the issuer
        `https://api.ofauth.com/v3/link`, on the API origin.
      operationId: linkAuthorizationServerMetadata
      responses:
        '200':
          description: Authorization server metadata.
          headers:
            Cache-Control:
              schema:
                type: string
                example: public, max-age=300
              required: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkAuthorizationServerMetadata'
        '404':
          description: The request origin does not belong to a Link deployment.
      security: []
components:
  schemas:
    LinkAuthorizationServerMetadata:
      type: object
      properties:
        issuer:
          type: string
          example: https://api.ofauth.com/v3/link
        authorization_endpoint:
          type: string
          example: https://link.ofauth.com/v3/authorize
        token_endpoint:
          type: string
          example: https://api.ofauth.com/v3/link/token
        userinfo_endpoint:
          type: string
          example: https://api.ofauth.com/v3/link/userinfo
        revocation_endpoint:
          type: string
          example: https://api.ofauth.com/v3/link/revoke
        response_types_supported:
          type: array
          items:
            type: string
            enum:
              - code
        grant_types_supported:
          type: array
          items:
            type: string
            enum:
              - authorization_code
              - refresh_token
        authorization_response_iss_parameter_supported:
          type: boolean
          enum:
            - true
        code_challenge_methods_supported:
          type: array
          items:
            type: string
            enum:
              - S256
        token_endpoint_auth_methods_supported:
          type: array
          items:
            type: string
            enum:
              - client_secret_basic
              - client_secret_post
        revocation_endpoint_auth_methods_supported:
          type: array
          items:
            type: string
            enum:
              - client_secret_basic
              - client_secret_post
        scopes_supported:
          type: array
          items:
            type: string
          example:
            - analytics:read
            - finances:read
            - lists:read
            - lists:write
            - messages:read
            - messages:write
            - notifications:read
            - notifications:write
            - posts:read
            - posts:write
            - profile:read
            - profile:write
            - promotions:read
            - promotions:write
            - queue:read
            - queue:write
            - stories:read
            - stories:write
            - subscribers:read
            - subscribers:write
            - subscriptions:read
            - subscriptions:write
            - users:read
            - users:write
            - vault:read
            - vault:write
            - identity:read
      required:
        - issuer
        - authorization_endpoint
        - token_endpoint
        - userinfo_endpoint
        - revocation_endpoint
        - response_types_supported
        - grant_types_supported
        - authorization_response_iss_parameter_supported
        - code_challenge_methods_supported
        - token_endpoint_auth_methods_supported
        - revocation_endpoint_auth_methods_supported
        - scopes_supported
  securitySchemes:
    ExternalOAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: Link access token for one Sandbox, Test, or Live authorization.

````

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