curl --request POST \
--url https://apps-studio.thena.ai/apps/install \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"teamIds": [
"TGCA9557W4",
"TGCA9557W5"
],
"appId": "9FKHF3KJ10JQTR2YJ6QW1QZTHBZ85",
"appConfiguration": {
"required_settings": [
"check the app manifest for required_settings schema"
],
"optional_settings": [
"check the app manifest for optional_settings schema"
]
}
}'
{
"appName": "Thena.ai",
"botSub": "OGGA0557MV",
"botTokenKey": "pk_live_*******_*******",
"botToken": "pk_live_*******_*******",
"installedBySub": "UGGA0557MV",
"installedByEmail": "john.doe@example.com",
"appInstalledForTeams": [
"TGGA0557MV",
"TGGA0557MV"
],
"appIdentifier": "thena-ai",
"installedByOrgId": "OGGA0557MV",
"metadata": {
"app_identifier": "thena-ai",
"app_name": "Thena.ai",
"app_description": "Thena.ai is a platform for creating and managing AI agents.",
"app_version": "1.0.0",
"app_author": "Thena.ai",
"app_author_email": "contact@thena.ai",
"app_author_url": "https://thena.ai"
}
}
Installs an app for the given teams.
curl --request POST \
--url https://apps-studio.thena.ai/apps/install \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"teamIds": [
"TGCA9557W4",
"TGCA9557W5"
],
"appId": "9FKHF3KJ10JQTR2YJ6QW1QZTHBZ85",
"appConfiguration": {
"required_settings": [
"check the app manifest for required_settings schema"
],
"optional_settings": [
"check the app manifest for optional_settings schema"
]
}
}'
{
"appName": "Thena.ai",
"botSub": "OGGA0557MV",
"botTokenKey": "pk_live_*******_*******",
"botToken": "pk_live_*******_*******",
"installedBySub": "UGGA0557MV",
"installedByEmail": "john.doe@example.com",
"appInstalledForTeams": [
"TGGA0557MV",
"TGGA0557MV"
],
"appIdentifier": "thena-ai",
"installedByOrgId": "OGGA0557MV",
"metadata": {
"app_identifier": "thena-ai",
"app_name": "Thena.ai",
"app_description": "Thena.ai is a platform for creating and managing AI agents.",
"app_version": "1.0.0",
"app_author": "Thena.ai",
"app_author_email": "contact@thena.ai",
"app_author_url": "https://thena.ai"
}
}
App installed successfully
The response is of type object
.