POST
/auth/connections/{id}/exchangeValidates the handoff code and returns a JWT token for subsequent requests. Used by the hosted login UI.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Auth connection ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request to exchange handoff code for JWT
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/auth/connections/string/exchange" \ -H "Content-Type: application/json" \ -d '{ "code": "string" }'{ "invocation_id": "string", "jwt": "string"}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}Get auth connection event timeline GET
Returns a chronological timeline of events for an auth connection — login attempts, automatic re-auth attempts, and health checks. Events are returned newest-first.
List credentials GET
List credentials in the resolved project. Credential values are not returned.