Skip to content

Get Institution

Endpoint used to fetch an institution by its ID.

Terminal window
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/institution/id/{institutionId} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"id": "uuid",
"subdomain": "<string>",
"customDomain": null,
"userId": "uuid",
"cnpj": null,
"isActive": true,
"manualPayment": false,
"name": "<string>",
"description": "<string>",
"safetyPlan": false,
"adminId": "uuid",
"customerId": "<string>",
"subscriptionId": "<string>",
"institutionPlan": {
"unitiesLimit": 123,
"botsLimit": 123,
"widgetsLimit": 123,
"knowledgeBasesLimit": 123,
"pluginsLimit": 123,
"vectorsLimit": 123,
"usedVoiceSeconds": "<string>",
"isMagic": true,
"hasMonetizationAddon": true,
"hasAnalyticsAddon": true,
"hasMultiAddon": true,
"hasVoiceAddon": true,
"id": "uuid",
"createdAt": "<string>",
"updatedAt": "<string>",
"institutionId": "uuid"
},
"indexServiceId": "uuid",
"indexService": {
"indexCounter": 123,
"id": "uuid",
"name": "<string>",
"adminKey": "<string>",
"searchKey": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"onboardingForm": {
"id": "uuid",
"userId": "uuid",
"institutionId": "uuid",
"companySize": null,
"department": null,
"role": null,
"version": 123,
"createdAt": "<string>",
"updatedAt": "<string>"
}
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
institutionIdUUIDUnique institution identifier.Yes

KeyTypeDescription
idUUIDUnique identifier of the institution.
subdomainStringSubdomain assigned to the institution on the platform.
customDomainStringCustom domain configured by the client (null if none).
userIdUUIDIdentifier of the account owner user.
cnpjStringNational Registry of Legal Entities of the institution (CNPJ).
isActiveBooleanInstitution account activation status.
manualPaymentBooleanDefines if the payment method is processed manually.
nameStringOfficial name of the institution.
descriptionStringBrief description of the institution and its purpose.
safetyPlanBooleanIndicates if the advanced security plan is active.
adminIdUUIDIdentifier of the main administrator.
customerIdStringCustomer identifier in the payment provider (e.g., Stripe).
subscriptionIdStringIdentifier of the active plan subscription.
institutionPlanObjectObject containing the limits and features of the contracted plan.
institutionPlan.unitiesLimitNumberMaximum limit of allowed organizational units.
institutionPlan.botsLimitNumberMaximum limit of bots that can be created.
institutionPlan.widgetsLimitNumberMaximum limit of configurable widgets.
institutionPlan.knowledgeBasesLimitNumberLimit of allowed knowledge bases (RAG).
institutionPlan.pluginsLimitNumberLimit of integrable plugins.
institutionPlan.vectorsLimitNumberMaximum quantity of vectors (AI data storage).
institutionPlan.isMagicBooleanDefines if advanced automation features are enabled.
institutionPlan.hasVoiceAddonBooleanIndicates if voice support is included in the plan.
indexServiceObjectMetadata of the indexing and data search service.
indexService.indexCounterNumberCounter of indices processed by the service.
indexService.adminKeyStringAdministrative key for managing the search service.
indexService.searchKeyStringPublic key for performing search queries.
onboardingFormObjectData collected during the user onboarding process.
onboardingForm.companySizeStringCompany size informed during onboarding.
onboardingForm.departmentStringDepartment of the user responsible for the account.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.

To access your access token, follow these steps:

  1. Log in to the ToolzzAI platform
  2. Click on “Settings”
  3. Click on “Access Token”
  4. Copy the access token

Access token page