GymControl icon

GymControl

Handle your GymControl instance

Actions91

User → Get

AI-generated

Overview

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

Discussion