Acknowledge App Modal
curl --request POST \
--url https://api.studio.prisme.ai/v2/orgs/{orgSlug}/app-modals/{appSlug}/acknowledgements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"version": 2
}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({version: 2})
};
fetch('https://api.studio.prisme.ai/v2/orgs/{orgSlug}/app-modals/{appSlug}/acknowledgements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/orgs/{orgSlug}/app-modals/{appSlug}/acknowledgements"
payload = { "version": 2 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"appSlug": "<string>",
"version": 123,
"recorded": true
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}{
"error": "ObjectNotFound",
"message": "<string>",
"details": "<unknown>",
"level": "warn"
}{
"error": "ObjectNotFound",
"message": "<string>",
"details": "<unknown>",
"level": "warn"
}Organizations
Acknowledge App Modal
Records in the organization audit log (category legal, action acknowledged) that the current user acknowledged the warning modal configured for an app in the organization branding (appModals). The client sends the version it displayed, which must be the one currently configured (409 otherwise). Any member can call it, for themselves only; a platform administrator who is not a member of the organization is answered without a record. Rate limited per user.
POST
/
v2
/
orgs
/
{orgSlug}
/
app-modals
/
{appSlug}
/
acknowledgements
Acknowledge App Modal
curl --request POST \
--url https://api.studio.prisme.ai/v2/orgs/{orgSlug}/app-modals/{appSlug}/acknowledgements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"version": 2
}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({version: 2})
};
fetch('https://api.studio.prisme.ai/v2/orgs/{orgSlug}/app-modals/{appSlug}/acknowledgements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/orgs/{orgSlug}/app-modals/{appSlug}/acknowledgements"
payload = { "version": 2 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"appSlug": "<string>",
"version": 123,
"recorded": true
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}{
"error": "ObjectNotFound",
"message": "<string>",
"details": "<unknown>",
"level": "warn"
}{
"error": "ObjectNotFound",
"message": "<string>",
"details": "<unknown>",
"level": "warn"
}Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Path Parameters
Body
application/json
Was this page helpful?