Skip to main content
Never repeated. The API accepts no idempotency key here, so a second send is a second write. Only 429 rate_limit.exceeded is retried.

Example

Parameters

string
required
The iss your identity tokens carry. Matched exactly, so it must be stable across key rotation.
string
required
A public, cacheable JWKS URL Endstate fetches to verify your tokens. HTTPS only.
string
required
The aud your identity tokens carry. Use a value dedicated to Endstate so your other tokens cannot be presented here.

Returns

200 - AuthSettingsResponse.
'endstate' | 'external'
required
external when your own token issuer is registered; endstate when identity is managed by Endstate.
string | null
required
The registered token issuer (iss), or null when unset.
string | null
required
The registered JWKS URL, or null when unset.
string | null
required
The audience (aud) your identity tokens carry, or null when unset.

Errors

Branch on error.code, never on the HTTP status - several codes share one. See Errors and retries for the error types and how to narrow them.