Part3 Developers

Project emails list

GET /organization/{orgId}/project/{projectId}/emails

List emails filed to a project

GET
/organization/{orgId}/project/{projectId}/emails
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Organization ID — must match the project's owning org.

projectId*string

Project ID.

Query Parameters

search?string
Lengthlength <= 500
from?string
Lengthlength <= 320
dateFrom?string
Lengthlength <= 40
dateTo?string
Lengthlength <= 40
folder?string

root for emails in no folder, or a folder id for that folder only (P3-7530). Omit for every email the caller can see.

Lengthlength <= 200
cursor?string

Cursor from a prior nextCursor. Omit on the first page.

Lengthlength <= 2000
limit?string

Rows per page, 1–100 (default 25).

includeMeta?string
Value in"true" | "false"
groupBy?string

conversation for thread rows; omit for one row per email.

Lengthlength <= 40
thread?string

A threadKey; limits the flat list to that conversation. A stale key resolves to the thread's current key; one that matches no thread, or several, lists nothing.

Lengthlength <= 2000

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.part3.io/v1/organization/org_8a1b2c3d4e/project/proj_5f9a3c2e8b/emails"
{
  "data": [
    {
      "emailId": "string",
      "threadKey": "string",
      "threadSize": 0,
      "sentAt": null,
      "fromAddress": "string",
      "fromName": null,
      "subject": "string",
      "attachmentCount": 0,
      "filedBy": {
        "userId": "string",
        "name": "string"
      },
      "filedAt": "2019-08-24T14:15:22Z",
      "folderId": null
    }
  ],
  "nextCursor": null,
  "hasMore": true,
  "meta": {
    "total": 0,
    "matchedEmailTotal": 0,
    "filters": {}
  }
}
{
  "error": "dateFrom must be YYYY-MM-DD or an ISO datetime"
}
{
  "error": "Insufficient permissions"
}
{
  "error": "Project not found"
}