curl --request POST \
--url https://api.firmintent.com/v1/personas \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Marketing leaders",
"definition": "Heads of marketing or growth with budget authority — not junior or freelance.",
"make_default": false
}
'import requests
url = "https://api.firmintent.com/v1/personas"
payload = {
"name": "Marketing leaders",
"definition": "Heads of marketing or growth with budget authority — not junior or freelance.",
"make_default": False
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Marketing leaders',
definition: 'Heads of marketing or growth with budget authority — not junior or freelance.',
make_default: false
})
};
fetch('https://api.firmintent.com/v1/personas', 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://api.firmintent.com/v1/personas",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Marketing leaders',
'definition' => 'Heads of marketing or growth with budget authority — not junior or freelance.',
'make_default' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.firmintent.com/v1/personas"
payload := strings.NewReader("{\n \"name\": \"Marketing leaders\",\n \"definition\": \"Heads of marketing or growth with budget authority — not junior or freelance.\",\n \"make_default\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.firmintent.com/v1/personas")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Marketing leaders\",\n \"definition\": \"Heads of marketing or growth with budget authority — not junior or freelance.\",\n \"make_default\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.firmintent.com/v1/personas")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Marketing leaders\",\n \"definition\": \"Heads of marketing or growth with budget authority — not junior or freelance.\",\n \"make_default\": false\n}"
response = http.request(request)
puts response.read_body{
"slug": "marketing-leaders",
"name": "Marketing leaders",
"definition": "Heads of marketing or growth with budget authority — not junior or freelance.",
"is_default": false,
"is_system": false,
"created_at": "2026-07-20T09:00:00Z"
}{
"error": {
"code": "insufficient_credits",
"message": "You're out of credits. Top up to run jobs.",
"balance": 123,
"limit": 123
}
}{
"error": {
"code": "insufficient_credits",
"message": "You're out of credits. Top up to run jobs.",
"balance": 123,
"limit": 123
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create a persona
Save a target audience. definition is plain-language criteria (roles, seniority, function,
exclusions) Gemini applies to company people — not a keyword filter. The slug is derived
from the name (unique per account) and is what you pass as persona on POST /v1/jobs.
curl --request POST \
--url https://api.firmintent.com/v1/personas \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Marketing leaders",
"definition": "Heads of marketing or growth with budget authority — not junior or freelance.",
"make_default": false
}
'import requests
url = "https://api.firmintent.com/v1/personas"
payload = {
"name": "Marketing leaders",
"definition": "Heads of marketing or growth with budget authority — not junior or freelance.",
"make_default": False
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Marketing leaders',
definition: 'Heads of marketing or growth with budget authority — not junior or freelance.',
make_default: false
})
};
fetch('https://api.firmintent.com/v1/personas', 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://api.firmintent.com/v1/personas",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Marketing leaders',
'definition' => 'Heads of marketing or growth with budget authority — not junior or freelance.',
'make_default' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.firmintent.com/v1/personas"
payload := strings.NewReader("{\n \"name\": \"Marketing leaders\",\n \"definition\": \"Heads of marketing or growth with budget authority — not junior or freelance.\",\n \"make_default\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.firmintent.com/v1/personas")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Marketing leaders\",\n \"definition\": \"Heads of marketing or growth with budget authority — not junior or freelance.\",\n \"make_default\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.firmintent.com/v1/personas")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Marketing leaders\",\n \"definition\": \"Heads of marketing or growth with budget authority — not junior or freelance.\",\n \"make_default\": false\n}"
response = http.request(request)
puts response.read_body{
"slug": "marketing-leaders",
"name": "Marketing leaders",
"definition": "Heads of marketing or growth with budget authority — not junior or freelance.",
"is_default": false,
"is_system": false,
"created_at": "2026-07-20T09:00:00Z"
}{
"error": {
"code": "insufficient_credits",
"message": "You're out of credits. Top up to run jobs.",
"balance": 123,
"limit": 123
}
}{
"error": {
"code": "insufficient_credits",
"message": "You're out of credits. Top up to run jobs.",
"balance": 123,
"limit": 123
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your fi_live_ API key.
Body
Display name. The slug is derived from it (unique per account).
"Marketing leaders"
Plain-language criteria the persona LLM judges each roster member against. Describe who to KEEP, including any exclusions.
"Heads of marketing or growth with budget authority — not junior or freelance."
Make this the account's default persona.
Response
Successful Response
A saved target audience. definition is plain-language criteria our LLM judges each decision
maker against (roles, seniority, function, exclusions) — not a keyword filter. Reference it on
POST /v1/jobs by slug to keep only the matches; it never changes the price.
Stable id, unique per account — pass this as the persona on POST /v1/jobs.
"marketing-leaders"
Display name.
"Marketing leaders"
Plain-language criteria the persona LLM judges each roster member against.
"Heads of marketing or growth with budget authority — not junior or freelance."
Whether this is the account's default persona.
Immutable system persona; it cannot be edited or deleted.
ISO 8601 UTC.
"2026-07-20T09:00:00Z"