Allo

Ajouter un commentaire

Ajoute un commentaire à un fil existant. Les commentaires peuvent aussi être ajoutés aux fils résolus.

POST/v2/api/threads/{id}/comments

Comportement

Ajoute un commentaire à un fil existant. Les commentaires peuvent aussi être ajoutés aux fils résolus.

Mentions

Mentionnez des coéquipiers inline dans content avec @[Display Name](usr-xxxx) — voir le guide des mentions.

Erreurs

StatutCodeQuand
400EMPTY_NOTE_CONTENTcontent est manquant ou vide
400NOTE_CONTENT_TOO_LONGcontent dépasse 4 000 caractères
404THREAD_NOT_FOUNDAucun fil avec cet ID

Autorisation

Authorizationstring · headerrequis

Api-Key ak_live_…

Paramètres de chemin

idstringrequis

Thread ID (cth-*)

Corps

contentstringrequis

Comment text (max 4000 characters). Mention teammates inline with @[Name](usr-...).

Réponses

201Comment created
dataobject
6 champs
idstring

Comment ID (thc-*)

contentstring

Comment text, with mentions inline as @[Name](usr-...).

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.

created_atstring<date-time>
updated_atstring<date-time>
400
401
404
429