Get Organization
Used to retrieve a specific organization's details by its ID.
API Endpoint
| Property | Value |
|---|---|
| Request Method | GET |
| Request URL | https://api.seliseblocks.com/idp/v1/Iam/GetOrganization |
Request
Request Example
curl -X GET 'https://api.seliseblocks.com/idp/v1/Iam/GetOrganization?ProjectKey=YOUR_PROJECT_KEY&ItemId=org_123' \
-H 'x-blocks-key: YOUR_PROJECT_KEY'
Request Headers
| Field | Type | Description |
|---|---|---|
| x-blocks-key | string | Project key for authentication. |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| ProjectKey | string | Yes | The project key for filtering results. |
| ItemId | string | Yes | The unique identifier of the organization to retrieve. |
Response
Success Response
Returns HTTP status 200 OK with organization details.
{
"errors": {},
"isSuccess": true,
"organization": {
"itemId": "org_123",
"createdDate": "2026-01-15T10:30:00Z",
"lastUpdatedDate": "2026-03-20T14:00:00Z",
"createdBy": "admin_user",
"language": "en-US",
"lastUpdatedBy": "admin_user",
"organizationIds": ["org_123", "org_parent"],
"tags": ["enterprise", "active"],
"name": "Acme Corporation",
"isEnable": true
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
| errors | object | Any errors encountered. |
| isSuccess | boolean | Indicates if retrieval was successful. |
| organization | object | Organization details. |
Organization Object Fields
| Field | Type | Description |
|---|---|---|
| itemId | string | Unique organization identifier. |
| createdDate | string(date-time) | Organization creation date. |
| lastUpdatedDate | string(date-time) | Last update date. |
| createdBy | string | User who created the organization. |
| language | string | Organization's preferred language. |
| lastUpdatedBy | string | User who last updated organization. |
| organizationIds | array | List of organization IDs. |
| tags | array | Tags associated with organization. |
| name | string | Organization name. |
| isEnable | boolean | Whether organization is enabled. |