Skip to main content
POST
Create conversation note
Scope requis : NOTES_WRITE

Comportement

Ajoute une note interne d’équipe à la conversation avec contact_number. Les notes ne sont jamais visibles par le contact. Identifiez la ligne à laquelle la conversation est rattachée avec allo_number (E.164, listez vos lignes avec GET /v2/api/numbers) ou sender_id (pour les conversations d’une boîte sender ID). Omettre les deux retourne une erreur 400 avec le code MISSING_ALLO_NUMBER_OR_SENDER_ID.

Mentions

Mentionnez des coéquipiers inline dans content 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

Autorisations

Authorization
string
header
requis

Paramètres de chemin

contact_number
string
requis

The contact's phone number (E.164)

Exemple:

"+14155551234"

Corps

application/json
content
string
requis

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"

allo_number
string

The Allo line the conversation belongs to (E.164). Required unless sender_id is provided.

Exemple:

"+14155550100"

sender_id
string | null

Sender-ID inbox identifier, as an alternative to allo_number for sender-ID conversations.

Réponse

Note created

data
object