Attach Analysis Tool
POST
https://x.kupe.in
/
v1
/
post-call-analyses
/
{analysis_id}
/
tools
Attach Analysis Tool
import requests
url = "https://x.kupe.in/v1/post-call-analyses/{analysis_id}/tools"
payload = { "tool_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({tool_id: '<string>'})
};
fetch('https://x.kupe.in/v1/post-call-analyses/{analysis_id}/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://x.kupe.in/v1/post-call-analyses/{analysis_id}/tools \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool_id": "<string>"
}
'{
"tool_id": "<string>",
"enabled": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}⌘I
Attach Analysis Tool
import requests
url = "https://x.kupe.in/v1/post-call-analyses/{analysis_id}/tools"
payload = { "tool_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({tool_id: '<string>'})
};
fetch('https://x.kupe.in/v1/post-call-analyses/{analysis_id}/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://x.kupe.in/v1/post-call-analyses/{analysis_id}/tools \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool_id": "<string>"
}
'{
"tool_id": "<string>",
"enabled": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}
