curl --request GET \
--url https://app.famulor.io/api/v1/mission-templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.famulor.io/api/v1/mission-templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.famulor.io/api/v1/mission-templates', 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.io/api/v1/mission-templates",
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://app.famulor.io/api/v1/mission-templates"
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://app.famulor.io/api/v1/mission-templates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.famulor.io/api/v1/mission-templates")
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{
"data": [
{
"id": "self_improving_assistant",
"category": "improve",
"name": "Assistant improves itself",
"description": "Reads yesterday's conversations every morning, finds gaps and fixes them.",
"featured": true,
"beta": false,
"schedule": {
"schedule_type": "daily",
"schedule_time": "07:00",
"schedule_weekday": null
},
"event": null,
"capabilities": [
"read",
"write",
"communicate"
],
"inputs": [
{
"id": "assistant",
"question": "Which assistant?"
},
{
"id": "mode",
"question": "Fix it yourself or only suggest?"
},
{
"id": "report_to",
"question": "Where should the report go?"
}
],
"read_check": null,
"prompt": "Review yesterday's calls and chats of the assistant {assistant}, including their evaluations. Find what went wrong: questions it could not answer, wrong or missing information, conversations that ended early or were rated badly. Mode: {mode}. In \"fix\" mode, add the missing answers to the assistant's knowledge base and sharpen its prompt where the prompt caused the problem; save every change so it can be restored as a version. In \"suggest\" mode, change nothing. Then send {report_to} a short report: what you found, what you changed or suggest, with links to the conversations. If nothing needs fixing, say so in one line."
},
{
"id": "dropped_calls_followup",
"category": "customers",
"name": "Follow up dropped calls",
"description": "Sends an SMS when a call ends before the request was handled.",
"featured": false,
"beta": true,
"schedule": null,
"event": "call.completed",
"capabilities": [
"read",
"communicate"
],
"inputs": [
{
"id": "sms_number",
"question": "Which number sends the SMS?"
}
],
"read_check": null,
"prompt": "A call just ended. If the caller hung up before their request was handled, send them one SMS from {sms_number}: thank them for calling and offer a callback. Do nothing for calls that ended normally, for outbound calls and for numbers that opted out."
}
]
}List mission templates
Ready-made Milian Missions from the template gallery of the web app, in the requested language. To use one, replace every {placeholder} in prompt (each entry of inputs says what one asks for), then create the mission with createRoutine using name, the filled prompt and the schedule fields. Templates with beta: true run on a platform event instead of a schedule: they need Workspace Beta Features and are set up in the app as a Mission Studio draft. createRoutine cannot create them, and their schedule is null. When read_check is set, the mission attaches the chosen automations and skips its AI run when none of them failed. The featured template comes first. Required scope: routines:read.
curl --request GET \
--url https://app.famulor.io/api/v1/mission-templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.famulor.io/api/v1/mission-templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.famulor.io/api/v1/mission-templates', 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.io/api/v1/mission-templates",
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://app.famulor.io/api/v1/mission-templates"
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://app.famulor.io/api/v1/mission-templates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.famulor.io/api/v1/mission-templates")
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{
"data": [
{
"id": "self_improving_assistant",
"category": "improve",
"name": "Assistant improves itself",
"description": "Reads yesterday's conversations every morning, finds gaps and fixes them.",
"featured": true,
"beta": false,
"schedule": {
"schedule_type": "daily",
"schedule_time": "07:00",
"schedule_weekday": null
},
"event": null,
"capabilities": [
"read",
"write",
"communicate"
],
"inputs": [
{
"id": "assistant",
"question": "Which assistant?"
},
{
"id": "mode",
"question": "Fix it yourself or only suggest?"
},
{
"id": "report_to",
"question": "Where should the report go?"
}
],
"read_check": null,
"prompt": "Review yesterday's calls and chats of the assistant {assistant}, including their evaluations. Find what went wrong: questions it could not answer, wrong or missing information, conversations that ended early or were rated badly. Mode: {mode}. In \"fix\" mode, add the missing answers to the assistant's knowledge base and sharpen its prompt where the prompt caused the problem; save every change so it can be restored as a version. In \"suggest\" mode, change nothing. Then send {report_to} a short report: what you found, what you changed or suggest, with links to the conversations. If nothing needs fixing, say so in one line."
},
{
"id": "dropped_calls_followup",
"category": "customers",
"name": "Follow up dropped calls",
"description": "Sends an SMS when a call ends before the request was handled.",
"featured": false,
"beta": true,
"schedule": null,
"event": "call.completed",
"capabilities": [
"read",
"communicate"
],
"inputs": [
{
"id": "sms_number",
"question": "Which number sends the SMS?"
}
],
"read_check": null,
"prompt": "A call just ended. If the caller hung up before their request was handled, send them one SMS from {sms_number}: thank them for calling and offer a callback. Do nothing for calls that ended normally, for outbound calls and for numbers that opted out."
}
]
}Authorizations
API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). REST operations also require API Access for the credential's workspace. Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, loop:read, loop:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, billing:write, settings:write, platform:read, platform:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access within the workspace's available capabilities.