Pingwa OAuth API
The Oauth API from Pingwa — 6 operation(s) for oauth.
The Oauth API from Pingwa — 6 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/pingwa-dev:pingwa-dev-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: pingwa OAuth API
version: 0.1.0
tags:
- name: OAuth
paths:
/oauth/authorize:
get:
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: state
in: query
required: false
schema:
type: string
default: ''
title: State
- 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
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/authorize/social/{provider}:
get:
summary: Authorize Social
operationId: authorize_social_oauth_authorize_social__provider__get
parameters:
- name: provider
in: path
required: true
schema:
type: string
title: Provider
- 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: state
in: query
required: false
schema:
type: string
default: ''
title: State
- 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
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/token:
post:
summary: Token
description: 'authorization_code (PKCE S256, every client) and, for an app client (Zapier,
Make: oauth_as.Client.refresh), refresh_token. A confidential client (Zapier) sends
client_secret in the form body on both.'
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:
additionalProperties: true
type: object
title: Response Token Oauth Token Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/authorize/direct:
post:
summary: Authorize Direct
description: 'No-Google path: verify a WhatsApp number directly in the browser. Creates a
standalone pending registration (no account yet) and shows the verify page. The
number that sends the code becomes a brand-new standalone account
(webhooks._handle_verify), then verify-complete issues the OAuth code for it — same
machinery as the WhatsApp `join` onboarding, ending in a token instead of a key.'
operationId: authorize_direct_oauth_authorize_direct_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_authorize_direct_oauth_authorize_direct_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/authorize/select:
post:
summary: Select Number
operationId: select_number_oauth_authorize_select_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_select_number_oauth_authorize_select_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/authorize/verify-complete:
post:
summary: Verify Complete
operationId: verify_complete_oauth_authorize_verify_complete_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_verify_complete_oauth_authorize_verify_complete_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
Body_select_number_oauth_authorize_select_post:
properties:
sp:
type: string
title: Sp
csrf:
type: string
title: Csrf
choice:
type: string
title: Choice
type: object
required:
- sp
- csrf
- choice
title: Body_select_number_oauth_authorize_select_post
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
Body_verify_complete_oauth_authorize_verify_complete_post:
properties:
vp:
type: string
title: Vp
type: object
required:
- vp
title: Body_verify_complete_oauth_authorize_verify_complete_post
Body_authorize_direct_oauth_authorize_direct_post:
properties:
client_id:
type: string
title: Client Id
redirect_uri:
type: string
title: Redirect Uri
state:
type: string
title: State
default: ''
code_challenge:
type: string
title: Code Challenge
code_challenge_method:
type: string
title: Code Challenge Method
type: object
required:
- client_id
- redirect_uri
- code_challenge
- code_challenge_method
title: Body_authorize_direct_oauth_authorize_direct_post
Body_token_oauth_token_post:
properties:
grant_type:
type: string
title: Grant Type
client_id:
type: string
title: Client Id
code:
type: string
title: Code
default: ''
redirect_uri:
type: string
title: Redirect Uri
default: ''
code_verifier:
type: string
title: Code Verifier
default: ''
refresh_token:
type: string
title: Refresh Token
default: ''
client_secret:
anyOf:
- type: string
- type: 'null'
title: Client Secret
type: object
required:
- grant_type
- client_id
title: Body_token_oauth_token_post