UnoRouter Custom O Auth API

The CustomOAuth API from UnoRouter, for customoauth.

GitHub OpenAPI

Operations 6

GET /api/custom-oauth-provider/ Get Custom O Auth Providers #
POST /api/custom-oauth-provider/ Create Custom O Auth Provider #
POST /api/custom-oauth-provider/discovery Fetch Custom O Auth Discovery #
DELETE /api/custom-oauth-provider/{id} Delete Custom O Auth Provider #
GET /api/custom-oauth-provider/{id} Get Custom O Auth Provider #
PUT /api/custom-oauth-provider/{id} Update Custom O Auth Provider #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/unorouter-com:unorouter-com-customoauth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

unorouter-com-customoauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: ' '
  title: New Custom O Auth API
  version: 0.0.1
tags:
- name: CustomOAuth
paths:
  /api/custom-oauth-provider/:
    get:
      operationId: getCustomOAuthProviders
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_Array-dto.CustomOAuthProviderResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_Array-dto.CustomOAuthProviderResponse'
          description: OK
      security:
      - accessToken: []
        newApiUser: []
      - newApiUser: []
        sessionAuth: []
      summary: Get Custom O Auth Providers
      tags:
      - CustomOAuth
    post:
      operationId: createCustomOAuthProvider
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCustomOAuthProviderRequest'
        description: Request body for dto.CreateCustomOAuthProviderRequest
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_dto.CustomOAuthProviderResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_dto.CustomOAuthProviderResponse'
          description: OK
      security:
      - accessToken: []
        newApiUser: []
      - newApiUser: []
        sessionAuth: []
      summary: Create Custom O Auth Provider
      tags:
      - CustomOAuth
  /api/custom-oauth-provider/discovery:
    post:
      operationId: fetchCustomOAuthDiscovery
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FetchCustomOAuthDiscoveryRequest'
        description: Request body for dto.FetchCustomOAuthDiscoveryRequest
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_dto.FetchDiscoveryData'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_dto.FetchDiscoveryData'
          description: OK
      security:
      - accessToken: []
        newApiUser: []
      - newApiUser: []
        sessionAuth: []
      summary: Fetch Custom O Auth Discovery
      tags:
      - CustomOAuth
  /api/custom-oauth-provider/{id}:
    delete:
      operationId: deleteCustomOAuthProvider
      parameters:
      - description: Provider ID
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/MessageResponse'
          description: OK
      security:
      - accessToken: []
        newApiUser: []
      - newApiUser: []
        sessionAuth: []
      summary: Delete Custom O Auth Provider
      tags:
      - CustomOAuth
    get:
      operationId: getCustomOAuthProvider
      parameters:
      - description: Provider ID
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_dto.CustomOAuthProviderResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_dto.CustomOAuthProviderResponse'
          description: OK
      security:
      - accessToken: []
        newApiUser: []
      - newApiUser: []
        sessionAuth: []
      summary: Get Custom O Auth Provider
      tags:
      - CustomOAuth
    put:
      operationId: updateCustomOAuthProvider
      parameters:
      - description: Provider ID
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCustomOAuthProviderRequest'
        description: Request body for dto.UpdateCustomOAuthProviderRequest
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_dto.CustomOAuthProviderResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_dto.CustomOAuthProviderResponse'
          description: OK
      security:
      - accessToken: []
        newApiUser: []
      - newApiUser: []
        sessionAuth: []
      summary: Update Custom O Auth Provider
      tags:
      - CustomOAuth
