zSign OAuth API
The oauth API from zSign — 8 operation(s) for oauth.
The oauth API from zSign — 8 operation(s) for oauth.
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/zsign-io:zsign-io-oauth-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. 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: 3.2.0
info:
title: zSign OAuth API
description: Document Processing and Signing Sessions API
version: 1.0.0
tags:
- name: OAuth
paths:
/oauth/register:
post:
tags:
- OAuth
summary: Register
operationId: register_oauth_register_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RegistrationRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/oauth/authorize:
get:
tags:
- OAuth
summary: Authorize
operationId: authorize_oauth_authorize_get
parameters:
- name: response_type
in: query
required: false
schema:
type: string
default: ''
title: Response Type
- name: client_id
in: query
required: false
schema:
type: string
default: ''
title: Client Id
- name: redirect_uri
in: query
required: false
schema:
type: string
default: ''
title: Redirect Uri
- name: code_challenge
in: query
required: false
schema:
type: string
default: ''
title: Code Challenge
- name: code_challenge_method
in: query
required: false
schema:
type: string
default: ''
title: Code Challenge Method
- name: scope
in: query
required: false
schema:
type: string
default: ''
title: Scope
- name: state
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: State
- name: resource
in: query
required: false
schema:
type: string
default: ''
title: Resource
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/oauth/token:
post:
tags:
- OAuth
summary: Token
operationId: token_oauth_token_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_token_oauth_token_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/oauth/revoke:
post:
tags:
- OAuth
summary: Revoke
description: 'RFC 7009. Always answers 200, even for an unknown, already-revoked,
or someone-else''s token -- this endpoint must never be an oracle a
caller can use to probe whether a token exists.'
operationId: revoke_oauth_revoke_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_revoke_oauth_revoke_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/oauth/consent/{consent_id}:
get:
tags:
- OAuth
summary: Consent Details
description: What the SPA renders on the consent screen.
operationId: consent_details_api_oauth_consent__consent_id__get
security:
- HTTPBearer: []
parameters:
- name: consent_id
in: path
required: true
schema:
type: string
title: Consent Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/oauth/consent/{consent_id}/approve:
post:
tags:
- OAuth
summary: Consent Approve
description: 'The consent_id IS the CSRF token: opaque, server-generated, single-use,
10-minute TTL. The Neon Auth JWT arrives in the Authorization header (not a
cookie), so a forged cross-origin POST cannot attach credentials.'
operationId: consent_approve_api_oauth_consent__consent_id__approve_post
security:
- HTTPBearer: []
parameters:
- name: consent_id
in: path
required: true
schema:
type: string
title: Consent Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/oauth/connections:
get:
tags:
- OAuth
summary: List Connections
description: 'Every third-party client the caller has a live grant for -- an
unrevoked access token OR an unrevoked refresh token. A client that has
revoked only its access token still holds a refresh token it can mint
new access tokens from at any time, so joining on OAuthAccessToken
alone would let it silently disappear from this listing while still
live: the user would believe they''d cut it off when they had not. One
row per client_id regardless of how many tokens of either kind they''re
holding for it (access rows take priority when both exist, since that''s
the more current grant). Scoped to `user.id` from the verified JWT --
never a client-supplied id -- so this can only ever show the caller''s
own connections.'
operationId: list_connections_api_oauth_connections_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/oauth/connections/{client_id}:
delete:
tags:
- OAuth
summary: Revoke Connection
description: 'Revokes every access/refresh token the caller holds for this client.
Scoped to `user.id`, not anything the client supplies, so this can never
touch another user''s grant -- if `client_id` doesn''t belong to the
caller, revoke_grants_for_client''s filter matches zero rows and this is
a silent no-op, same 204 either way (no oracle for client existence).'
operationId: revoke_connection_api_oauth_connections__client_id__delete
security:
- HTTPBearer: []
parameters:
- name: client_id
in: path
required: true
schema:
type: string
title: Client Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
Body_revoke_oauth_revoke_post:
properties:
token:
type: string
title: Token
token_type_hint:
anyOf:
- type: string
- type: 'null'
title: Token Type Hint
client_id:
anyOf:
- type: string
- type: 'null'
title: Client Id
type: object
required:
- token
title: Body_revoke_oauth_revoke_post
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
RegistrationRequest:
properties:
client_name:
anyOf:
- type: string
- type: 'null'
title: Client Name
redirect_uris:
items:
type: string
type: array
title: Redirect Uris
default: []
scope:
anyOf:
- type: string
- type: 'null'
title: Scope
grant_types:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Grant Types
response_types:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Response Types
token_endpoint_auth_method:
anyOf:
- type: string
- type: 'null'
title: Token Endpoint Auth Method
type: object
title: RegistrationRequest
Body_token_oauth_token_post:
properties:
grant_type:
type: string
title: Grant Type
client_id:
type: string
title: Client Id
code:
anyOf:
- type: string
- type: 'null'
title: Code
redirect_uri:
anyOf:
- type: string
- type: 'null'
title: Redirect Uri
code_verifier:
anyOf:
- type: string
- type: 'null'
title: Code Verifier
refresh_token:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
resource:
anyOf:
- type: string
- type: 'null'
title: Resource
type: object
required:
- grant_type
- client_id
title: Body_token_oauth_token_post
securitySchemes:
HTTPBearer:
type: http
scheme: bearer