API Collections
To help you get started faster with the GetResponse API, we provide ready-to-use collections for the most popular API client tools: Postman and Bruno.
Each collection contains a set of pre-configured requests covering the GetResponse API v3 endpoints, so you can explore and test the API without writing any code.
Postman collection
Postman is a popular API platform for building and using APIs.
How to use it
- Download and unzip the collection.
- Open Postman and go to Import.
- Select the extracted
.jsonfile. - Set up your
X-Auth-Token(or OAuth 2.0) authentication as described in the Authentication section.
Example environment
The collection uses Postman environment variables so you don't have to hardcode your credentials in every request. Below is an example environment file — create your own with these variables (values are anonymized, so replace them with your own data):
json
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "GetResponse API",
"values": [
{
"key": "url",
"value": "https://api.getresponse.com",
"enabled": true
},
{
"key": "token",
"value": "your-api-key",
"enabled": true
},
{
"key": "domain",
"value": "your-domain.com",
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2024-01-01T00:00:00.000Z",
"_postman_exported_using": "Postman/11.0.0"
}url— the base URL of the API you want to call, e.g.https://api.getresponse.com(GetResponse MAX clients should use their own API domain, e.g.https://api3.getresponse360.pl).token— your API key, used in theX-Auth-Tokenheader as described in the Authentication section.domain— required for GetResponse MAX clients only. Your account's domain, sent in theX-Domainheader. See the GetResponse MAX section for details.
NOTE
You can import this file as a new environment in Postman (Environments > Import), or create a new environment manually and add these variables yourself.
Bruno collection
Bruno is a fast, open-source, git-friendly API client — an alternative to Postman.
How to use it
- Download and unzip the collection.
- Open Bruno and choose Open Collection.
- Select the extracted collection folder.
- Set up your
X-Auth-Token(or OAuth 2.0) authentication as described in the Authentication section.
Example environment
Bruno also uses environments to store variables like your API key, so you don't have to hardcode them in every request. The same url, token and domain variables described in the Postman example environment above apply here as well — only the way you set them up is different:
- Open the collection in Bruno.
- In the top-right corner, open the environment selector and choose Configure.
- Create a new environment (or select an existing one bundled with the collection) and add the
url,tokenanddomainvariables with your own values. - Save the environment and select it from the environment selector so it's used for your requests.
NOTE
Both collections are updated occasionally and might not include the newest endpoints.
