Put an email in a box

Changed on

See here for more information on threads.

put/boxes/{key}/threads

Request

Path parameters

keystring required

Box key

Request body application/x-www-form-urlencoded

boxKeystring required

Box key

threadGmailIdstring required

The Gmail thread you'd like to add to the box (eg 15d52837dc00ff8e).

Important: Gmail assigns each user their own unique thread ID, even if they are included in the same email conversation. When calling this endpoint, the threadGmailId value you provide must belong to the user whose API key you are using.

Response

200

creatorKeystring
boxKeystring
pipelineKeystring
creationTimestampinteger
lastUpdatedTimestampinteger
numberOfEmailsinteger
threadGmailIdstring
gmailThreadKeystring
keystring
lastSavedTimestampinteger

Example response

[
  {
    "creatorKey": "agxzfm1huZUKDA",
    "boxKey": "agxzfm1h0JDA",
    "pipelineKey": "agxzfmZaXCgw",
    "creationTimestamp": 1506709102707,
    "lastUpdatedTimestamp": 1506709102707,
    "threadGmailId": "15eced88bfb784fc",
    "gmailThreadKey": "agxBj5n-GeCQw",
    "key": "agxBj5n-GeCQw",
    "lastSavedTimestamp": 1506709102772
  }
]

Changes