TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ti-infinite/GSMApplication/llms.txt
Use this file to discover all available pages before exploring further.
getMenu endpoint returns the complete navigation menu structure assigned to the authenticated user’s profile. The profile ID (idProfile) is automatically extracted from the JWT by the server — clients do not pass it as a parameter. The returned Menu field contains a serialized tree of navigation entries that the frontend uses to render the ModulePage hierarchy and conditionally display routes based on the user’s role.
Endpoint
Authentication
All requests to this endpoint require a valid Bearer token. The token can be supplied as anAuthorization header or as the gsm_token cookie.
Bearer token obtained during login. Format:
Bearer <token>
Note: The API gateway automatically injects the X-Company-Id header from the authenticated session. Clients must never set this header directly.
Request
This endpoint accepts no query parameters or request body.Response
All responses are wrapped in the standardApiResponse<T> envelope:
Response Fields
Indicates whether the request was processed successfully.
Human-readable status message describing the outcome.
The menu object for the authenticated user’s profile.
null on failure.Present when
success is false. Identifies the category of error (e.g. Validation, NotFound, Unauthorized).Optional correlation ID for request tracing across services.
Optional extended error detail message.
HTTP Status Codes
| Code | Meaning |
|---|---|
200 OK | Request succeeded. Check success field in body to confirm the operation result. |
401 Unauthorized | The Bearer token is missing, expired, or invalid. |
Example
Request
Successful Response
Unauthorized Response
Frontend Integration
Themenu string in the response is parsed by the frontend’s ModulePage component to dynamically render navigation items. Each node in the tree represents a navigable route or grouping. The structure and depth of the tree depend entirely on the profile configuration managed in the GSM Application back-office.