Listar calificaciones de cliente
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/client_qualifications \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/client_qualifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/client_qualifications"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"payload": [
{
"id": 123,
"assistant_id": 123,
"name": "<string>",
"enabled": true,
"deal_type": "rent",
"criteria": [
{
"key": "<string>",
"label": "<string>",
"instructions": "<string>",
"yes_when": "<string>",
"no_when": "<string>"
}
],
"bands": [
{
"key": "<string>",
"label": "<string>",
"max_missing": 123,
"raise_priority": true,
"handoff": true,
"team_id": 123
}
],
"band_preview": {},
"apply_actions": true,
"version": 123,
"created_at": 123,
"updated_at": 123
}
]
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}Client Qualifications
Listar calificaciones de cliente
Las calificaciones de cliente de un asistente. Pide el feature de calificación de cliente de la cuenta.
GET
/
api
/
v1
/
accounts
/
{account_id}
/
captain
/
assistants
/
{assistant_id}
/
client_qualifications
Listar calificaciones de cliente
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/client_qualifications \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/client_qualifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/client_qualifications"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"payload": [
{
"id": 123,
"assistant_id": 123,
"name": "<string>",
"enabled": true,
"deal_type": "rent",
"criteria": [
{
"key": "<string>",
"label": "<string>",
"instructions": "<string>",
"yes_when": "<string>",
"no_when": "<string>"
}
],
"bands": [
{
"key": "<string>",
"label": "<string>",
"max_missing": 123,
"raise_priority": true,
"handoff": true,
"team_id": 123
}
],
"band_preview": {},
"apply_actions": true,
"version": 123,
"created_at": 123,
"updated_at": 123
}
]
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}Was this page helpful?