/v1/user/my-profile
GET/v1/user/my-profile
This endpoint will allow for retrieval of RxVantage profile based on the userid associated with the JWT token. The flow would be that a api connection credential and login as a user into RxVantage. Part of the return of that login will be the JWT that would include the user id, The token will look like the following. We want to be able to lookup the profile of the x-hasura-id based on the token passed into the route user/rep/my-profile
{ "sub": "139861", "iss": "https://rxvantage.com/", "exp": 1746662129, "id": 139861, "created": 1746575729, "hasura": { "x-hasura-allowed-roles": [ "machine_user" ], "x-hasura-default-role": "machine_user", "x-hasura-user-id": "139861", "x-hasura-external-app-id": "2", "x-hasura-external-app-key": "27da0de3-c5dc-4444-88c8-7f0a174d048f" }, "iat": 1746575729 }
Responses
- 200
- 400
- 401
- 422
- 429
Default Response
Default Response
Default Response
Default Response
Default Response