Monad API
Properties for Variant 1:stringstringinteger
Sessions
Short-lived session token endpoints
Mint a short-lived API token, optionally scoped to a single org
POST
https://app.monad.com/api
/v3/sessions
x-api-key (header)
Creates a short-lived JWT off the calling API key. When
organization_id is supplied, the token is pinned to that
org via a scoped_org claim and the org-access middleware
refuses any other org for this token. No new API key row
is created — revoking the parent key invalidates every
session it minted.
Mint a short-lived API token, optionally scoped to a single org › Request Body
oneOf
Exactly one variant must match.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object |
Mint a short-lived API token, optionally scoped to a single org › Responses
Session minted
expires_atExpiresAt is the token expiry as an RFC 3339 timestamp.
session_tokenSessionToken is the minted short-lived JWT. Send it as a Bearer token.
ttl_secondsTTLSeconds is the effective lifetime applied after clamping.