Mocapless Auth API
The auth API from Mocapless — 8 operation(s) for auth.
The auth API from Mocapless — 8 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/mocapless-com:mocapless-com-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: Mocapless Auth API
description: 'Generate character animation from a text prompt, retargeted onto your own
rigged FBX.
Authenticate with a bearer token from `/v1/auth/login`, or with an API key in
the `X-API-Key` header. The usual flow is:
1. `POST /v1/assets` - upload a rigged character (FBX, GLB, GLTF or DAE)
2. `POST /v1/plan` - see what a prompt will produce, and what it will cost
3. `POST /v1/generate` - spend the credits and queue the render
4. `GET /v1/jobs/{id}/events` - stream progress, then download the outputs'
version: 1.0.0
tags:
- name: Auth
paths:
/v1/auth/signup:
post:
tags:
- Auth
summary: Signup
operationId: signup_v1_auth_signup_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SignupRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TokenResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/auth/login:
post:
tags:
- Auth
summary: Login
operationId: login_v1_auth_login_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LoginRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TokenResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/auth/me:
get:
tags:
- Auth
summary: Me
operationId: me_v1_auth_me_get
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/UserResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Auth
summary: Delete Account
description: Delete the account, its characters and its animations. Irreversible.
operationId: delete_account_v1_auth_me_delete
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteAccountRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Delete Account V1 Auth Me Delete
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/auth/google:
get:
tags:
- Auth
summary: Google Config
description: Whether the Google button should render, and with which client id.
operationId: google_config_v1_auth_google_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Google Config V1 Auth Google Get
post:
tags:
- Auth
summary: Google Sign In
description: 'Sign in or sign up with a Google ID token.
One endpoint for both, because from the user''s side there is no difference:
they press the Google button and end up signed in. Which of the three
branches below ran is our bookkeeping, not their concern.'
operationId: google_sign_in_v1_auth_google_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleSignInRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TokenResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/auth/forgot:
post:
tags:
- Auth
summary: Forgot Password
description: 'Send a reset link, if that address has an account.
The response is identical either way. Telling an anonymous caller whether
an address is registered turns this endpoint into an account-enumeration
oracle, which is worth more to an attacker than the reset itself.'
operationId: forgot_password_v1_auth_forgot_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ForgotPasswordRequest'
required: true
responses:
'202':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Forgot Password V1 Auth Forgot Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/auth/reset:
post:
tags:
- Auth
summary: Reset Password
description: Complete a reset and sign the user in on this device only.
operationId: reset_password_v1_auth_reset_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ResetPasswordRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TokenResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/auth/keys:
get:
tags:
- Auth
summary: List Keys
operationId: list_keys_v1_auth_keys_get
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ApiKeyResponse'
title: Response List Keys V1 Auth Keys Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Auth
summary: Create Key
operationId: create_key_v1_auth_keys_post
parameters:
- name: name
in: query
required: false
schema:
type: string
default: default
title: Name
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyCreated'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/auth/keys/{key_id}:
delete:
tags:
- Auth
summary: Revoke Key
operationId: revoke_key_v1_auth_keys__key_id__delete
parameters:
- name: key_id
in: path
required: true
schema:
type: string
title: Key Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
TokenResponse:
properties:
accessToken:
type: string
title: Accesstoken
tokenType:
type: string
title: Tokentype
default: bearer
expiresIn:
type: integer
title: Expiresin
type: object
required:
- accessToken
- expiresIn
title: TokenResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ResetPasswordRequest:
properties:
token:
type: string
title: Token
password:
type: string
maxLength: 200
minLength: 8
title: Password
type: object
required:
- token
- password
title: ResetPasswordRequest
UserResponse:
properties:
id:
type: string
title: Id
email:
type: string
title: Email
displayName:
anyOf:
- type: string
- type: 'null'
title: Displayname
createdAt:
type: string
format: date-time
title: Createdat
credits:
type: integer
title: Credits
plan:
type: string
title: Plan
isAdmin:
type: boolean
title: Isadmin
hasPassword:
type: boolean
title: Haspassword
default: true
hasGoogle:
type: boolean
title: Hasgoogle
default: false
type: object
required:
- id
- email
- displayName
- createdAt
- credits
- plan
- isAdmin
title: UserResponse
ApiKeyCreated:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
prefix:
type: string
title: Prefix
createdAt:
type: string
format: date-time
title: Createdat
lastUsedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Lastusedat
revoked:
type: boolean
title: Revoked
key:
type: string
title: Key
description: Shown once. Store it now.
type: object
required:
- id
- name
- prefix
- createdAt
- lastUsedAt
- revoked
- key
title: ApiKeyCreated
GoogleSignInRequest:
properties:
credential:
type: string
maxLength: 4096
title: Credential
type: object
required:
- credential
title: GoogleSignInRequest
SignupRequest:
properties:
email:
type: string
format: email
title: Email
password:
type: string
maxLength: 200
minLength: 8
title: Password
displayName:
anyOf:
- type: string
maxLength: 120
- type: 'null'
title: Displayname
type: object
required:
- email
- password
title: SignupRequest
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
LoginRequest:
properties:
email:
type: string
format: email
title: Email
password:
type: string
title: Password
type: object
required:
- email
- password
title: LoginRequest
DeleteAccountRequest:
properties:
password:
type: string
title: Password
confirm:
type: string
title: Confirm
description: Must be the word "DELETE".
type: object
required:
- password
- confirm
title: DeleteAccountRequest
ForgotPasswordRequest:
properties:
email:
type: string
format: email
title: Email
type: object
required:
- email
title: ForgotPasswordRequest
ApiKeyResponse:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
prefix:
type: string
title: Prefix
createdAt:
type: string
format: date-time
title: Createdat
lastUsedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Lastusedat
revoked:
type: boolean
title: Revoked
type: object
required:
- id
- name
- prefix
- createdAt
- lastUsedAt
- revoked
title: ApiKeyResponse