Record that an approval card for this action was rendered to its owner (bearer token)
import requests
url = "https://platform.ankra.app/api/v1/chat/actions/{action_id}/presented"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/chat/actions/{action_id}/presented', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/chat/actions/{action_id}/presented \
--header 'Authorization: Bearer <token>'{
"action_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recorded": true
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}chat
Record that an approval card for this action was rendered to its owner (bearer token)
Stamps presented_at for a surface that painted a decidable approval card for the calling user - the Slack confirmation card acknowledges here with the asker’s own token. A surface that only mentions the action must not call it. Repeat acknowledgements answer recorded=false and leave the first stamp alone.
POST
/
api
/
v1
/
chat
/
actions
/
{action_id}
/
presented
Record that an approval card for this action was rendered to its owner (bearer token)
import requests
url = "https://platform.ankra.app/api/v1/chat/actions/{action_id}/presented"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/chat/actions/{action_id}/presented', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/chat/actions/{action_id}/presented \
--header 'Authorization: Bearer <token>'{
"action_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recorded": true
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}