Todoist 凭据#
¥Todoist credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
支持的身份验证方法#
¥Supported authentication methods
- API 密钥
¥API key
- OAuth2
相关资源#
¥Related resources
有关服务的更多信息,请参阅 Todoist REST API 文档。
¥Refer to Todoist's REST API documentation for more information about the service.
使用 API 密钥#
¥Using API key
要配置此凭据,你需要一个 Todoist 账户以及:
¥To configure this credential, you'll need a Todoist account and:
- API 密钥
¥An API Key
获取 API 密钥:
¥To get your API Key:
- 在 Todoist 中,打开你的 集成设置。
¥In Todoist, open your Integration settings. 2. 选择“开发者”选项卡。
¥Select the Developer tab. 3. 复制你的 API 令牌并将其作为 API 密钥输入到你的 n8n 凭据中。
¥Copy your API token and enter it as the API Key in your n8n credential.
有关更多信息,请参阅 查找你的 API 令牌。
¥Refer to Find your API token for more information.
使用 OAuth2#
¥Using OAuth2
Note for n8n Cloud users
Cloud users don't need to provide connection details. Select Connect my account to connect through your browser.
如果你是 self-hosting n8n,你需要一个 Todoist 账户以及:
¥If you're self-hosting n8n, you'll need a Todoist account and:
- 客户端 ID
¥A Client ID
- 客户端密钥:
¥A Client Secret
创建应用即可同时获取以上两种信息:
¥Get both by creating an application:
- 打开 Todoist 应用管理控制台。
¥Open the Todoist App Management Console. 2. 选择“创建新应用”。
¥Select Create a new app.
3. 输入你的应用名称,例如 n8n integration。
¥Enter an App name for your app, like n8n integration.
4. 选择“创建应用”。
¥Select Create app. 5. 复制 n8n OAuth 重定向 URL,并将其作为 OAuth 重定向 URL 输入到 Todoist 中。
¥Copy the n8n OAuth Redirect URL and enter it as the OAuth redirect URL in Todoist. 6. 从 Todoist 复制客户端 ID 并将其输入到你的 n8n 凭据中。
¥Copy the Client ID from Todoist and enter it in your n8n credential. 7. 从 Todoist 复制客户端密钥并将其输入到你的 n8n 凭据中。
¥Copy the Client Secret from Todoist and enter it in your n8n credential. 8. 根据你的用例配置 Todoist 应用的其余部分。
¥Configure the rest of your Todoist app as it makes sense for your use case.
请参阅 Todoist 授权指南 文档了解更多信息。
¥Refer to the Todoist Authorization Guide for more information.