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
POSTupdateMessage

This call allows you to copy or move a message between folders, or also change the message’s flags all at once. If there are more than one source on the account, you can use this call to copy/move the message between these sources.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
consumerKeyCREDENTIALS
REQUIREDThe consumer key from your account.
accountIdSTRING
REQUIREDUnique id of an account.
folderToCopiedSTRING
REQUIREDThe folder within dst_source the message should be copied to.
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.
Optional Parameters
flagAnsweredSELECT
OPTIONALMessage has been answered. Set this parameter to `set` to set the flag, `unset` to unset it.
moveSELECT
OPTIONALBy default, this calls copies the original message in the destination. Set this parameter to `true` to move instead of copy.
flagDraftSELECT
OPTIONALMessage has not completed composition (marked as a draft). Set this parameter to `set` to set the flag, `unset` to unset it.
sourceLabelSTRING
OPTIONALLabel of the source you want the message copied to. This field is required if you’re moving a message that already exists in one source of the account to another source of that account.If you only want to move the message to a different folder within the same source, folderToCopied is sufficient.
flagDeletedSELECT
OPTIONALMessage is `deleted` for later removal. An alternative way of deleting messages is to move it to the Trash folder. Set this parameter to `set` to set the flag, `unset` to unset it.
flagSeenSELECT
OPTIONALMessage has been read. Set this parameter to `set` to set the flag, `unset` to unset it.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication