POST/auth/connections/{id}/exchange

Validates 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"}