ContextIO
FREE
By raygorodskij
Updated a year ago

ContextIO API Documentation

Context.IO is a modern, scalable email API that brings IMAP into the 21st century.

Learn more about this API
POSTconnectTokensWizard
POSTcreateAccount
POSTcreateApplicationLevelWebhook
POSTcreateOauthProvider
POSTcreateSources
POSTcreateUserLevelWebhook
POSTdeleteAccount
POSTdeleteApplicationLevelWebhook
POSTdeleteOauthProvider
POSTdeleteSource
POSTdeleteUserLevelWebhook
POSTdiscoveringImapSettings
POSTdownloadFilesContents
POSTgetAccountDetails
POSTgetAllApplicationWebhooks
POSTgetAllConnectTokensForAccount
POSTgetAllConnectTokensForSource
POSTgetAllContacts
POSTgetAllFiles
POSTgetAllMessages
POSTgetAllOauthProviders
POSTgetAllSourceFolders
POSTgetAllSources
POSTgetAllUserWebhooks
POSTgetApplicationWebhookDetails
POSTgetConnectTokenDetails
POSTgetContactDetails
POSTgetFileDetails
POSTgetFilesSharedWithContact
POSTgetFolderMessages
POSTgetListMessagesExchange
POSTgetListThreadsIncludeContact
POSTgetMessage
POSTgetMessageBody
POSTgetMessageFlags
POSTgetMessageFolders
POSTgetMessageHeaders
POSTgetMessageRawSource
POSTgetMessageThread
POSTgetOauthProviderDetails
POSTgetSourceDetail
POSTgetSourceFolder
POSTgetUserWebhookDetail
POSTmoveMessage
POSTupdateApplicationLevelWebhook
POSTupdateMessage
POSTupdateMessageFlags
POSTupdateUserLevelWebhook
POSTwebhookEvent
POSTgetMessageThread

This endpoint returns the the entire thread of messages a message is in that Context.IO has access to. Replies in the thread from accounts not in Context.Io would not appear here.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
consumerSecretCREDENTIALS
REQUIREDThe consumer secret from your account.
messageIdSTRING
REQUIREDUnique id of a message. This can be the `message_id` or `emailMessageId` property of the message. The `gmailMessageId` (prefixed with gm-) can also be used.
accountIdSTRING
REQUIREDUnique id of an account.
consumerKeyCREDENTIALS
REQUIREDThe consumer key from your account.
Optional Parameters
bodyTypeSTRING
OPTIONALUsed when includeBody is set to get only body parts of a given MIME-type (for example text/html).
sortOrderSELECT
OPTIONALThe sort order of the returned results.
includeHeadersSELECT
OPTIONALCan be set to `false` (default), `true` or `raw`. If set to `true`, complete message headers, parsed into an array, are included in the results. If set to raw, the headers are also included but as a raw unparsed string. Since full original headers bodies must be retrieved from the IMAP server, expect a performance hit when setting this parameter.
offsetNUMBER
OPTIONALStart the list at this offset (zero-based).
includeBodySELECT
OPTIONALSet to `true` to include message bodies in the result. Since message bodies must be retrieved from the IMAP server, expect a performance hit when setting this parameter.
includeFlagsSELECT
OPTIONALSet to `true` to include thread size in the result.
includeSourceSELECT
OPTIONALSet to 1 to include message sources in the result. Since message sources must be retrieved from the IMAP server, expect a performance hit when setting this parameter.
limitNUMBER
OPTIONALThe maximum number of results to return. The maximum limit is 100. The default if no limit is provided is 25.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication