OUTCOME · Create or advance
What changes
Creates or advances only the refresh session resource described by this contract after authorization, validation, policy, and idempotency gates pass.
Identity sessions and federation
/api/v2/auth/session-refreshesPurpose and usage
Rotate a single-use refresh credential and issue the next V2 credential pair.
When to use it
Call this when an identity, compliance, relying-party, or trust agent workflow needs to apply the documented refresh session transition after re-reading the current authoritative state so it can make a purpose-limited identity or assurance decision with current policy and lifecycle state.
OUTCOME · Create or advance
Creates or advances only the refresh session resource described by this contract after authorization, validation, policy, and idempotency gates pass.
WHY IT MATTERS
ISOLATION + AUTHORITY
Bearer subject, tenant, purpose, policy version, role, issuer, reviewer, provider, and relying-party boundaries remain distinct. The response or transition grants no payment, custody, settlement, publisher, matching, or trading authority and must not expose regulated evidence beyond the live schema.
BEFORE YOU CALL
WHAT TO DO NEXT
AGENT GUIDANCE
Use the deployed OpenAPI for exact parameters, schemas and security requirements. The tables below provide integration guidance.
Open this operation in OpenAPIRequest and response
Examples illustrate integration intent; the referenced OpenAPI operation and component schemas define the executable shape.
PARAMETERS
refresh_tokenbodyRequiredhcmr_ opaque credentialCurrent single-use refresh credential.
REQUEST
{
"refresh_token": "hcmr_…"
}STABLE ERROR CODES
These codes are published by the authoritative gateway contract for this endpoint. Treat message as safe diagnostic text; integrations should branch on code and HTTP status.
invalid_jsonThe JSON body is malformed or fails the published identity-security schema.invalid_security_requestThe session, scope, public key, proof, or purpose-bound security request is invalid.invalid_credentialsThe bearer, client assertion, or proof-of-possession credential is invalid.step_up_requiredFresh purpose-bound authenticator verification or stronger authority is required.signing_key_not_foundThe requested signing-key or workload-client resource was not found.security_conflictThe requested identity-security transition conflicts with current state.identity_security_unavailableThe authoritative Identity security service is temporarily unavailable.RESPONSES
{
"data": {
"access_token": "hcm_…",
"refresh_token": "hcmr_…",
"token_type": "Bearer",
"expires_in": 900,
"refresh_expires_in": 2500000,
"client_id": "client-01",
"session_id": "9b51ed4c9c8f4aec85d1bd5520e40557",
"scopes": [
"profile:read"
]
}
}{
"code": "invalid_session_credential",
"message": "The refresh credential is invalid, expired, reused, or revoked."
}invalid_session_credential{
"code": "identity_unavailable",
"message": "Identity session management is unavailable."
}identity_unavailableOPERATIONAL NOTES
This route is implemented in canonical gateway source and appears in the production OpenAPI snapshot observed 2026-10-02T23:27:55.510Z. Authentication, tenant, feature, venue, and market policy still apply.
Verify the exact production OpenAPI operation Return to the V2 directory