Remplace le content de la note. Seul l' auteur de la note peut la modifier — mettre à jour la note d'un autre utilisateur retourne une erreur 403 avec le…
PATCH/v2/api/conversations/notes/{id}
Comportement
Remplace le content de la note. Seul l'auteur de la note peut la modifier — mettre à jour la note d'un autre utilisateur retourne une erreur 403 avec le code NOT_NOTE_AUTHOR.
Les mentions sont ré-analysées à partir du nouveau contenu — 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
403
NOT_NOTE_AUTHOR
L'utilisateur de l'API key n'est pas l'auteur de la note
404
NOTE_NOT_FOUND
Aucune note avec cet ID
Autorisation
Authorizationstring · headerrequis
Api-Key ak_live_…
Paramètres de chemin
idstringrequis
Note ID (not-*)
Corps
contentstringrequis
Note text (max 4000 characters). Mention teammates inline with @[Name](usr-...), or @[all](all) to notify the whole team.
Réponses
200Updated note
dataobject
8 champs
idstring
Note ID (not-*)
contentstring
Note text, with mentions inline as @[Name](usr-...).
contact_numberstring
The contact's phone number (E.164).
allo_numberstring | null
The Allo line the conversation belongs to (E.164).
userobject
Author of a note or comment.
2 champs
idstring
namestring | null
mentionsobject[]
3 champs
user_idstring
namestring | null
deletedboolean
true if the mentioned user has since been removed from the team.