/
Get pre-auth token by use...
Generates a short-lived pre-auth token for the specified user.
Parameters: The {id} path parameter is the user's unique identifier (UUID).
Flow: The returned token is used to establish a user session via GET /users/preauth-token/{preauthToken}.
Requirements: The user must be active.
Expiration: The token is valid for 30 seconds.
Security
directToken
- Production Server URLhttps://efx-wgt.stitchcredit.com/api/direct/preauth-token/{id}
- Development Server URLhttps://efx-dev.stitchcredit.com/api/direct/preauth-token/{id}
curl -i -X GET \
'https://efx-wgt.stitchcredit.com/api/direct/preauth-token/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
Preauth Token
{ "token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0In0.preauth", "userId": "550e8400-e29b-41d4-a716-446655440000" }