API reference
Platform
- Search
- Users
- Teams
- Tickets
- Tags
- Ticket tags
- Accounts
- Forms
- Comments
- Emoji actions
- Custom object fields
- Custom objects
- Object records
- Views
- Views types
- Draft tickets
- Storage
- Reactions
Workflows
- Workflows
Apps platform
- App creation
- App installation
- App uninstallation
- App reinstallation
- Incoming webhook
App installation
Install an app
Installs an app for the given teams.
POST
/
apps
/
install
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"
}
}
Authorizations
Body
application/json
Response
201
application/json
App installed successfully
The response is of type object
.
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"
}
}
Assistant
Responses are generated using AI and may contain mistakes.