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 密钥
¥API Key
相关资源#
¥Related resources
有关服务的更多信息,请参阅 Customer.io API 摘要文档。
¥Refer to Customer.io's summary API documentation for more information about the service.
有关每个 API 的详细 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/中的 Track API。请参阅下面的常见问题解答以了解更多详细信息。
¥A Tracking API Key: For use with the Track API at https://track.customer.io/api/v1/. See the FAQs below for more details.
- 你的区域:Customer.io 根据你选择的区域使用不同的 API 子域。选项包括:
¥Your Region: Customer.io uses different API subdomains depending on the region you select. Options include:
-
全局区域:保留两个 API 的默认 URL;适用于所有非欧盟国家/地区。
¥Global region: Keeps the default URLs for both APIs; for use in all non-EU countries/regions.
-
欧盟地区:将 Track API 子域调整为
track-eu,将 App API 子域调整为api-eu;仅当你位于欧盟时才使用此功能。¥EU region: Adjusts the Track API subdomain to
track-euand the App API subdomain toapi-eu; only use this if you are in the EU. -
跟踪站点 ID:你的跟踪 API 密钥必需。
¥A Tracking Site ID: Required with your Tracking API Key
- 应用 API 密钥:用于
https://api.customer.io/v1/api/中的 App API。请参阅下面的常见问题解答以了解更多详细信息。
¥An App API Key: For use with the App API at https://api.customer.io/v1/api/. See the FAQs below for more details.
请参阅 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/
¥The Track API at https://track.customer.io/api/v1/
- App API 在
https://api.customer.io/v1/api/
¥The App API at https://api.customer.io/v1/api/
跟踪 API 需要一个跟踪站点 ID;应用 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.