Toolzz AI
- Introduction
- Planos
- ChatService
- Auth
- Institution
- Unity
- Bot
- Widget
- GenAI
- Fallback
- Member
- Function
- Credential
- KnowledgeBase
- Voice
- Audio
- Toolzz Analytics
- Kratos
Get Credential By Unity
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/credential/unity/{id} \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "<string>",
"name": "<string>",
"userId": "<string>",
"unityId": "<string>",
"integrationId": "<string>",
"secretId": "<string>",
"status": true,
"virtualKey": "<string>",
"credentials": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"integration": {
"id": "<string>",
"name": "<string>",
"iconId": "<string>",
"type": "<string>",
"status": true,
"validationEndpoint": "<string>",
"slug": "<string>",
"form": [
{
"name": "<string>",
"label": "<string>",
"type": "<string>",
"maxLength": 123,
"required": true,
"description": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"icon": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"institutionId": "<string>",
"type": "<string>",
"fileName": "<string>",
"internalStorageUrl": "<string>",
"url": "<string>",
"size": 123,
"extension": "<string>",
"maskName": "<string>"
}
}
}
]
}
Body Description
The ID of Unity
Response Description
Below you will see the description of the Get all Credential in Unity response
List of credentials and their associated integrations.
Unique identifier for the credential.
Name of the credential.
User ID associated with the credential.
Unity ID associated with the credential.
Integration ID for the credential.
Secret ID for the credential.
Indicates if the credential is active.
Virtual key for the credential (optional).
Additional nested credentials (if any).
Creation timestamp of the credential.
Last updated timestamp of the credential.
Associated integration details.
Unique identifier of the integration.
Name of the integration.
ID of the associated icon (optional).
Type of the integration (e.g., monetization, analytics).
Indicates if the integration is active.
Endpoint for validation (optional).
Slug for the integration (optional).
Form fields required for the integration.
Name of the form field.
Label for the form field.
Type of the form field (e.g., text, string).
Maximum allowed length for the field.
Indicates if the field is mandatory.
Description of the form field (optional).
Creation timestamp of the integration.
Last updated timestamp of the integration (optional).
Icon associated with the integration.
Unique identifier for the icon.
Creation timestamp of the icon.
Last updated timestamp of the icon (optional).
Institution ID associated with the icon.
Type of the icon (e.g., WidgetAvatarIcon).
Name of the file.
Internal storage URL for the icon.
Public URL for the icon.
Size of the icon file in bytes.
File extension of the icon (e.g., png).
Mask name for the icon.
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/credential/unity/{id} \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "<string>",
"name": "<string>",
"userId": "<string>",
"unityId": "<string>",
"integrationId": "<string>",
"secretId": "<string>",
"status": true,
"virtualKey": "<string>",
"credentials": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"integration": {
"id": "<string>",
"name": "<string>",
"iconId": "<string>",
"type": "<string>",
"status": true,
"validationEndpoint": "<string>",
"slug": "<string>",
"form": [
{
"name": "<string>",
"label": "<string>",
"type": "<string>",
"maxLength": 123,
"required": true,
"description": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"icon": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"institutionId": "<string>",
"type": "<string>",
"fileName": "<string>",
"internalStorageUrl": "<string>",
"url": "<string>",
"size": 123,
"extension": "<string>",
"maskName": "<string>"
}
}
}
]
}