Allo

Obtenir un fil de discussion

Retourne un fil avec tous ses commentaires, du plus ancien au plus récent.

GET/v2/api/threads/{id}

Retourne un fil avec tous ses commentaires, du plus ancien au plus récent.

Erreurs

StatutCodeQuand
404THREAD_NOT_FOUNDAucun fil avec cet ID

Autorisation

Authorizationstring · headerrequis

Api-Key ak_live_…

Paramètres de chemin

idstringrequis

Thread ID (cth-*)

Réponses

200Thread with comments
dataobject
10 champs
idstring

Thread ID (cth-*)

entity_typeenum<string>

Type of the conversation item the thread is attached to.

CALLTEXT_MESSAGECONVERSATION_NOTE

entity_idstring

ID of the conversation item (cll-*, msg-*, or not-*).

contact_numberstring

The contact's phone number (E.164).

resolvedboolean
resolved_atstring<date-time> | null
resolved_byobject

Author of a note or comment.

2 champs
idstring
namestring | null
comment_countinteger
created_atstring<date-time>
commentsobject[]
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>
401
404
429