GetResponse 凭据#
¥GetResponse credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
先决条件#
¥Prerequisites
创建 GetResponse 账户。
¥Create a GetResponse account.
支持的身份验证方法#
¥Supported authentication methods
- API 密钥
¥API key
- OAuth2
相关资源#
¥Related resources
有关服务的更多信息,请参阅 GetResponse API 文档。
¥Refer to GetResponse's API documentation for more information about the service.
使用 API 密钥#
¥Using API key
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- API 密钥:要查看或生成 API 密钥,请转到“集成和 API”>“API”。请参阅 GetResponse 帮助中心,了解更多详细说明。
¥An API Key: To view or generate an API key, go to Integrations and API > API. Refer to the GetResponse Help Center for more detailed instructions.
使用 OAuth2#
¥Using OAuth2
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- 客户端 ID:当你 注册你的应用 时生成。
¥A Client ID: Generated when you register your application.
- 客户端密钥:当你将 注册你的应用 设置为客户端密钥时生成。
¥A Client Secret: Generated when you register your application as the Client Secret Key.
注册应用时,请从 n8n 复制 OAuth 重定向 URL,并将其作为重定向 URL 添加到 GetResponse 中。
¥When you register your application, copy the OAuth Redirect URL from n8n and add it as the Redirect URL in GetResponse.
Redirect URL with localhost
重定向 URL 应该是你域名下的 URL,例如:https://mytemplatemaker.example.com/gr_callback。GetResponse 不接受 localhost 回调 URL。请参阅 FAQs 配置本地环境的凭据。
¥The Redirect URL should be a URL in your domain, for example: https://mytemplatemaker.example.com/gr_callback. GetResponse doesn't accept a localhost callback URL. Refer to the FAQs to configure the credentials for the local environment.
配置本地环境的 OAuth2 凭据#
¥Configure OAuth2 credentials for a local environment
GetResponse 不接受 localhost 回调 URL。请按照以下步骤配置本地环境的 OAuth 凭据:
¥GetResponse doesn't accept the localhost callback URL. Follow the steps below to configure the OAuth credentials for a local environment:
- 使用 ngrok 将运行在端口
5678上的本地服务器暴露给互联网。在你的终端中,运行以下命令:
¥Use ngrok to expose the local server running on port 5678 to the internet. In your terminal, run the following command:
1 | |
- 在新终端中运行以下命令。将
<YOUR-NGROK-URL>替换为你从上一步中获得的 URL。
¥Run the following command in a new terminal. Replace <YOUR-NGROK-URL> with the URL that you got from the previous step.
1 | |
- 请遵循 使用 OAuth2 说明配置你的凭据,并使用此 URL 作为你的重定向 URL。
¥Follow the Using OAuth2 instructions to configure your credentials, using this URL as your Redirect URL.