components:
  schemas:
    FetchCustomOAuthDiscoveryRequest:
      description: FetchCustomOAuthDiscoveryRequest schema
      properties:
        issuer_url:
          type: string
        well_known_url:
          type: string
      required:
      - issuer_url
      - well_known_url
      type: object
    CustomOAuthProviderResponse:
      properties:
        access_denied_message:
          type: string
        access_policy:
          type: string
        auth_style:
          type: integer
        authorization_endpoint:
          type: string
        client_id:
          type: string
        display_name_field:
          type: string
        email_field:
          type: string
        enabled:
          type: boolean
        icon:
          type: string
        id:
          type: integer
        name:
          type: string
        scopes:
          type: string
        slug:
          type: string
        token_endpoint:
          type: string
        user_id_field:
          type: string
        user_info_endpoint:
          type: string
        username_field:
          type: string
        well_known:
          type: string
      required:
      - access_denied_message
      - access_policy
      - auth_style
      - authorization_endpoint
      - client_id
      - display_name_field
      - email_field
      - enabled
      - icon
      - id
      - name
      - scopes
      - slug
      - token_endpoint
      - user_id_field
      - user_info_endpoint
      - username_field
      - well_known
      type: object
    MessageResponse:
      properties:
        message:
          type: string
        success:
          type: boolean
      required:
      - message
      - success
      type: object
    Response_Array-dto.CustomOAuthProviderResponse:
      description: Response_Array-dto.CustomOAuthProviderResponse schema
      properties:
        data:
          items:
            $ref: '#/components/schemas/CustomOAuthProviderResponse'
          type:
          - array
          - 'null'
        message:
          type: string
        success:
          type: boolean
      required:
      - data
      - message
      - success
      type: object
    UpdateCustomOAuthProviderRequest:
      description: UpdateCustomOAuthProviderRequest schema
      properties:
        access_denied_message:
          nullable: true
          type: string
        access_policy:
          nullable: true
          type: string
        auth_style:
          nullable: true
          type: integer
        authorization_endpoint:
          type: string
        client_id:
          type: string
        client_secret:
          type: string
        display_name_field:
          type: string
        email_field:
          type: string
        enabled:
          nullable: true
          type: boolean
        icon:
          nullable: true
          type: string
        name:
          type: string
        scopes:
          type: string
        slug:
          type: string
        token_endpoint:
          type: string
        user_id_field:
          type: string
        user_info_endpoint:
          type: string
        username_field:
          type: string
        well_known:
          nullable: true
          type: string
      required:
      - access_denied_message
      - access_policy
      - auth_style
      - authorization_endpoint
      - client_id
      - client_secret
      - display_name_field
      - email_field
      - enabled
      - icon
      - name
      - scopes
      - slug
      - token_endpoint
      - user_id_field
      - user_info_endpoint
      - username_field
      - well_known
      type: object
    FetchDiscoveryData:
      properties:
        discovery:
          additionalProperties: {}
          type:
          - object
          - 'null'
        well_known_url:
          type: string
      required:
      - discovery
      - well_known_url
      type: object
    Response_dto.FetchDiscoveryData:
      description: Response_dto.FetchDiscoveryData schema
      properties:
        data:
          $ref: '#/components/schemas/FetchDiscoveryData'
        message:
          type: string
        success:
          type: boolean
      required:
      - data
      - message
      - success
      type: object
    Response_dto.CustomOAuthProviderResponse:
      description: Response_dto.CustomOAuthProviderResponse schema
      properties:
        data:
          $ref: '#/components/schemas/CustomOAuthProviderResponse'
        message:
          type: string
        success:
          type: boolean
      required:
      - data
      - message
      - success
      type: object
    CreateCustomOAuthProviderRequest:
      description: CreateCustomOAuthProviderRequest schema
      properties:
        access_denied_message:
          type: string
        access_policy:
          type: string
        auth_style:
          type: integer
        authorization_endpoint:
          type: string
        client_id:
          type: string
        client_secret:
          type: string
        display_name_field:
          type: string
        email_field:
          type: string
        enabled:
          type: boolean
        icon:
          type: string
        name:
          type: string
        scopes:
          type: string
        slug:
          type: string
        token_endpoint:
          type: string
        user_id_field:
          type: string
        user_info_endpoint:
          type: string
        username_field:
          type: string
        well_known:
          type: string
      required:
      - access_denied_message
      - access_policy
      - auth_style
      - authorization_endpoint
      - client_id
      - client_secret
      - display_name_field
      - email_field
      - enabled
      - icon
      - name
      - scopes
      - slug
      - token_endpoint
      - user_id_field
      - user_info_endpoint
      - username_field
      - well_known
      type: object
  securitySchemes:
    accessToken:
      description: System access token for dashboard API routes. Must be paired with New-Api-User header.
      in: header
      name: Authorization
      type: apiKey
    anthropicApiKey:
      description: Anthropic-style API key. Used by /v1/messages and /v1/models.
      in: header
      name: x-api-key
      type: apiKey
    bearerAuth:
      description: API token (sk-...). Used by relay routes (/v1/*) and token-based query endpoints.
      scheme: bearer
      type: http
    newApiUser:
      description: User ID header. Required together with the access token or session cookie for dashboard API routes.
      in: header
      name: New-Api-User
      type: apiKey
    sessionAuth:
      description: Session cookie from /api/user/login. Used by dashboard routes as an alternative to access token.
      in: cookie
      name: session
      type: apiKey