Actions91
- Account Setting Actions
- Addon Actions
- Ceiling Actions
- Company Info Actions
- Device Actions
- Exercise Actions
- Feedback Actions
- File Actions
- File Type Actions
- Gender Actions
- Guest Actions
- License Actions
- Log Actions
- Payment Actions
- Permission Actions
- Relationship Actions
- Role Actions
- Service Actions
- Service Price Actions
- Social Actions
- Topic Actions
- User Actions
- Workout Execution Actions
- Worksheet Actions
User → Get
AI-generatedOverview
This node integrates with the GymControl API to manage and retrieve data related to a gym management system. Specifically, the "User" resource with the "Get" operation allows you to fetch detailed information about a specific user by their ID. This is useful in scenarios where you need to access user profiles, such as retrieving member details for personalized communication, membership verification, or administrative purposes.
Practical examples include:
- Fetching a user's profile to display their membership status in a dashboard.
- Retrieving user details before updating records or assigning roles.
- Integrating user data into other workflows like sending notifications or generating reports.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | When enabled, returns the full API response without filtering or modification. |
| ID | The unique identifier of the user to retrieve. This is a required field for the operation. |
Output
The node outputs JSON data representing the user object retrieved from the GymControl API. The structure typically includes user details such as name, last name, role, and other profile-related fields as provided by the API.
If "Show Complete Response" is enabled, the output will contain the entire raw response from the API, which may include additional metadata or nested objects beyond the basic user information.
The node does not output binary data.
Dependencies
- Requires an API key credential for authenticating requests to the GymControl API.
- The base URL for the API is configured via credentials.
- The node uses HTTP GET requests to fetch user data from the endpoint
/users/{id}.
Troubleshooting
- Missing or invalid ID: The operation requires a valid user ID. Ensure the ID is correctly provided; otherwise, the API will return an error.
- Authentication errors: If the API key is missing, invalid, or expired, the node will fail to authenticate. Verify that the API key credential is correctly set up.
- Network issues: Connectivity problems or incorrect base URL configuration can cause request failures.
- Unexpected API responses: If the API changes or returns unexpected data structures, enabling "Show Complete Response" can help debug by showing the full response.
Links and References
- GymControl API Documentation (hypothetical link)
- n8n documentation on HTTP Request Node for understanding underlying HTTP calls