Sign Up

Log In

ContextIO

FREE
By raygorodskij
Updated 6 months ago
Email
-/10
Popularity Score
-
Latency
-
Success Rate

ContextIO API Documentation

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

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

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
POSTconnectTokensWizard

Connect tokens are a feature we provide to facilitate account creation.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
consumerSecretCREDENTIALS
REQUIREDThe consumer secret from your account.
callbackUrlSTRING
REQUIREDWhen the user’s mailbox is connected to your API key, the browser will call this url (GET). This call will have a parameter called contextio_token indicating the connect_token related to this callback. You can then do a get on this connect_token to obtain details about the account and source created through that token and save that account id in your own user data.
consumerKeyCREDENTIALS
REQUIREDThe consumer key from your account.
Optional Parameters
sourceSyncFoldersSELECT
OPTIONALBy default, we filter out some folders like 'Deleted Items’ and 'Drafts’. Set this parameter to `All`,`Trash` to show the 'Deleted Items’ folder.
lastNameSTRING
OPTIONALLast name of the account holder.
emailSTRING
OPTIONALThe email address of the account to be added. If specified, the first step of the connect UI where users are prompted for their email address, first name and last name is skipped.
statusCallbackUrlSTRING
OPTIONALIf specified, we’ll make a POST request to this URL if the connection status of the source changes.
sourceExpungeOnDeletedFlagSELECT
OPTIONALBy default, we don’t filter out messages flagged as deleted. Set this parameter to `on` to turn on this filtering.
firstNameSTRING
OPTIONALFirst name of the account holder.
sourceSyncAllFoldersSELECT
OPTIONALBy default, we filter out some folders like ‘Deleted Items’ and 'Drafts’. Set this parameter to `off` to turn off this filtering and show every single folder.
sourceCallbackUrlSTRING
OPTIONALIf specified, we’ll make a POST request to this URL when the initial sync is completed.
sourceRawFileListSELECT
OPTIONALBy default, we filter out files like signature images or those winmail.dat files form the files list. Set this parameter to 1 to turn off this filtering and show every single file attachments.
Request Snippet
unirest.post("https://ContextIOraygorodskijV1.p.rapidapi.com/connectTokensWizard")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("sourceSyncFolders=undefined")
.send("lastName=undefined")
.send("email=undefined")
.send("statusCallbackUrl=undefined")
.send("sourceExpungeOnDeletedFlag=undefined")
.send("firstName=undefined")
.send("sourceSyncAllFolders=undefined")
.send("sourceCallbackUrl=undefined")
.send("sourceRawFileList=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://ContextIOraygorodskijV1.p.rapidapi.com/connectTokensWizard")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("sourceSyncFolders=undefined")
.send("lastName=undefined")
.send("email=undefined")
.send("statusCallbackUrl=undefined")
.send("sourceExpungeOnDeletedFlag=undefined")
.send("firstName=undefined")
.send("sourceSyncAllFolders=undefined")
.send("sourceCallbackUrl=undefined")
.send("sourceRawFileList=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard