- API Key Authentication - Best for internal integrations and quick setup
- OAuth 2.0 Authentication - Best for third-party applications accessing user accounts
API Key Authentication
To setup your GetResponse app in Refold for API Key, you will need the following credentials from your GetResponse account:- API Key
Pre-requisites
- GetResponse account with API access.
API keys expire after 90 days if unused. When that happens, you’ll need to generate a new key to continue using the API.
Getting API credentials in GetResponse
To acquire the above mentioned credentials from GetResponse, please follow the steps mentioned below:- Log in to your GetResponse account at
https://app.getresponse.com. - Navigate to Tools → Integrations and API → API in the menu.
- Click on the Generate API key button to create a new API key.
- Enter a descriptive Name for your API key to identify its purpose.
- Click Generate to create the API key.
- Copy the generated API Key immediately and store it securely.
- The API uses a custom header format:
X-Auth-Token: api-key YOUR_API_KEY. - The API base URL is
https://api.getresponse.com/v3/.
Configuring API Key credentials in Refold
App settings page lets you configure the authentication settings for anAPI Key based application. For your customers to provide you authorization to access their data, they would first need to install your application. This page lets you set up your application credentials.
Provide the acquired API Key under Settings of the app and save it.
OAuth 2.0 Authentication
To setup your GetResponse app in Refold for OAuth, you will need the following credentials from your GetResponse Developer account:- Client ID
- Client Secret
- Scopes
Pre-requisites
- GetResponse account with access to create OAuth applications.
If you haven’t already created an app in GetResponse, you’d need to create one. GetResponse supports Authorization Code, Client Credentials, Implicit, and Refresh Token OAuth flows.
Creating an app in GetResponse
To create a GetResponse app and acquire the above mentioned credentials, please follow the steps mentioned below:- Log in to your GetResponse account at
https://app.getresponse.com. - Navigate to
https://app.getresponse.com/authorizationsto access the Connected Applications page.
- Click on Add new application to create a new OAuth application.
- Enter a Name, Description, and upload a Logo for your application.
- Enter a Redirect URL - this is the URL to which GetResponse will redirect users during the authorization process.
- Go to your
Apps catalogin Refold > Search forGetResponse>Settings>Use your credentials>Callback Url> Copy it. - Paste the Callback Url in the Redirect URL field in GetResponse > Click Save or Add.
- Once the application is registered, click on the app name to view your Client ID and Client Secret Key.
Configuring OAuth credentials in Refold
App settings page lets you configure the authentication settings for anOAuth2 based application. For your customers to provide you authorization to access their data, they would first need to install your application. This page lets you set up your application credentials.
Provide the acquired Client ID and Client Secret under Settings of the app and save it.
Configuring Scopes
Refold lets you configure what permissions to ask from your users while they install your application. The scopes can be added or removed from the App settings page, underPermissions & Scopes section.
For some applications Refold sets mandatory scopes which cannot be removed. Additional scopes can be selected from the drop down. Refold also has the provision to add any custom scopes supported by the respective platform.
Once the scopes has been added to the application in Refold, ensure your GetResponse OAuth application has the necessary permissions configured. GetResponse OAuth tokens provide access based on the account permissions of the authorizing user.
Actions and triggers
Once the above setup is completed, you can create orchestrations of your use-cases using GetResponse actions and triggers. Following are the set of GetResponse actions and triggers supported by Refold.- Actions
- Triggers
Campaign
Campaign
- List Campaigns - List all campaigns in GetResponse.
- Create Campaign - Create a new campaign in GetResponse.
- Update Campaign - Update an existing campaign in GetResponse.
Contact
Contact
- List Contacts - List all contacts in GetResponse.
- Create Contact - Create a new contact in GetResponse.
- Update Contact - Update an existing contact in GetResponse.
- Get Contact by ID - Get a contact by ID in GetResponse.
Tag
Tag
- Create Tag - Create a new tag in GetResponse.
- Update Tag - Update an existing tag in GetResponse.
Others
Others
- HTTP Request - Make HTTP API calls to any GetResponse documented REST APIs.
- Incremental Sync - Check for new data in the endpoint.