auth
Get subaccount access token
This endpoint allows user to receive access token of another user that can be used to impersonate their account and access luma services. It can only be invoked by an access token with apiUser role, generated with a client_id and a client_secret via POST /api/v2/auth/token.
put/auth/token/{userId}
Request
- Base URLhttps://api.lumahealth.io/api/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdstring required
The user id for which an impersonated token will be returned.
Request body
Response
Returns a JWT token that can be used as a Bearer token.
Changes
No recorded changes to this operation across all 6 revisions of this API.