Pingwa Auth API
The Auth API from Pingwa — 7 operation(s) for auth.
The Auth API from Pingwa — 7 operation(s) for auth.
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-auth-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 Auth API
version: 0.1.0
tags:
- name: Auth
paths:
/v1/auth/signup:
post:
summary: Signup
operationId: signup_v1_auth_signup_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SignupIn'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Signup V1 Auth Signup Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Auth
/v1/auth/login:
post:
summary: Login
operationId: login_v1_auth_login_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LoginIn'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Login V1 Auth Login Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Auth
/v1/auth/password:
post:
summary: Set Password
operationId: set_password_v1_auth_password_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PasswordIn'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Set Password V1 Auth Password Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Auth
/v1/auth/oauth/providers:
get:
summary: Providers
operationId: providers_v1_auth_oauth_providers_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Providers V1 Auth Oauth Providers Get
tags:
- Auth
/v1/auth/oauth/link-intent:
post:
summary: Link Intent
description: 'Mint a short-lived signed token carrying the caller''s user_id, so the panel
can start an OAuth flow that LINKS to this account (the browser can''t carry the
Bearer header through the provider redirect). Consumed by /start?link=.'
operationId: link_intent_v1_auth_oauth_link_intent_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Link Intent V1 Auth Oauth Link Intent Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Auth
/v1/auth/oauth/{provider}/start:
get:
summary: Start
operationId: start_v1_auth_oauth__provider__start_get
parameters:
- name: provider
in: path
required: true
schema:
type: string
title: Provider
- name: link
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Link
- name: as
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: As
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Auth
/v1/auth/oauth/{provider}/callback:
get:
summary: Callback
operationId: callback_v1_auth_oauth__provider__callback_get
parameters:
- name: provider
in: path
required: true
schema:
type: string
title: Provider
- name: code
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Code
- name: state
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: State
- name: error
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Error
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Auth
components:
schemas:
LoginIn:
properties:
identifier:
type: string
title: Identifier
password:
type: string
maxLength: 128
title: Password
type: object
required:
- identifier
- password
title: LoginIn
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
SignupIn:
properties:
password:
type: string
maxLength: 128
minLength: 8
title: Password
email:
anyOf:
- type: string
maxLength: 255
- type: 'null'
title: Email
phone_e164:
anyOf:
- type: string
- type: 'null'
title: Phone E164
type: object
required:
- password
title: SignupIn
PasswordIn:
properties:
password:
type: string
maxLength: 128
minLength: 8
title: Password
current_password:
anyOf:
- type: string
maxLength: 128
- type: 'null'
title: Current Password
email:
anyOf:
- type: string
maxLength: 255
- type: 'null'
title: Email
type: object
required:
- password
title: PasswordIn
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