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