新規登録​

ログイン​

ContextIO

FREE
開発者​ raygorodskij
更新日 7ヶ月前​
Email
-/10
人気度​
-
レイテンシ​
-
正常稼働率​

ContextIO API Documentation

Context.IOは、IMAPを21世紀にもたらす最新のスケーラブルな電子メールAPIです。

全文を​表示する​

さらに​魅力的な​アプリ開発を​

世界最大級の​APIマーケットプレイスで、​8,000以上の​豊富な​ラインナップから​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
POSTconnectTokensWizard

接続トークンは、アカウント作成を容易にするために提供する機能です。

ログインして​このエンドポイントを​テストする​
ログイン​
ヘッダーパラメータ​
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ​
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.
パラメータ(Option)​
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.
コードスニペット​
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);
});
サンプルレスポンス​

loading...

ログイン​新規登録​

SDKを​インストール(NodeJS)​

インストール​

Node.jsで​Unirestを​使用​するには、​NPMモジュールを​インストール​してください。​

$ npm install unirest

インストール​完了後は、​簡単に​リクエストを​行うことが​できるように​なります。​

var unirest = require('unirest');

リクエスト​

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認証​
クライアントID​
クライアントシークレット​
OAuth2認証​
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
APIを​検索​
ブラウザ上で​即座にテスト​
接続用スニペットの​自動生成​
ダッシュボードで​一括管理​