Get the session bootstrap
GET
Returns the signed-in user's plan, role and feature access, which the admin console uses to decide which modules to show.
BearerAuthheader
AuthorizationBearer <JWT>OK
*/*- response
status*stringOutcome of the request: SUCCESS when it worked; errors return an error status with the reason in message.
message*stringShort human-readable message describing the outcome.
data?The signed-in user, their role, the merchant's plan and the features they can use.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/management/session/bootstrap'Example Response
{ "status": "string", "message": "string", "data": { "tenant": "string", "user": { "userId": 0, "username": "string", "firstName": "string", "lastName": "string", "email": "string" }, "role": { "roleId": 0, "roleKey": "string", "roleName": "string" }, "plan": { "tier": "FREE", "registerLimit": 0 }, "featureAccess": { "allowedFeatures": [ { "code": "string", "name": "string", "description": "string", "category": "string" } ], "assignedFeatureCodes": [ "string" ] } }}