Skip to content
Documentation menu
docs / api / post-oauth-register
Keys and account

POST/oauth/register

Access and price

AuthNo key. Not metered.
PriceNot metered: no quota, no credit.

What it does

Dynamic client registration (RFC 7591). Public clients only: the response carries no client_secret, and any token_endpoint_auth_method other than "none" is refused rather than silently downgraded.

No key. Not metered.

Call it

bash
curl -fsS -X POST "https://api.mapmap.ai/oauth/register" \
  -H "Content-Type: application/json" \
  -d '{"redirect_uris":["string"]}'

Request body

application/json · RegisterClientRequest

FieldTypeRequiredDescription
client_namestringnoDisplay name shown on the consent card.
redirect_urisstring[]yesRedirect URIs this client will use. https anywhere, or http on a loopback address for native/CLI clients.
token_endpoint_auth_methodstringnoMust be "none" when given: this server registers public clients only and issues no client secrets.

Example: A request assembled from this schema's own field examples, enums, defaults and types; not a recorded call

json
{
  "redirect_uris": [
    "string"
  ]
}

Responses

201Client registered
FieldTypeRequiredDescription
client_idstringyesThe issued client id (UUID). There is no client secret.
client_id_issued_atintegeryesUnix timestamp of issuance.
client_namestringyesDisplay name recorded for this client.
grant_typesstring[]yesAlways ["authorization_code","refresh_token"].
redirect_urisstring[]yesThe accepted redirect URIs, echoed.
response_typesstring[]yesAlways ["code"].
token_endpoint_auth_methodstringyesAlways "none", public clients only.

Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call

json
{
  "client_id": "string",
  "client_id_issued_at": 0,
  "client_name": "string",
  "grant_types": [
    "string"
  ],
  "redirect_uris": [
    "string"
  ],
  "response_types": [
    "string"
  ],
  "token_endpoint_auth_method": "string"
}
400No usable redirect URI, or a confidential-client registration

application/problem+json · Problem

413The request declares a body larger than 1048576 bytes (plain text, not problem+json)

text/plain

429Registration velocity exceeded

application/problem+json · Problem

501OAuth not configured on this deployment

application/problem+json · Problem

504The request did not finish within the gateway's request deadline (request-timeout)

application/problem+json · Problem

Error bodies follow the shared problem model documented on API conventions.

Also under Keys and account

Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId register_client