Skip to content

Thread

Capability: urn:ietf:params:jmap:mail

Arguments

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account to fetch threads from.
idsThreadId[]NoIDs of specific threads to fetch.
propertiesstring[]NoThread properties to include. Omit for all properties.

Response

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account the threads belong to.
statestringYesThe current state of the Thread type.
listThread[]YesThe list of Thread objects that were found.
notFoundThreadId[]NoIDs from the request that could not be found.

Capability: urn:ietf:params:jmap:mail

Arguments

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account to get Thread changes for.
sinceStatestringYesThe state to get changes since.
maxChangesinteger?NoMaximum number of changes to return.

Response

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account these changes are for.
oldStatestringYesThe sinceState value passed in the request.
newStatestringYesThe current Thread state after these changes.
hasMoreChangesbooleanYesIf true, more changes exist beyond maxChanges; make another call with newState as sinceState.
createdId[]YesThread ids created since sinceState.
updatedId[]YesThread ids updated since sinceState.
destroyedId[]YesThread ids destroyed since sinceState.