Actions41
- ── Framework ── Actions
- DataServer (Generic) Actions
- Employees (HR) Actions
- Payroll Actions
- Invoice (Stock) Actions
- Stock Movement Actions
- Accounts Payable/Receivable Actions
- Accounting Entry Actions
- Customers / Suppliers Actions
- Users Actions
- Companies Actions
- Enrollment (Education) Actions
── Framework ── → Get JWT Token
AI-generatedSummary
Authenticate to the TOTVS RM ERP system and retrieve a JWT Bearer token for subsequent authorized API requests.
Inputs
None.
Output shape
a single JSON object containing the JWT access token and token type
The operation uses stored credentials (username, password, baseUrl) to request an access token from the TOTVS RM API's /api/connect/token endpoint. If successful, it returns an object with properties 'access_token' and 'token_type'. The token is cached in-memory for reuse until shortly before expiration to optimize workflow executions.
