pricklymails-com · Schema
LoginResponse
Response returned by the login endpoint. The body is either a full authentication response or, when two-factor authentication is required, a `{ requires_2fa, temp_token }` object.
Email VerificationSoftware-as-a-ServiceData ValidationEU-hosted
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/pricklymails-com/json-schema/pricklymails-com-login-response-schema.json",
"title": "LoginResponse",
"description": "Response returned by the login endpoint.\n\nThe body is either a full authentication response or, when two-factor authentication is required, a\n`{ requires_2fa, temp_token }` object.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/pricklymails-com-auth-api-openapi.yml#/components/schemas/LoginResponse",
"oneOf": [
{
"$ref": "#/$defs/AuthResponse",
"description": "Standard authentication response (no 2FA required)."
},
{
"type": "object",
"description": "2FA is required; the client must call `/api/auth/2fa/verify` with the temp token.",
"required": [
"requires_2fa",
"temp_token"
],
"properties": {
"requires_2fa": {
"type": "boolean",
"description": "Always `true` when this variant is returned."
},
"temp_token": {
"type": "string",
"description": "A short-lived token to send to `POST /api/auth/2fa/verify` with the code."
}
}
}
],
"$defs": {
"AuthResponse": {
"type": "object",
"description": "Response body for authentication endpoints.\n\nThe refresh token is delivered in an httpOnly cookie, never in the JSON body.",
"required": [
"access_token",
"expires_in",
"user"
],
"properties": {
"access_token": {
"type": "string",
"description": "Access token (JWT), sent as a Bearer credential."
},
"expires_in": {
"type": "integer",
"format": "int64",
"description": "Access token lifetime in seconds.",
"minimum": 0
},
"user": {
"$ref": "#/$defs/UserResponse",
"description": "Authenticated user details."
}
}
},
"UserResponse": {
"type": "object",
"description": "Public representation of a user.",
"required": [
"uuid",
"email",
"role",
"email_verified",
"locale",
"created_at"
],
"properties": {
"created_at": {
"type": "string",
"description": "Account creation timestamp (ISO 8601)."
},
"email": {
"type": "string",
"description": "Email address."
},
"email_verified": {
"type": "boolean",
"description": "Whether the email has been verified."
},
"locale": {
"type": "string",
"description": "Language of the account's emails (`\"en\"` or `\"fr\"`)."
},
"role": {
"type": "string",
"description": "User role (`\"user\"` or `\"admin\"`)."
},
"uuid": {
"type": "string",
"description": "Public UUID."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pricklymails-com-login-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.