Skip to content

Customer.io 节点(Customer.io credentials)#

你可以使用以下凭据通过 Customer.io 验证以下节点。

🌐 You can use these credentials to authenticate the following nodes with Customer.io.

先决条件(Prerequisites)#

创建一个 Customer.io 账户。

🌐 Create a Customer.io account.

支持的身份验证方法(Supported authentication methods)#

  • API 密钥

有关该服务的更多信息,请参阅 Customer.io 的摘要 API 文档

🌐 Refer to Customer.io's summary API documentation for more information about the service.

有关每个 API 的详细参考文档,请参阅 Track API 文档App API 文档

🌐 For detailed API reference documentation for each API, refer to the Track API documentation and the App API documentation.

使用 API 密钥(Using API key)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need:

  • 一个 跟踪 API 密钥:用于在 https://track.customer.io/api/v1/ 使用 跟踪 API。更多详情请参阅下面的常见问题解答。
  • 您的地区:Customer.io 根据您选择的地区使用不同的 API 子域名。可选项包括:
    • 全球区域:保持两个 API 的默认 URL;用于所有非欧盟国家/地区。
    • 欧盟地区:将 Track API 子域调整为 track-eu,将 App API 子域调整为 api-eu;仅在你位于欧盟时使用此设置。
  • 一个 跟踪网站ID:需要与你的 跟踪API密钥 一起使用
  • 一个 应用 API 密钥:用于在 https://api.customer.io/v1/api/ 上使用 应用 API。更多详情请参见下方常见问题解答。

请参阅 Customer.io 查找和管理你的 API 凭据文档 以获取创建 Tracking API 和 App API 密钥的说明。

🌐 Refer to the Customer.io Finding and managing your API credentials documentation for instructions on creating both Tracking API and App API keys.

为什么需要跟踪 API 密钥和应用 API 密钥(Why you need a Tracking API Key and an App API Key)#

Customer.io 有两个不同的 API 端点,并为每个端点生成和存储密钥的方式略有不同:

🌐 Customer.io has two different API endpoints and generates and stores the keys for each slightly differently:

  • Track API 位于 https://track.customer.io/api/v1/
  • 应用 APIhttps://api.customer.io/v1/api/

Track API 需要一个跟踪网站 ID;而 App API 则不需要。

🌐 The Track API requires a Tracking Site ID; the App API doesn't.

n8n 会根据你要执行的操作使用正确的 API 密钥及其对应的终结点。

🌐 Based on the operation you want to perform, n8n uses the correct API key and its corresponding endpoint.