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
POSTgetAllFiles

The name of a source in Context.IO is called a “label”. The label will be included in the response when you get account or source details and looks something like email::provider.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
accountIdSTRING
REQUIREDUnique id of an account.
consumerKeyCREDENTIALS
REQUIREDThe consumer key from your account.
consumerSecretCREDENTIALS
REQUIREDThe consumer secret from your account.
Optional Parameters
fromSTRING
OPTIONALEmail address of a contact messages have been received from.
offsetNUMBER
OPTIONALStart the list at this offset (zero-based).
emailOfContactBCCSTRING
OPTIONALEmail address of a contact BCC'ed on the messages.
emailSTRING
OPTIONALEmail address of the contact for whom you want the latest files in which this email address was listed as a recipient.
fileSizeMinNUMBER
OPTIONALSearch for files based on their size (in bytes).
indexedAfterDATEPICKER
OPTIONALOnly include messages indexed after a given timestamp. This is not the same as the date of the email, it is the time Context.IO indexed this message.
dateAfterDATEPICKER
OPTIONALOnly include messages after a given timestamp. The value this filter is applied to is the Date: header of the message which refers to the time the message is sent from the origin.
sortOrderSELECT
OPTIONALThe sort order of the returned results.
fileNameSTRING
OPTIONALSearch for files based on their name. You can filter names using typical shell wildcards such as *, ? and [] or regular expressions by enclosing the search expression in a leading / and trailing /. For example, *.pdf would give you all PDF files while /.jpe?g$/ would return all files whose name ends with .jpg or .jpeg
dateBeforeDATEPICKER
OPTIONALOnly include messages before a given timestamp. The value this filter is applied to is the Date: header of the message which refers to the time the message is sent from the origin.
sourceSTRING
OPTIONALFilter messages by the account source label.
indexedBeforeDATEPICKER
OPTIONALOnly include messages indexed before a given timestamp. This is not the same as the date of the email, it is the time Context.IO indexed this message.
toSTRING
OPTIONALEmail address of a contact messages have been sent to.
emailOfContactCCSTRING
OPTIONALEmail address of a contact CC'ed on the messages.
fileSizeMaxNUMBER
OPTIONALSearch for files based on their size (in bytes).
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