Create person note
curl --request POST \
--url https://api.withallo.com/v2/api/crm/people/{person_id}/notes \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "Prefers email over calls. Intro by @[Jane Doe](usr-abc123)."
}
'import requests
url = "https://api.withallo.com/v2/api/crm/people/{person_id}/notes"
payload = { "content": "Prefers email over calls. Intro by @[Jane Doe](usr-abc123)." }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({content: 'Prefers email over calls. Intro by @[Jane Doe](usr-abc123).'})
};
fetch('https://api.withallo.com/v2/api/crm/people/{person_id}/notes', 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.withallo.com/v2/api/crm/people/{person_id}/notes",
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([
'content' => 'Prefers email over calls. Intro by @[Jane Doe](usr-abc123).'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$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.withallo.com/v2/api/crm/people/{person_id}/notes"
payload := strings.NewReader("{\n \"content\": \"Prefers email over calls. Intro by @[Jane Doe](usr-abc123).\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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.withallo.com/v2/api/crm/people/{person_id}/notes")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"content\": \"Prefers email over calls. Intro by @[Jane Doe](usr-abc123).\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.withallo.com/v2/api/crm/people/{person_id}/notes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content\": \"Prefers email over calls. Intro by @[Jane Doe](usr-abc123).\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "cno-abc123",
"person_id": "per-abc123",
"content": "Prefers email over calls. Intro by @[Jane Doe](usr-abc123).",
"user": {
"id": "usr-def456",
"name": "John Smith"
},
"mentions": [
{
"user_id": "usr-abc123",
"name": "Jane Doe",
"deleted": false
}
],
"created_at": "2026-07-13T10:00:00",
"updated_at": "2026-07-13T10:00:00"
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}Notes
Créer une note de personne
Adds a note to a person’s CRM profile.
POST
/
v2
/
api
/
crm
/
people
/
{person_id}
/
notes
Create person note
curl --request POST \
--url https://api.withallo.com/v2/api/crm/people/{person_id}/notes \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "Prefers email over calls. Intro by @[Jane Doe](usr-abc123)."
}
'import requests
url = "https://api.withallo.com/v2/api/crm/people/{person_id}/notes"
payload = { "content": "Prefers email over calls. Intro by @[Jane Doe](usr-abc123)." }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({content: 'Prefers email over calls. Intro by @[Jane Doe](usr-abc123).'})
};
fetch('https://api.withallo.com/v2/api/crm/people/{person_id}/notes', 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.withallo.com/v2/api/crm/people/{person_id}/notes",
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([
'content' => 'Prefers email over calls. Intro by @[Jane Doe](usr-abc123).'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$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.withallo.com/v2/api/crm/people/{person_id}/notes"
payload := strings.NewReader("{\n \"content\": \"Prefers email over calls. Intro by @[Jane Doe](usr-abc123).\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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.withallo.com/v2/api/crm/people/{person_id}/notes")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"content\": \"Prefers email over calls. Intro by @[Jane Doe](usr-abc123).\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.withallo.com/v2/api/crm/people/{person_id}/notes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content\": \"Prefers email over calls. Intro by @[Jane Doe](usr-abc123).\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "cno-abc123",
"person_id": "per-abc123",
"content": "Prefers email over calls. Intro by @[Jane Doe](usr-abc123).",
"user": {
"id": "usr-def456",
"name": "John Smith"
},
"mentions": [
{
"user_id": "usr-abc123",
"name": "Jane Doe",
"deleted": false
}
],
"created_at": "2026-07-13T10:00:00",
"updated_at": "2026-07-13T10:00:00"
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}Scope requis :
NOTES_WRITEComportement
Ajoute une note au profil CRM de la personne identifiée parperson_id — l’id per-* issu de l’API Personnes.
Mentions
Mentionnez des coéquipiers inline danscontent avec @[Display Name](usr-xxxx) — ils reçoivent les mêmes notifications push, email et in-app que les mentions faites depuis les applications Allo. Voir le guide des mentions.
Erreurs
| Statut | Code | Quand |
|---|---|---|
400 | EMPTY_NOTE_CONTENT | content est manquant ou vide |
400 | NOTE_CONTENT_TOO_LONG | content dépasse 4 000 caractères |
400 | CONTACT_NOTES_UNAVAILABLE | Le workspace n’est pas encore sur le modèle de contacts v2 |
404 | PERSON_NOT_FOUND | Aucune personne avec cet ID (également retourné pour les IDs sans le préfixe per-) |
Autorisations
Paramètres de chemin
Person ID (per-*) — the id field from the People API.
Exemple:
"per-abc123"
Corps
application/json
Note text (max 4000 characters). Mention teammates inline with @[Name](usr-...), or @[all](all) to notify the whole team.
Exemple:
"Escalate to @[Jane Doe](usr-abc123) tomorrow"
Réponse
Note created
Show child attributes
Show child attributes
Cette page vous a-t-elle été utile ?
⌘I