Lister les Mid-call Actions
curl --request GET \
--url https://app.famulor.de/api/user/tools \
--header 'Accept: <accept>' \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'import requests
url = "https://app.famulor.de/api/user/tools"
headers = {
"Authorization": "<authorization>",
"Content-Type": "<content-type>",
"Accept": "<accept>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
Authorization: '<authorization>',
'Content-Type': '<content-type>',
Accept: '<accept>'
}
};
fetch('https://app.famulor.de/api/user/tools', 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://app.famulor.de/api/user/tools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: <authorization>",
"Content-Type: <content-type>"
],
]);
$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://app.famulor.de/api/user/tools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Accept", "<accept>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.famulor.de/api/user/tools")
.header("Authorization", "<authorization>")
.header("Content-Type", "<content-type>")
.header("Accept", "<accept>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.famulor.de/api/user/tools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
request["Content-Type"] = '<content-type>'
request["Accept"] = '<accept>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 1,
"name": "get_weather",
"description": "Use this tool to get the current weather in a specific city. Call this when the customer asks about weather conditions.",
"type": "http",
"endpoint": "https://api.openweathermap.org/data/2.5/weather?city={city}",
"method": "GET",
"body_format": "json",
"timeout": 10,
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "Bearer sk_..."
}
],
"static_fields": [],
"schema": [
{
"name": "city",
"type": "string",
"description": "The city name to get weather for",
"required": true
},
{
"name": "days",
"type": "number",
"description": "Number of forecast days",
"required": false
}
],
"created_at": "2025-10-10T12:00:00.000000Z",
"updated_at": "2025-10-10T12:00:00.000000Z"
},
{
"id": 2,
"name": "send_notification",
"description": "Use this tool to send a notification to the customer. Call this when customer requests updates.",
"type": "http",
"endpoint": "https://api.yourcompany.com/notifications/send",
"method": "POST",
"body_format": "json",
"timeout": 15,
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"static_fields": [
{
"key": "caller",
"value": "{{customer_phone}}"
}
],
"schema": [
{
"name": "message",
"type": "string",
"description": "The notification message to send",
"required": true
},
{
"name": "send_sms",
"type": "boolean",
"description": "Whether to also send SMS notification",
"required": false
}
],
"created_at": "2025-10-09T14:30:00.000000Z",
"updated_at": "2025-10-10T09:15:00.000000Z"
}
]
}
Actions en cours d’appel
Lister les Mid-call Actions
Récupère toutes les Mid-call Actions disponibles dans votre compte Famulor via l’API. Utile pour l’inventaire, le débogage et l’association d’actions à des assistants vocaux IA.
GET
/
api
/
user
/
tools
Lister les Mid-call Actions
curl --request GET \
--url https://app.famulor.de/api/user/tools \
--header 'Accept: <accept>' \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'import requests
url = "https://app.famulor.de/api/user/tools"
headers = {
"Authorization": "<authorization>",
"Content-Type": "<content-type>",
"Accept": "<accept>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
Authorization: '<authorization>',
'Content-Type': '<content-type>',
Accept: '<accept>'
}
};
fetch('https://app.famulor.de/api/user/tools', 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://app.famulor.de/api/user/tools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: <authorization>",
"Content-Type: <content-type>"
],
]);
$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://app.famulor.de/api/user/tools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Accept", "<accept>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.famulor.de/api/user/tools")
.header("Authorization", "<authorization>")
.header("Content-Type", "<content-type>")
.header("Accept", "<accept>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.famulor.de/api/user/tools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
request["Content-Type"] = '<content-type>'
request["Accept"] = '<accept>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 1,
"name": "get_weather",
"description": "Use this tool to get the current weather in a specific city. Call this when the customer asks about weather conditions.",
"type": "http",
"endpoint": "https://api.openweathermap.org/data/2.5/weather?city={city}",
"method": "GET",
"body_format": "json",
"timeout": 10,
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "Bearer sk_..."
}
],
"static_fields": [],
"schema": [
{
"name": "city",
"type": "string",
"description": "The city name to get weather for",
"required": true
},
{
"name": "days",
"type": "number",
"description": "Number of forecast days",
"required": false
}
],
"created_at": "2025-10-10T12:00:00.000000Z",
"updated_at": "2025-10-10T12:00:00.000000Z"
},
{
"id": 2,
"name": "send_notification",
"description": "Use this tool to send a notification to the customer. Call this when customer requests updates.",
"type": "http",
"endpoint": "https://api.yourcompany.com/notifications/send",
"method": "POST",
"body_format": "json",
"timeout": 15,
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"static_fields": [
{
"key": "caller",
"value": "{{customer_phone}}"
}
],
"schema": [
{
"name": "message",
"type": "string",
"description": "The notification message to send",
"required": true
},
{
"name": "send_sms",
"type": "boolean",
"description": "Whether to also send SMS notification",
"required": false
}
],
"created_at": "2025-10-09T14:30:00.000000Z",
"updated_at": "2025-10-10T09:15:00.000000Z"
}
]
}
API Famulor 1.0 (héritée). Cette page concerne uniquement Famulor 1.0 (
app.famulor.de) et est conservée pour la compatibilité. Pour la plateforme actuelle, consultez la référence API Famulor 2.0.En-têtes
string
requis
Jeton Bearer pour l’authentification
string
requis
Doit être
application/jsonstring
requis
Doit être
application/jsonChamps de réponse
array
Tableau des Mid-call Actions
Afficher Propriétés
Afficher Propriétés
integer
L’identifiant unique de la Mid-call Action
string
Le nom de la Mid-call Action
string
Explication détaillée du moment et de la manière dont l’IA doit utiliser cette Mid-call Action
string
Type de la Mid-call Action :
http ou automationstring
L’URL du point de terminaison de l’API qui sera appelé
string
Méthode HTTP (GET, POST, PUT, PATCH, DELETE)
string
Encodage du corps de la requête :
json ou forminteger
Délai d’expiration de la requête en secondes (1-30)
array
array
array
Paramètres que l’IA extraira et enverra au point de terminaison
string
Horodatage ISO 8601 de création de la Mid-call Action
string
Horodatage ISO 8601 de dernière mise à jour de la Mid-call Action
{
"data": [
{
"id": 1,
"name": "get_weather",
"description": "Use this tool to get the current weather in a specific city. Call this when the customer asks about weather conditions.",
"type": "http",
"endpoint": "https://api.openweathermap.org/data/2.5/weather?city={city}",
"method": "GET",
"body_format": "json",
"timeout": 10,
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "Bearer sk_..."
}
],
"static_fields": [],
"schema": [
{
"name": "city",
"type": "string",
"description": "The city name to get weather for",
"required": true
},
{
"name": "days",
"type": "number",
"description": "Number of forecast days",
"required": false
}
],
"created_at": "2025-10-10T12:00:00.000000Z",
"updated_at": "2025-10-10T12:00:00.000000Z"
},
{
"id": 2,
"name": "send_notification",
"description": "Use this tool to send a notification to the customer. Call this when customer requests updates.",
"type": "http",
"endpoint": "https://api.yourcompany.com/notifications/send",
"method": "POST",
"body_format": "json",
"timeout": 15,
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"static_fields": [
{
"key": "caller",
"value": "{{customer_phone}}"
}
],
"schema": [
{
"name": "message",
"type": "string",
"description": "The notification message to send",
"required": true
},
{
"name": "send_sms",
"type": "boolean",
"description": "Whether to also send SMS notification",
"required": false
}
],
"created_at": "2025-10-09T14:30:00.000000Z",
"updated_at": "2025-10-10T09:15:00.000000Z"
}
]
}
Attribuer des Mid-call Actions à des assistants
Pour utiliser ces Mid-call Actions avec des assistants, consultez :- Créer un assistant — Associez des Mid-call Actions à l’aide du paramètre
tool_ids - Mettre à jour un assistant — Gérez les attributions de Mid-call Actions à l’aide du paramètre
tool_ids
Besoin de tout un ensemble d’outils plutôt que de créer des actions HTTP une par une ? Connectez un serveur MCP externe — les outils sont détectés automatiquement. Voir Serveurs MCP.
⌘I