Actions7
- Credits Actions
- Users Actions
- Subscriptions Actions
Users → Get User
AI-generatedSummary
Retrieve detailed information about a user by their user ID from the Middleware service.
Inputs
- Authentication — Select the authentication method to use: 'None' to use a custom Base URL without credentials, or 'Credentials' to use stored credentials.
- Base URL — The base URL of your middleware service; used only if authentication is set to 'None'.
- User ID (required) — The unique identifier of the user whose information you want to retrieve.
Output shape
a JSON object containing the user details for the specified User ID
The operation sends a GET request to the '/api/users/{userId}' endpoint of the Middleware service. Authentication selection affects how the request is authorized. If the request fails, error details are returned. The output is a JSON array with the user data or an error object per item processed.
Examples
Example 1: Retrieve user info with no authentication
Set Authentication to 'None', provide the Base URL and User ID.
Example 2: Retrieve user info using stored credentials
Set Authentication to 'Credentials' and provide the User ID; Base URL is taken from credentials.