Skip to content

Get email threads

Request

Gets paged email threads ordered by last modified date

Query
clientstring

The email client (Gmail, Outlook)

pageSizeinteger, (int32)

The number of threads to return

Default: 25

Default:25
cursorinteger, (int32)

The Id of the thread to skip to

const resp = await fetch(
  `https://api-sandbox.lawvu.com/account-apis/v1/emails/threads/page`,
  {method: 'GET'}
);

const data = await resp.text();
console.log(data);

Responses

OK

Body
threadsArray of objects or null(EmailThread)
nextPageCursorinteger or null, (int32)
Response
{
  "threads": [
    {
      "threadIdentifier": "string",
      "track": true,
      "client": "Outlook",
      "matterId": 0,
      "matterNumber": "string",
      "matterName": "string",
      "matterStatus": "string",
      "matterIsDeleted": true,
      "fileEntryId": 0,
      "fileId": 0,
      "filePath": "string",
      "contractId": 0,
      "contractName": "string",
      "contractStatus": "string",
      "contractIsDeleted": true
    }
  ],
  "nextPageCursor": 0
}