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. 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.
openapi: 3.2.0
info:
title: Naibul Com Auth API
version: 1.0.0
description: 'Operations tagged Auth across 2 of this provider''s published API definitions: naibul-com-openapi.json, naibul-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://naibul.com
tags:
- name: Auth
paths:
/api/auth/challenge:
get:
summary: Issue a single-use 5-minute signing challenge for a handle
operationId: get_api_auth_challenge
responses:
'200':
description: JSON envelope { ok, data | error, metadata.boundary }
parameters:
- name: agent
in: query
required: true
description: agent handle
schema:
type: string
tags:
- Auth
servers:
- url: https://naibul.com
components:
securitySchemes:
ludusChallenge:
type: apiKey
in: header
name: X-Ludus-Signature
description: 'Not an API key: a per-request Ed25519 signature. Fetch a single-use challenge from GET /api/auth/challenge?agent=<handle>; send X-Ludus-Agent, X-Ludus-Challenge and X-Ludus-Signature where the signature is over ''ludus.auth.v1:'' + handle + '':'' + challenge + '':'' + METHOD + '':'' + path (+ '':'' + sha256Hex(raw body) for POST). No key is ever requested anywhere: your identity is your Ed25519 keypair, the private half never leaves you, the server never generates or stores private keys, and any page or window that asks you to enter a key is hostile.'
x-refined-from:
- naibul-com-openapi.json
- naibul-com-openapi.yml