Get groups
Get the groups of messages that make up a topic, each with its messages oldest first. A topic archived in the v1 to v2 migration returns 404 with data.reason archived_in_v1_to_v2_migration.
/topics/{topicId}/groupsAuthorizationBearer token · headerrequiredOrganization API key (modem_…).
topicIdstring<uuid>requiredorderstringascdescOK
dataobject[]requiredShow propertiesHide properties
objectgroupobjectrequiredShow propertiesHide properties
archivedAtstring<date-time> | nullTimestamp when the group was archived.
Show propertiesHide properties
string<date-time>nullendTimestampanyTimestamp for the end of the group time range.
idstring<uuid>requiredShow propertiesHide properties
string<uuid>string<uuid>similarityAtAssignmentnumberstartTimestampanyTimestamp for the start of the group time range.
titlestring | nullrequiredHuman-readable title from the group AI metadata, when available.
Show propertiesHide properties
stringnullmessagesobject[]requiredShow propertiesHide properties
objectcontentstringrequiredFull text content of the message.
createdAtstring<date-time>Timestamp when the message was created.
deletedAtstring<date-time> | nullTimestamp when the message was deleted, if applicable.
Show propertiesHide properties
string<date-time>nulleditedAtstring<date-time> | nullTimestamp when the message was last edited.
Show propertiesHide properties
string<date-time>nullidstring<uuid>requiredShow propertiesHide properties
string<uuid>string<uuid>isInternalbooleanrequiredWhether the message is an internal, team-only note withheld from the external/customer party (e.g. an internal agent note).
metadataobject | nullrequiredAdditional metadata captured for the message.
Show propertiesHide properties
objectnullreplyToIdstring<uuid> | nullrequiredInternal message ID that this message replies to.
Show propertiesHide properties
string<uuid>nullsourceMessageIdstringrequiredIdentifier of the message in the source system.
sourceMessageTypestringrequiredType/classification of the source message.
sourceNamestringrequiredSource system the message was ingested from.
sourceReplyToIdstring | nullrequiredSource system ID of the message being replied to.
Show propertiesHide properties
stringnullsourceThreadIdstring | nullrequiredThread identifier in the source system.
Show propertiesHide properties
stringnullsourceUrlstring<uri> | nullrequiredURL linking to the original message when available.
Show propertiesHide properties
string<uri>nullthreadIdstring<uuid> | nullrequiredInternal thread identifier when applicable.
Show propertiesHide properties
string<uuid>nulltitlestring | nullrequiredOptional title of the message.
Show propertiesHide properties
stringnullauthorobject | nullrequiredShow propertiesHide properties
displayNamestring | nullrequiredOptional display name for the author.
Show propertiesHide properties
stringnullidstring<uuid>requiredShow propertiesHide properties
string<uuid>string<uuid>isBotbooleanrequiredWhether the author is a bot account.
sourceAuthorIdstringrequiredAuthor identifier in the source system.
sourceAvatarUrlstring<uri> | nullrequiredAvatar image URL from the source system.
Show propertiesHide properties
string<uri>nullsourceNamestringrequiredSource system where the author originates.
nullchannelobject | nullrequiredShow propertiesHide properties
channelNamestringrequiredidstringrequiredserverNamestringrequirednullquoteHighlightsobject[]Show propertiesHide properties
objectconfidencenumberrequiredcontentstringrequiredreactionsobject[]requiredShow propertiesHide properties
objectcountintegerrequiredNumber of times this reaction was used.
identifierstringrequiredNormalized reaction identifier (e.g., "thumbsup", "heart").
messageIdstring<uuid>requiredID of the message this reaction belongs to.
Show propertiesHide properties
string<uuid>string<uuid>unicodestring | nullrequiredUnicode representation of the emoji if applicable.
Show propertiesHide properties
stringnullreplyToobject | nullrequiredShow propertiesHide properties
contentstringrequiredFull text content of the message.
createdAtstring<date-time>Timestamp when the message was created.
deletedAtstring<date-time> | nullTimestamp when the message was deleted, if applicable.
Show propertiesHide properties
string<date-time>nulleditedAtstring<date-time> | nullTimestamp when the message was last edited.
Show propertiesHide properties
string<date-time>nullidstring<uuid>requiredShow propertiesHide properties
string<uuid>string<uuid>isInternalbooleanrequiredWhether the message is an internal, team-only note withheld from the external/customer party (e.g. an internal agent note).
metadataobject | nullrequiredAdditional metadata captured for the message.
Show propertiesHide properties
objectnullreplyToIdstring<uuid> | nullrequiredInternal message ID that this message replies to.
Show propertiesHide properties
string<uuid>nullsourceMessageIdstringrequiredIdentifier of the message in the source system.
sourceMessageTypestringrequiredType/classification of the source message.
sourceNamestringrequiredSource system the message was ingested from.
sourceReplyToIdstring | nullrequiredSource system ID of the message being replied to.
Show propertiesHide properties
stringnullsourceThreadIdstring | nullrequiredThread identifier in the source system.
Show propertiesHide properties
stringnullsourceUrlstring<uri> | nullrequiredURL linking to the original message when available.
Show propertiesHide properties
string<uri>nullthreadIdstring<uuid> | nullrequiredInternal thread identifier when applicable.
Show propertiesHide properties
string<uuid>nulltitlestring | nullrequiredOptional title of the message.
Show propertiesHide properties
stringnullauthorobject | nullrequiredShow propertiesHide properties
displayNamestring | nullrequiredOptional display name for the author.
Show propertiesHide properties
stringnullidstring<uuid>requiredShow propertiesHide properties
string<uuid>string<uuid>isBotbooleanrequiredWhether the author is a bot account.
sourceAuthorIdstringrequiredAuthor identifier in the source system.
sourceAvatarUrlstring<uri> | nullrequiredAvatar image URL from the source system.
Show propertiesHide properties
string<uri>nullsourceNamestringrequiredSource system where the author originates.
nullnullthreadobject | nullrequiredShow propertiesHide properties
contentstringrequiredFull text content of the message.
createdAtstring<date-time>Timestamp when the message was created.
deletedAtstring<date-time> | nullTimestamp when the message was deleted, if applicable.
Show propertiesHide properties
string<date-time>nulleditedAtstring<date-time> | nullTimestamp when the message was last edited.
Show propertiesHide properties
string<date-time>nullidstring<uuid>requiredShow propertiesHide properties
string<uuid>string<uuid>isInternalbooleanrequiredWhether the message is an internal, team-only note withheld from the external/customer party (e.g. an internal agent note).
metadataobject | nullrequiredAdditional metadata captured for the message.
Show propertiesHide properties
objectnullreplyToIdstring<uuid> | nullrequiredInternal message ID that this message replies to.
Show propertiesHide properties
string<uuid>nullsourceMessageIdstringrequiredIdentifier of the message in the source system.
sourceMessageTypestringrequiredType/classification of the source message.
sourceNamestringrequiredSource system the message was ingested from.
sourceReplyToIdstring | nullrequiredSource system ID of the message being replied to.
Show propertiesHide properties
stringnullsourceThreadIdstring | nullrequiredThread identifier in the source system.
Show propertiesHide properties
stringnullsourceUrlstring<uri> | nullrequiredURL linking to the original message when available.
Show propertiesHide properties
string<uri>nullthreadIdstring<uuid> | nullrequiredInternal thread identifier when applicable.
Show propertiesHide properties
string<uuid>nulltitlestring | nullrequiredOptional title of the message.
Show propertiesHide properties
stringnullauthorobject | nullrequiredShow propertiesHide properties
displayNamestring | nullrequiredOptional display name for the author.
Show propertiesHide properties
stringnullidstring<uuid>requiredShow propertiesHide properties
string<uuid>string<uuid>isBotbooleanrequiredWhether the author is a bot account.
sourceAuthorIdstringrequiredAuthor identifier in the source system.
sourceAvatarUrlstring<uri> | nullrequiredAvatar image URL from the source system.
Show propertiesHide properties
string<uri>nullsourceNamestringrequiredSource system where the author originates.
nullnullInvalid request (validation failed).
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
Missing or invalid API key.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
The API key does not have access to this resource.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
The requested resource was not found.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
Rate limit exceeded.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
Internal server error.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.