Configure App Instance
curl --request PATCH \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"appSlug": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({appSlug: '<string>'})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}"
payload = { "appSlug": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"appSlug": "<string>",
"appName": {
"fr": "Bonjour",
"en": "Hello"
},
"appVersion": "<string>",
"slug": "<string>",
"disabled": true,
"labels": [
"<string>"
],
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>",
"checksum": "<string>",
"config": "<unknown>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Prisme.ai Workspaces
Configure App Instance
Configure an app
PATCH
/
v2
/
workspaces
/
{workspaceId}
/
apps
/
{slug}
Configure App Instance
curl --request PATCH \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"appSlug": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({appSlug: '<string>'})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug}"
payload = { "appSlug": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"appSlug": "<string>",
"appName": {
"fr": "Bonjour",
"en": "Hello"
},
"appVersion": "<string>",
"slug": "<string>",
"disabled": true,
"labels": [
"<string>"
],
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>",
"checksum": "<string>",
"config": "<unknown>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
App unique id
Defaults to the latest known app version
Unique & human readable id across current workspace's appInstances, which will be used to call this app automations
If disabled, this appInstance will be ignored during execution
Pattern:
^[0-9A-Za-z._:-]{2,60}$Response
Success Response
App unique id
Defaults to the latest known app version
Unique & human readable id across current workspace's appInstances, which will be used to call this app automations
If disabled, this appInstance will be ignored during execution
Pattern:
^[0-9A-Za-z._:-]{2,60}$Was this page helpful?