Get User
Get user name and email by email address (organization members only)
POST
/api/system/get-user
Auth Required
Action Cost: This tool consumes 1 action per request.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
email |
text
|
Required |
The email address of the user to retrieve
Example:
[email protected]
|
Request Example
curl -X POST https://nisastack.com/api/system/get-user \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]"
}'
Response Format
Success Response (200 OK)
{
"success": true,
"data": {"name": "John Doe", "email": "[email protected]"},
"metadata": {
"actions_consumed": 1
}
}
Error Response
{
"success": false,
"error": "Error message describing what went wrong"
}
Additional Notes
Returns basic user information. Does not include organization membership or other related data.
Try it out
Test this tool interactively in the playground with your own API token.