Skip to main content

Get Organization

Used to retrieve a specific organization's details by its ID.

API Endpoint

PropertyValue
Request MethodGET
Request URLhttps://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

FieldTypeDescription
x-blocks-keystringProject key for authentication.

Query Parameters

FieldTypeRequiredDescription
ProjectKeystringYesThe project key for filtering results.
ItemIdstringYesThe 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

FieldTypeDescription
errorsobjectAny errors encountered.
isSuccessbooleanIndicates if retrieval was successful.
organizationobjectOrganization details.

Organization Object Fields

FieldTypeDescription
itemIdstringUnique organization identifier.
createdDatestring(date-time)Organization creation date.
lastUpdatedDatestring(date-time)Last update date.
createdBystringUser who created the organization.
languagestringOrganization's preferred language.
lastUpdatedBystringUser who last updated organization.
organizationIdsarrayList of organization IDs.
tagsarrayTags associated with organization.
namestringOrganization name.
isEnablebooleanWhether organization is enabled.