ConfigHub O Auth Client API
The OAuthClient API from ConfigHub — 2 operation(s) for oauthclient.
The OAuthClient API from ConfigHub — 2 operation(s) for oauthclient.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/confighub:confighub-oauthclient-api"
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.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Confighub O Auth Client API
version: 0.1.0
contact:
name: ConfigHub Support
url: https://confighub.com/
email: hello@confighub.com
license:
name: N/A
url: https://confighub.com/TBD
termsOfService: TBD
description: 'Operations tagged OAuthClient across 2 of this provider''s published API definitions: openapi.json, confighub-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://hub.confighub.com/api
description: production
security:
- bearerAuth: []
tags:
- name: OAuthClient
paths:
/oauth_client:
get:
tags:
- OAuthClient
summary: List OAuth clients
description: List the OAuth clients owned by the caller's organization.
operationId: ListOAuthClients
responses:
default:
description: Unexpected error.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/OAuthClient'
'400':
description: OAuthClient request is invalid (Bad Request).
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'401':
description: Unauthorized access.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'403':
description: Forbidden access.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'404':
description: OAuthClient not found.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'500':
description: Something went wrong while processing OAuthClient.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
post:
tags:
- OAuthClient
summary: Register an OAuth client
description: Register a per-app OAuth public client for the caller's organization (RFC 7591).
operationId: CreateOAuthClient
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OAuthClient'
responses:
default:
description: Unexpected error.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'200':
description: A per-app OAuth public client used by a browser app to authenticate against the ConfigHub API.
content:
application/json:
schema:
$ref: '#/components/schemas/OAuthClient'
'400':
description: OAuthClient request is invalid (Bad Request).
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'401':
description: Unauthorized access.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'403':
description: Forbidden access.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'404':
description: OAuthClient not found.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'409':
description: OAuthClient data conflict. Data has changed since last read.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'500':
description: Something went wrong while processing OAuthClient.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
servers:
- url: https://hub.confighub.com/api
description: production
/oauth_client/{oauth_client}:
delete:
tags:
- OAuthClient
summary: Delete an OAuth client
description: Delete an OAuth client owned by the caller's organization.
operationId: DeleteOAuthClient
parameters:
- name: oauth_client
in: path
description: The OAuth client_id addressing a single registered app.
required: true
schema:
type: string
responses:
default:
description: Unexpected error.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'200':
description: Response for successful delete operation
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteResponse'
'400':
description: OAuthClient request is invalid (Bad Request).
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'401':
description: Unauthorized access.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'403':
description: Forbidden access.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'404':
description: OAuthClient not found.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'409':
description: 'OAuthClient is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read.'
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'422':
description: OAuthClient could not be deleted.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'500':
description: Something went wrong while processing OAuthClient.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
get:
tags:
- OAuthClient
summary: Get an OAuth client
description: Get a single OAuth client owned by the caller's organization.
operationId: GetOAuthClient
parameters:
- name: oauth_client
in: path
description: The OAuth client_id addressing a single registered app.
required: true
schema:
type: string
responses:
default:
description: Unexpected error.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'200':
description: A per-app OAuth public client used by a browser app to authenticate against the ConfigHub API.
content:
application/json:
schema:
$ref: '#/components/schemas/OAuthClient'
'400':
description: OAuthClient request is invalid (Bad Request).
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'401':
description: Unauthorized access.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'403':
description: Forbidden access.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'404':
description: OAuthClient not found.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
'500':
description: Something went wrong while processing OAuthClient.
content:
application/json:
schema:
$ref: '#/components/schemas/StandardErrorResponse'
servers:
- url: https://hub.confighub.com/api
description: production
components:
schemas:
OAuthClient:
type: object
properties:
AllowAllOrgs:
type: boolean
description: Allow members of any organization to use the app (each gets their own org's session) instead of only the owning org. Permitted only for trusted organizations.
x-go-type-skip-optional-pointer: true
ClientID:
type: string
description: Generated OAuth client_id used at login and to address this client in the API.
readOnly: true
x-go-type-skip-optional-pointer: true
Name:
type: string
description: Human-friendly name for the app.
x-go-type-skip-optional-pointer: true
OrganizationID:
type: string
description: External identifier of the owning organization.
readOnly: true
x-go-type-skip-optional-pointer: true
RedirectURIs:
type:
- array
- 'null'
items:
type: string
description: Exact redirect URIs permitted for the app's login (no wildcards).
x-go-type-skip-optional-pointer: true
description: A per-app OAuth public client used by a browser app to authenticate against the ConfigHub API.
ErrorMetadata:
type: object
properties:
EntityID:
type: string
description: Optional ID of the entity this error relates to
x-go-type-skip-optional-pointer: true
EntitySlug:
type: string
description: Optional slug of the entity this error relates to
x-go-type-skip-optional-pointer: true
EntityType:
type: string
description: Optional type of the entity this error relates to
x-go-type-skip-optional-pointer: true
Items:
type: array
items:
$ref: '#/components/schemas/ErrorItem'
description: Collection of error details
x-go-type-skip-optional-pointer: true
ErrorItem:
type: object
properties:
Description:
type: string
description: A clear explanation of what went wrong
x-go-type-skip-optional-pointer: true
Item:
type: string
description: The name of the field, resource, or entity that the error relates to
x-go-type-skip-optional-pointer: true
ResponseError:
type: object
properties:
Details:
type: array
items:
type: string
description: Additional context messages
x-go-type-skip-optional-pointer: true
ErrorMetadata:
allOf:
- $ref: '#/components/schemas/ErrorMetadata'
description: Structured error details like field violations
Message:
type: string
description: The primary error message
x-go-type-skip-optional-pointer: true
Status:
type: integer
description: HTTP status code
x-go-type-skip-optional-pointer: true
Type:
type: string
description: 'The category of the error, as a code: UserInput, Validation, Data, Authentication, Permission, NotFound, Conflict, AlreadyExists, Unprocessable, Locked, PreconditionFailed, TooManyRequests, Unexpected, GatewayTimeout, or ServiceUnavailable'
x-go-type-skip-optional-pointer: true
DeleteResponse:
type: object
properties:
Error:
allOf:
- $ref: '#/components/schemas/ResponseError'
description: Error information if the delete operation failed.
Message:
type: string
description: Response message.
x-go-type-skip-optional-pointer: true
description: Response for successful delete operation
StandardErrorResponse:
type: object
properties:
Error:
allOf:
- $ref: '#/components/schemas/ResponseError'
description: 'The error: its message, category (Type), HTTP status, details, and structured items.'
message:
type: string
description: 'The error as one string: its message, with any details, items, and individual errors appended. Kept for clients written before Error; new clients read Error.'
x-go-type-skip-optional-pointer: true
description: 'The body of an error response: the error as data (Error), and as one string (message) for clients written before Error.'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Bearer authentication
x-refined-from:
- openapi.json
- confighub-openapi.json