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
POSTgetFolderMessages

Listing messages from a specific folder.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
sourceLabelSTRING
REQUIREDThe label property of the source instance. You can use word `first` as an alias for the first source of an account.
consumerSecretCREDENTIALS
REQUIREDThe consumer secret from your account.
accountIdSTRING
REQUIREDUnique id of an account.
consumerKeyCREDENTIALS
REQUIREDThe consumer key from your account.
folderSTRING
REQUIREDThe full folder path using / as the path hierarchy delimiter.
Optional Parameters
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.
includeThreadSizeSELECT
OPTIONALSet to `true` to include thread size in the result.
limitNUMBER
OPTIONALThe maximum number of results to return. The maximum limit is 100. The default if no limit is provided is 25.
bodyTypeSTRING
OPTIONALUsed when includeBody is set to get only body parts of a given MIME-type (for example text/html).
flagSeenSELECT
OPTIONALMessage has been read. Set this parameter to `set` to set the flag, `unset` to unset it.
includeFlagsSELECT
OPTIONALSet to `true` to include thread size in the result.
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.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication