v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-01121113461.4 KB
threads

Split a thread by moving the specified message and all later messages to a new thread.

post/api/v1.0/threads/{id}/split/

Path parameters

idstring required

Request body

message_idstring uuid required

ID of the message to split from. This message and all chronologically later messages will be moved to a new thread.

Response

idstring uuid required

primary key for the record as UUID

subjectstring nullable required
snippetstring required
messagesstring required
has_unreadboolean required
has_unread_mentionboolean required
has_trashedboolean required
is_trashedboolean required

Whether all messages in the thread are trashed

has_archivedboolean required
has_draftboolean required
has_starredboolean required
has_attachmentsboolean required
has_senderboolean required
has_messagesboolean required
has_delivery_failedboolean required

True if thread has messages with permanent delivery failure.

has_delivery_pendingboolean required

True if thread has messages awaiting successful delivery (sending, retrying, or failed).

is_spamboolean required
has_activeboolean required
messaged_atstring date-time nullable required
active_messaged_atstring date-time nullable required

Date of the last active (received, not spam/archived/trashed/draft) message.

draft_messaged_atstring date-time nullable required

Date of the last draft (non-trashed) message.

sender_messaged_atstring date-time nullable required

Date of the last sent (non-trashed, non-draft) message.

archived_messaged_atstring date-time nullable required

Date of the last archived (non-trashed) message.

trashed_messaged_atstring date-time nullable required

Date of the last trashed message.

sender_namesstring[] required
updated_atstring date-time required

date and time at which a record was last updated

user_role'viewer' | 'editor' required
summarystring required
events_countinteger required
abilitiesobject required