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"
}
}Array of team IDs where the app will be installed
["TGCA9557W4", "TGCA9557W5"]
Unique identifier of the app to be installed
"9FKHF3KJ10JQTR2YJ6QW1QZTHBZ85"
Configuration settings for the app installation
Show child attributes
App installed successfully
Name of the installed app
"Thena.ai"
Bot subscriber ID
"OGGA0557MV"
Bot token key for authentication
"pk_live_*******_*******"
Bot token for authentication
"pk_live_*******_*******"
Subscriber ID of the user who installed the app
"UGGA0557MV"
Email of the user who installed the app
"john.doe@example.com"
List of team IDs where the app is installed
["TGGA0557MV", "TGGA0557MV"]
Identifier of the app
"thena-ai"
Organization ID of the user who installed the app
"OGGA0557MV"
Metadata of the app
{
"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"
}