mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node interacts with the "User Refresh Session" operation of the mittwald mStudio API. It is designed to refresh a user's session by exchanging a provided refresh token for a new access token or session credentials. This is useful in scenarios where user sessions expire and need to be renewed without requiring the user to log in again.

Practical examples include:

  • Automatically refreshing user authentication tokens in workflows that require continuous access.
  • Maintaining active sessions for users in applications integrated with mittwald services.
  • Handling token expiration gracefully in automated processes.

Properties

Name Meaning
Refresh Token The refresh token string used to obtain a new session or access token from the API.

Output

The node outputs JSON data representing the refreshed user session details returned by the mittwald API. This typically includes new access tokens, expiry information, and any other relevant session metadata. The exact structure depends on the API response but generally contains authentication credentials needed for subsequent requests.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the mittwald mStudio API.
  • The node sends requests to the base URL: https://api.mittwald.de.
  • The request content type is JSON, and responses are expected in JSON format.

Troubleshooting

  • Invalid or expired refresh token: If the provided refresh token is invalid or expired, the API will likely return an authentication error. Ensure the token is current and correctly input.
  • Missing or incorrect API credentials: Authentication failures can occur if the API key credential is missing or incorrect. Verify the configured credentials in n8n.
  • Network issues or API downtime: Connectivity problems may cause request failures. Check network connectivity and mittwald API status.
  • Unexpected response format: If the API changes its response schema, the node might not parse the output correctly. Review API documentation for updates.

Links and References

Discussion