Regular - Get User Profile
With this API, you send an access token to the Gateway, which derives the user account and forwards it to your backend service. Your backend can optionally filter or validate the user data before returning it to the client through the Gateway.
Before reading this Get Profile API reference, we recommend reviewing the Regular - General Flow API reference first, as the Get Profile API is a specific use case of the general flow.
Prerequisites
- Before calling this API, ensure you have created and activated a Tenant whose
appIdmatches theApp-Idheader of this request. The correctappIdvalue can be retrieved from theTenantResourcereturned by the Dashboard API. - You must also have created and activated a
REGULARtype Route whoseappRouteIdmatches theApp-Route-Idheader, and whose HTTPmethodandpathmatch those of this request. The correctappRouteIdvalue can be retrieved from theRouteResourcereturned by the Dashboard API.
Base URL
https://your-gateway-host
Required Headers
App-Id: app-xxxxxxxx
App-Key: key-xxxxxxxx
App-Route-Id: route-xxxxxxxx
Authorization: Bearer YOUR_ACCESS_TOKEN
Method and Path
Use the HTTP method and path specified in the activeConfig field of the Route.
Important Route Configuration
Please see the Regular - General Flow API for more details.
-
RouteConfig.auth.isRequired = true -
RouteConfig.forwardUser = true
Response
The Gateway forwards the user details from the backend service directly to the client.
Your backend can optionally filter or validate the user data before returning it.
Request Flow

Updated about 1 month ago