Listar assistentes
curl --request GET \
--url https://suasofia.online/api/user/assistants/get \
--header 'Authorization: Bearer <token>'import requests
url = "https://suasofia.online/api/user/assistants/get"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://suasofia.online/api/user/assistants/get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://suasofia.online/api/user/assistants/get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://suasofia.online/api/user/assistants/get"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://suasofia.online/api/user/assistants/get")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://suasofia.online/api/user/assistants/get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"current_page": 1,
"data": [
{
"id": 127,
"user_id": 1,
"phone_number_id": 45,
"engine_id": null,
"synthesizer_id": null,
"transcriber_id": null,
"voice_id": 8,
"instance_id": 1,
"name": "Sales Outreach Assistant",
"variables": {
"company_name": "Your Company",
"product_line": "Premium Services",
"rep_name": "Assistant"
},
"post_call_evaluation": true,
"fillers": 1,
"post_call_schema": [
{
"name": "interest_level",
"type": "string",
"description": "Customer's level of interest (high, medium, low)"
},
{
"name": "budget_qualified",
"type": "bool",
"description": "Whether the prospect has adequate budget"
},
{
"name": "follow_up_date",
"type": "string",
"description": "Preferred date for follow-up contact"
}
],
"tools": [],
"is_webhook_active": true,
"webhook_url": "https://yourcompany.com/api/webhooks/sales-calls",
"inbound_webhook_url": null,
"language": null,
"type": "outbound",
"status": "active",
"max_duration": 900,
"record": true,
"initial_message": "Hi, this is an assistant from Your Company. I hope I'm catching you at a good time. How are you doing today?",
"system_prompt": "You are a sales representative for Your Company. Be professional, friendly, and focus on qualifying leads for premium services.",
"flows_platform_id": null,
"timezone": "America/Los_Angeles",
"created_at": "2025-07-15T14:32:15.000000Z",
"updated_at": "2025-08-02T09:18:42.000000Z",
"max_silence_duration": 25,
"reengagement_interval": 45,
"deleted_at": null,
"end_call_on_voicemail": 1,
"llm_temperature": "0.35",
"voice_stability": "0.75",
"voice_similarity": "0.85",
"allow_interruptions": true,
"enable_noise_cancellation": true,
"endpoint_sensitivity": 1.8,
"speech_speed": "1.10",
"endpoint_type": "vad",
"wait_for_customer": true,
"mode": "pipeline",
"language_id": 1,
"transcriber_provider_id": null,
"synthesizer_provider_id": null,
"llm_model_id": 3,
"multimodal_model_id": null,
"ambient_sound": "office",
"uuid": "a7b3c942-5f1e-4d28-8c59-2e4f7a8b9c3d",
"send_webhook_only_on_completed": true,
"include_recording_in_webhook": true,
"interrupt_sensitivity": 1.2,
"filler_config": {
"neutral": [
"I see.",
"Understood.",
"Right.",
"Got it.",
"Okay."
],
"negative": [
"I understand.",
"Hmm.",
"I see.",
"Okay."
],
"positive": [
"Excellent!",
"That's great!",
"Wonderful!",
"Perfect!"
],
"question": [
"Let me think...",
"Good question.",
"Hmm.",
"Right."
]
},
"knowledgebase_id": 12,
"knowledgebase_mode": "hybrid",
"min_interrupt_words": 3,
"ambient_sound_volume": "0.30",
"widget_settings": {
"theme": "modern",
"color": "#2563eb",
"position": "bottom-right"
}
}
],
"first_page_url": "https://suasofia.online/api/user/assistants/get?page=1",
"from": 1,
"last_page": 5,
"last_page_url": "https://suasofia.online/api/user/assistants/get?page=5",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://suasofia.online/api/user/assistants/get?page=1",
"label": "1",
"active": true
},
{
"url": "https://suasofia.online/api/user/assistants/get?page=2",
"label": "2",
"active": false
}
],
"next_page_url": "https://suasofia.online/api/user/assistants/get?page=2",
"path": "https://suasofia.online/api/user/assistants/get",
"per_page": 10,
"prev_page_url": null,
"to": 10,
"total": 47
}
Assistentes
Listar assistentes
Lista todos os assistentes do usuário autenticado com paginação.
GET
/
user
/
assistants
/
get
Listar assistentes
curl --request GET \
--url https://suasofia.online/api/user/assistants/get \
--header 'Authorization: Bearer <token>'import requests
url = "https://suasofia.online/api/user/assistants/get"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://suasofia.online/api/user/assistants/get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://suasofia.online/api/user/assistants/get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://suasofia.online/api/user/assistants/get"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://suasofia.online/api/user/assistants/get")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://suasofia.online/api/user/assistants/get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"current_page": 1,
"data": [
{
"id": 127,
"user_id": 1,
"phone_number_id": 45,
"engine_id": null,
"synthesizer_id": null,
"transcriber_id": null,
"voice_id": 8,
"instance_id": 1,
"name": "Sales Outreach Assistant",
"variables": {
"company_name": "Your Company",
"product_line": "Premium Services",
"rep_name": "Assistant"
},
"post_call_evaluation": true,
"fillers": 1,
"post_call_schema": [
{
"name": "interest_level",
"type": "string",
"description": "Customer's level of interest (high, medium, low)"
},
{
"name": "budget_qualified",
"type": "bool",
"description": "Whether the prospect has adequate budget"
},
{
"name": "follow_up_date",
"type": "string",
"description": "Preferred date for follow-up contact"
}
],
"tools": [],
"is_webhook_active": true,
"webhook_url": "https://yourcompany.com/api/webhooks/sales-calls",
"inbound_webhook_url": null,
"language": null,
"type": "outbound",
"status": "active",
"max_duration": 900,
"record": true,
"initial_message": "Hi, this is an assistant from Your Company. I hope I'm catching you at a good time. How are you doing today?",
"system_prompt": "You are a sales representative for Your Company. Be professional, friendly, and focus on qualifying leads for premium services.",
"flows_platform_id": null,
"timezone": "America/Los_Angeles",
"created_at": "2025-07-15T14:32:15.000000Z",
"updated_at": "2025-08-02T09:18:42.000000Z",
"max_silence_duration": 25,
"reengagement_interval": 45,
"deleted_at": null,
"end_call_on_voicemail": 1,
"llm_temperature": "0.35",
"voice_stability": "0.75",
"voice_similarity": "0.85",
"allow_interruptions": true,
"enable_noise_cancellation": true,
"endpoint_sensitivity": 1.8,
"speech_speed": "1.10",
"endpoint_type": "vad",
"wait_for_customer": true,
"mode": "pipeline",
"language_id": 1,
"transcriber_provider_id": null,
"synthesizer_provider_id": null,
"llm_model_id": 3,
"multimodal_model_id": null,
"ambient_sound": "office",
"uuid": "a7b3c942-5f1e-4d28-8c59-2e4f7a8b9c3d",
"send_webhook_only_on_completed": true,
"include_recording_in_webhook": true,
"interrupt_sensitivity": 1.2,
"filler_config": {
"neutral": [
"I see.",
"Understood.",
"Right.",
"Got it.",
"Okay."
],
"negative": [
"I understand.",
"Hmm.",
"I see.",
"Okay."
],
"positive": [
"Excellent!",
"That's great!",
"Wonderful!",
"Perfect!"
],
"question": [
"Let me think...",
"Good question.",
"Hmm.",
"Right."
]
},
"knowledgebase_id": 12,
"knowledgebase_mode": "hybrid",
"min_interrupt_words": 3,
"ambient_sound_volume": "0.30",
"widget_settings": {
"theme": "modern",
"color": "#2563eb",
"position": "bottom-right"
}
}
],
"first_page_url": "https://suasofia.online/api/user/assistants/get?page=1",
"from": 1,
"last_page": 5,
"last_page_url": "https://suasofia.online/api/user/assistants/get?page=5",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://suasofia.online/api/user/assistants/get?page=1",
"label": "1",
"active": true
},
{
"url": "https://suasofia.online/api/user/assistants/get?page=2",
"label": "2",
"active": false
}
],
"next_page_url": "https://suasofia.online/api/user/assistants/get?page=2",
"path": "https://suasofia.online/api/user/assistants/get",
"per_page": 10,
"prev_page_url": null,
"to": 10,
"total": 47
}
Este endpoint permite recuperar todos os assistentes de IA pertencentes ao usuário autenticado.
Parâmetros de Consulta
integer
Número de assistentes por página (1-100, padrão: 10)
integer
Número da página (padrão: 1)
Campos de Resposta
array
Show properties
Show properties
integer
O identificador único do assistente
integer
O ID do usuário que possui este assistente
integer
O ID do número de telefone atribuído ao assistente
integer
ID do motor
integer
ID do sintetizador
integer
ID do transcritor
integer
O ID da voz usada pelo assistente
integer
O ID da instância do assistente
string
O nome do assistente
object
Variáveis personalizadas definidas para o assistente
boolean
Se a avaliação pós-chamada está habilitada
integer
Se o áudio de preenchimento está habilitado (1 = habilitado, 0 = desabilitado)
array
array
Array de ferramentas disponíveis para o assistente
boolean
Se as notificações por webhook estão habilitadas
string
A URL do webhook para notificações pós-chamada
string
A URL do webhook para notificações de chamadas de entrada
string
Idioma
string
O tipo de assistente (inbound ou outbound)
string
O status atual do assistente (active ou inactive)
integer
Duração máxima da chamada em segundos
boolean
Se deve gravar chamadas
string
A mensagem inicial que o assistente falará
string
O prompt do sistema que define o comportamento do assistente
integer
ID para integração com a plataforma de fluxos
string
A configuração de fuso horário do assistente
string
A data e hora em que o assistente foi criado
string
A data e hora da última atualização do assistente
integer
Duração máxima de silêncio em segundos antes do reengajamento
integer
Intervalo de reengajamento em segundos
string
Timestamp de exclusão suave (null se não excluído)
integer
Se deve encerrar a chamada quando caixa postal é detectada (1 = sim, 0 = não)
string
Configuração de temperatura do LLM como string
string
Configuração de estabilidade da voz como string
string
Configuração de similaridade da voz como string
boolean
Se permite interrupções do chamador
boolean
Se o cancelamento de ruído está habilitado
number
Nível de sensibilidade do endpoint
string
Multiplicador de velocidade da fala como string
string
Tipo de detecção de atividade de voz (vad ou ai)
boolean
Se deve aguardar o cliente falar primeiro
string
O modo do motor (pipeline ou multimodal)
integer
O ID do idioma usado pelo assistente
integer
ID do provedor de transcrição
integer
ID do provedor de síntese
integer
ID do modelo LLM usado
integer
ID do modelo multimodal usado
string
Configuração de som ambiente
string
UUID único do assistente
boolean
Se deve enviar webhooks apenas em chamadas concluídas
boolean
Se deve incluir URL de gravação no payload do webhook
number
Nível de sensibilidade de interrupção
object
integer
ID da base de conhecimento associada
string
Configuração do modo da base de conhecimento
integer
Número mínimo de palavras antes que a interrupção seja permitida
string
Nível de volume do som ambiente como string
object
Configurações para integração com widget web
integer
O número da página atual
integer
Número de itens por página
integer
Número total de assistentes
integer
O número da última página
{
"current_page": 1,
"data": [
{
"id": 127,
"user_id": 1,
"phone_number_id": 45,
"engine_id": null,
"synthesizer_id": null,
"transcriber_id": null,
"voice_id": 8,
"instance_id": 1,
"name": "Sales Outreach Assistant",
"variables": {
"company_name": "Your Company",
"product_line": "Premium Services",
"rep_name": "Assistant"
},
"post_call_evaluation": true,
"fillers": 1,
"post_call_schema": [
{
"name": "interest_level",
"type": "string",
"description": "Customer's level of interest (high, medium, low)"
},
{
"name": "budget_qualified",
"type": "bool",
"description": "Whether the prospect has adequate budget"
},
{
"name": "follow_up_date",
"type": "string",
"description": "Preferred date for follow-up contact"
}
],
"tools": [],
"is_webhook_active": true,
"webhook_url": "https://yourcompany.com/api/webhooks/sales-calls",
"inbound_webhook_url": null,
"language": null,
"type": "outbound",
"status": "active",
"max_duration": 900,
"record": true,
"initial_message": "Hi, this is an assistant from Your Company. I hope I'm catching you at a good time. How are you doing today?",
"system_prompt": "You are a sales representative for Your Company. Be professional, friendly, and focus on qualifying leads for premium services.",
"flows_platform_id": null,
"timezone": "America/Los_Angeles",
"created_at": "2025-07-15T14:32:15.000000Z",
"updated_at": "2025-08-02T09:18:42.000000Z",
"max_silence_duration": 25,
"reengagement_interval": 45,
"deleted_at": null,
"end_call_on_voicemail": 1,
"llm_temperature": "0.35",
"voice_stability": "0.75",
"voice_similarity": "0.85",
"allow_interruptions": true,
"enable_noise_cancellation": true,
"endpoint_sensitivity": 1.8,
"speech_speed": "1.10",
"endpoint_type": "vad",
"wait_for_customer": true,
"mode": "pipeline",
"language_id": 1,
"transcriber_provider_id": null,
"synthesizer_provider_id": null,
"llm_model_id": 3,
"multimodal_model_id": null,
"ambient_sound": "office",
"uuid": "a7b3c942-5f1e-4d28-8c59-2e4f7a8b9c3d",
"send_webhook_only_on_completed": true,
"include_recording_in_webhook": true,
"interrupt_sensitivity": 1.2,
"filler_config": {
"neutral": [
"I see.",
"Understood.",
"Right.",
"Got it.",
"Okay."
],
"negative": [
"I understand.",
"Hmm.",
"I see.",
"Okay."
],
"positive": [
"Excellent!",
"That's great!",
"Wonderful!",
"Perfect!"
],
"question": [
"Let me think...",
"Good question.",
"Hmm.",
"Right."
]
},
"knowledgebase_id": 12,
"knowledgebase_mode": "hybrid",
"min_interrupt_words": 3,
"ambient_sound_volume": "0.30",
"widget_settings": {
"theme": "modern",
"color": "#2563eb",
"position": "bottom-right"
}
}
],
"first_page_url": "https://suasofia.online/api/user/assistants/get?page=1",
"from": 1,
"last_page": 5,
"last_page_url": "https://suasofia.online/api/user/assistants/get?page=5",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://suasofia.online/api/user/assistants/get?page=1",
"label": "1",
"active": true
},
{
"url": "https://suasofia.online/api/user/assistants/get?page=2",
"label": "2",
"active": false
}
],
"next_page_url": "https://suasofia.online/api/user/assistants/get?page=2",
"path": "https://suasofia.online/api/user/assistants/get",
"per_page": 10,
"prev_page_url": null,
"to": 10,
"total": 47
}
⌘I

