{"openapi":"3.0.0","info":{"description":"GetResponse email marketing and automation API - manage campaigns, contacts, newsletters, webinars and ecommerce data with a static API key sent in the X-Auth-Token header","version":[{"name":"3","value":""}]},"servers":[{"description":"GetResponse email marketing and automation API - manage campaigns, contacts, newsletters, webinars and ecommerce data with a static API key sent in the X-Auth-Token header","url":"https://api.apirails.com/getresponse"}],"paths":{"/webinars/{webinarId}":{"get":{"tags":["Marketing Email"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getWebinarById","api_endpoint":"https://api.getresponse.com/v3/webinars/{webinarId}"},"summary":"Get a webinar by ID","description":"Get a webinar by ID | Get a webinar by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/contacts/{contactId}/activities":{"get":{"tags":["Contacts"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"query[createdOn][from] (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"query[createdOn][to] (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getActivities","api_endpoint":"https://api.getresponse.com/v3/contacts/{contactId}/activities"},"summary":"Get a list of contact activities","description":"Get a list of contact activities | By default, only activities from the last 14 days are returned. To get earlier data, use `query[createdOn]` parameter. You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/campaigns/{campaignId}/contacts":{"get":{"tags":["Contacts"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Return only contacts created on or after the given date. Use ISO 8601 format","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Return only contacts created on or before the given date. Use ISO 8601 format","required":false,"schema":{"type":"string","example":""}},{"name":"query[email]","in":"query","description":"Search contacts by email","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search contacts by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort contacts by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[email]","in":"query","description":"Sort contacts by email","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort contacts by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getContactsFromCampaign","api_endpoint":"https://api.getresponse.com/v3/campaigns/{campaignId}/contacts"},"summary":"Get contacts from a single campaign","description":"Get contacts from a single campaign | Provides all contacts from a single campaign. You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/contacts/{contactId}/custom-fields":{"post":{"tags":["Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#upsertContactCustoms","api_endpoint":"https://api.getresponse.com/v3/contacts/{contactId}/custom-fields"},"summary":"Upsert the custom fields of a contact","description":"Upsert the custom fields of a contact | Upsert (add or update) the custom fields of a contact. This method doesn't remove (unassign) custom fields. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"customFieldValues":{"type":"array","description":"body.customFieldValues (array field from the documented request schema)","required":true,"items":{"type":"object","properties":{"customFieldId":{"type":"string","description":"Custom field ID","required":true},"value":{"type":"array","description":"body.customFieldValues.value (array field from the documented request schema)","required":true}}}}}},"example":{"customFieldValues":[[{"customFieldId":"kL6Nh","value":["18-35"]}]]}}}}}},"/contacts/{contactId}/tags":{"post":{"tags":["Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#upsertTags","api_endpoint":"https://api.getresponse.com/v3/contacts/{contactId}/tags"},"summary":"Upsert the tags of a contact","description":"Upsert the tags of a contact | Upsert (add or update) the tags of a contact. This method doesn't remove (unassign) tags. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"tags":{"type":"array","description":"body.tags (array field from the documented request schema)","required":true,"items":{"type":"object","properties":{"tagId":{"type":"string","description":"body.tags.tagId (string field from the documented request schema)","required":true}}}}}},"example":{"tags":[[{"tagId":"m7E2"}]]}}}}}},"/contacts/{contactId}":{"get":{"tags":["Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getContactById","api_endpoint":"https://api.getresponse.com/v3/contacts/{contactId}"},"summary":"Get contact details by contact ID","description":"Get contact details by contact ID | Returns all available information about an active (non-deleted) contact identified by `contactId`. The response includes basic contact data, associated tags, and values of custom fields | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateContact","api_endpoint":"https://api.getresponse.com/v3/contacts/{contactId}"},"summary":"Update contact details","description":"Update contact details | Skip the fields you don't want to update. If tags and custom fields are provided, they'll be **replaced** with the values sent in this request.  If the `campaignId` changes, the contact will be moved from the original campaign (list) to the new campaign (list). Their activity history and statistics will also be moved. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"activities":{"type":"string","description":"body.activities (string field from the documented request schema)"},"campaign":{"type":"object","description":"body.campaign (object field from the documented request schema)","properties":{"campaignId":{"type":"string","description":"Campaign ID"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"The campaign name"}}},"changedOn":{"type":"string","description":"body.changedOn (string field from the documented request schema)"},"contactId":{"type":"string","description":"body.contactId (string field from the documented request schema)"},"createdOn":{"type":"string","description":"body.createdOn (string field from the documented request schema)"},"dayOfCycle":{"type":"string","description":"The day on which the contact is in the Autoresponder cycle. `null` indicates the contacts is not in the cycle."},"email":{"type":"string","description":"body.email (string field from the documented request schema)"},"engagementScore":{"type":"number","description":"Engagement Score is a feature that presents a visual estimate of a contact's engagement with mailings. The score is based on the contact's interactions with your e-mails. Via API, it's returned in the form of numbers ranging from 1 (Not Engaged) to 5 (Highly Engaged)."},"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"body.name (string field from the documented request schema)"},"note":{"type":"string","description":"body.note (string field from the documented request schema)"},"origin":{"type":"string","description":"body.origin (string field from the documented request schema)"},"scoring":{"type":"number","description":"Contact scoring, pass null to remove the score from a contact"},"timeZone":{"type":"string","description":"The time zone of a contact, uses the time zone database format (https://www.iana.org/time-zones)"}}},"example":{"activities":["https://api.getresponse.com/v3/contacts/pV3r/activities"],"campaign":[{"campaignId":"C","href":"https://api.getresponse.com/v3/campaigns/C","name":"Promo campaign"}],"changedOn":["2017-12-19T13:11:48+0000"],"contactId":["pV3r"],"createdOn":["2017-03-02T07:30:49+0000"],"dayOfCycle":["42"],"email":["john.doe@example.com"],"engagementScore":[3],"href":["https://api.getresponse.com/v3/contacts/pV3r"],"name":["John Doe"],"note":["string"],"origin":["import"],"scoring":[8],"timeZone":["Europe/Warsaw"]}}}}},"delete":{"tags":["Contacts"],"parameters":[{"name":"ipAddress","in":"query","description":"This makes it possible to pass the IP from which the contact unsubscribed. Used only if the `messageId` was send.","required":false,"schema":{"type":"string","example":""}},{"name":"messageId","in":"query","description":">\nThe ID of a message (such as a newsletter, an autoresponder, or an RSS-newsletter).\nWhen passed, this method will simulate the unsubscribe process, as if the contact clicked the unsubscribe link in a given message.","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteContact","api_endpoint":"https://api.getresponse.com/v3/contacts/{contactId}"},"summary":"Delete a contact by contact ID","description":"Delete a contact by contact ID | Delete a contact by contact ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/search-contacts/{searchContactId}":{"get":{"tags":["Search Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSearchContactsById","api_endpoint":"https://api.getresponse.com/v3/search-contacts/{searchContactId}"},"summary":"Get search contacts by contact ID.","description":"Get search contacts by contact ID. | Get the definition of a specific contact-search filter. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Search Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateSearchContacts","api_endpoint":"https://api.getresponse.com/v3/search-contacts/{searchContactId}"},"summary":"Update search contacts","description":"Update search contacts | Update specified search contacts. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"subscribersType":{"type":"array","description":"Only one subscription status","items":{"type":"string"}}}},"example":{"subscribersType":[["subscribed"]]}}}}},"delete":{"tags":["Search Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteSearchContacts","api_endpoint":"https://api.getresponse.com/v3/search-contacts/{searchContactId}"},"summary":"Delete search contacts","description":"Delete search contacts | Delete search contacts | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/search-contacts/{searchContactId}/contacts":{"get":{"tags":["Search Contacts"],"parameters":[{"name":"sort[createdOn]","in":"query","description":"Sort by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[email]","in":"query","description":"Sort by email","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getContactsByIdSearchContacts","api_endpoint":"https://api.getresponse.com/v3/search-contacts/{searchContactId}/contacts"},"summary":"Get contacts by search contacts ID","description":"Get contacts by search contacts ID | Get contacts from saved search contacts by ID. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/search-contacts/{searchContactId}/custom-fields":{"post":{"tags":["Search Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#upsertCustomFieldsBySearchContactId","api_endpoint":"https://api.getresponse.com/v3/search-contacts/{searchContactId}/custom-fields"},"summary":"Upsert custom fields by search contacts","description":"Upsert custom fields by search contacts | Makes it possible to add and update custom field values for all contacts that meet the search criteria. This method doesn't remove or overwrite custom fields with the values from the request. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"customFieldValues":{"type":"array","description":"body.customFieldValues (array field from the documented request schema)","required":true,"items":{"type":"object","properties":{"customFieldId":{"type":"string","description":"Custom field ID","required":true},"value":{"type":"array","description":"body.customFieldValues.value (array field from the documented request schema)","required":true}}}}}},"example":{"customFieldValues":[[{"customFieldId":"kL6Nh","value":["18-35"]}]]}}}}}},"/transactional-emails/templates/{transactionalEmailTemplateId}":{"get":{"tags":["Transactional Emails Templates"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTransactionalEmailsTemplatesById","api_endpoint":"https://api.getresponse.com/v3/transactional-emails/templates/{transactionalEmailTemplateId}"},"summary":"Get a single template by ID","description":"Get a single template by ID | Get a single template by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Transactional Emails Templates"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateTransactionalEmailsTemplate","api_endpoint":"https://api.getresponse.com/v3/transactional-emails/templates/{transactionalEmailTemplateId}"},"summary":"Update transactional email template","description":"Update transactional email template | This method allows you to update transactional email template | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"content":{"type":"object","description":"The template content. At least one field is required","properties":{"html":{"type":"string","description":"The template content in HTML"},"plain":{"type":"string","description":"The plain text equivalent of template content"}}},"subject":{"type":"string","description":"The template subject"}}},"example":{"content":[{"html":"<h1>Your order has been confirmed</h1><strong>Thank you for shopping with us!</strong>","plain":"Your order has been confirmed. Thank you for shopping with us!"}],"subject":["Order Confirmation - Example Shop"]}}}}},"delete":{"tags":["Transactional Emails Templates"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteTransactionalEmailsTemplate","api_endpoint":"https://api.getresponse.com/v3/transactional-emails/templates/{transactionalEmailTemplateId}"},"summary":"Delete transactional email template","description":"Delete transactional email template | Delete transactional email template | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/transactional-emails/{transactionalEmailId}":{"get":{"tags":["Transactional Emails"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTransactionalEmailsById","api_endpoint":"https://api.getresponse.com/v3/transactional-emails/{transactionalEmailId}"},"summary":"Get transactional email details by transactional email ID","description":"Get transactional email details by transactional email ID | Get transactional email details by transactional email ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/from-fields/{fromFieldId}":{"get":{"tags":["From Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getFromFieldById","api_endpoint":"https://api.getresponse.com/v3/from-fields/{fromFieldId}"},"summary":"Get a single 'From' address by ID","description":"Get a single 'From' address by ID | Get a single 'From' address by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["From Fields"],"parameters":[{"name":"fromFieldIdToReplaceWith","in":"query","description":"The 'From' address ID that should replace the deleted 'From' address","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteFromField","api_endpoint":"https://api.getresponse.com/v3/from-fields/{fromFieldId}"},"summary":"Delete 'From' address","description":"Delete 'From' address | Delete 'From' address | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/from-fields/{fromFieldId}/default":{"post":{"tags":["From Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#setFromFieldAsDefault","api_endpoint":"https://api.getresponse.com/v3/from-fields/{fromFieldId}/default"},"summary":"Set a 'From' address as default","description":"Set a 'From' address as default | Set a 'From' address as default | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/rss-newsletters/{rssNewsletterId}":{"get":{"tags":["RSS Newsletters"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getRssNewsletterById","api_endpoint":"https://api.getresponse.com/v3/rss-newsletters/{rssNewsletterId}"},"summary":"Get RSS newsletter by ID","description":"Get RSS newsletter by ID | Get RSS newsletter by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["RSS Newsletters"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateRssNewsletter","api_endpoint":"https://api.getresponse.com/v3/rss-newsletters/{rssNewsletterId}"},"summary":"Update RSS newsletter","description":"Update RSS newsletter | Update RSS newsletter | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"flags":{"type":"array","description":"The message flags.","items":{"type":"string"}}}},"example":{"flags":[["clicktrack"]]}}}}},"delete":{"tags":["RSS Newsletters"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteRssNewsletter","api_endpoint":"https://api.getresponse.com/v3/rss-newsletters/{rssNewsletterId}"},"summary":"Delete RSS newsletter","description":"Delete RSS newsletter | Delete RSS newsletter | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/rss-newsletters/{rssNewsletterId}/statistics":{"get":{"tags":["RSS Newsletters"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Count data from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Count data to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[groupBy]","in":"query","description":"Group results by time interval","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["total","hour","day","month"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSingleRssNewsletterStatisticsCollection","api_endpoint":"https://api.getresponse.com/v3/rss-newsletters/{rssNewsletterId}/statistics"},"summary":"Get RSS newsletter statistics by ID","description":"Get RSS newsletter statistics by ID | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/shops/{shopId}/taxes":{"get":{"tags":["Taxes"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Search tax created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search tax created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search tax by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTaxList","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/taxes"},"summary":"Get a list of taxes","description":"Get a list of taxes | Sending **GET** request to this URL returns a collection of tax resources that belong to the given shop.\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below, in the request params section). You can basically search by:\n * name\n * createdOn\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Taxes"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createTax","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/taxes"},"summary":"Create tax","description":"Create tax | Sending a **POST** request to this URL will create a new tax resource.\nIn order to create a new tax, you need to send a tax resource in the body of the request (remember that you need to serialize the body into a JSON string) | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"The tax name","required":true},"rate":{"type":"number","description":"The rate value","required":true},"taxId":{"type":"string","description":"The tax ID"}}},"example":{"href":["https://api.getresponse.com/v3/shops/pf3/taxes/Sk"],"name":["VAT"],"rate":[23],"taxId":["Sk"]}}}}}},"/shops/{shopId}/taxes/{taxId}":{"get":{"tags":["Taxes"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTaxById","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/taxes/{taxId}"},"summary":"Get a single tax by ID","description":"Get a single tax by ID | This method returns tax with a given `taxId` in the context of a given `shopId` | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Taxes"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateTax","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/taxes/{taxId}"},"summary":"Update tax","description":"Update tax | Update the properties of the shop tax. You should only send the fields that need to be changed. The rest of the properties will stay the same. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"The tax name"},"rate":{"type":"number","description":"The rate value"},"taxId":{"type":"string","description":"The tax ID"}}},"example":{"href":["https://api.getresponse.com/v3/shops/pf3/taxes/Sk"],"name":["VAT"],"rate":[23],"taxId":["Sk"]}}}}},"delete":{"tags":["Taxes"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteTax","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/taxes/{taxId}"},"summary":"Delete tax by ID","description":"Delete tax by ID | Delete tax by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/custom-events/{customEventId}":{"get":{"tags":["Custom Events"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCustomEventById","api_endpoint":"https://api.getresponse.com/v3/custom-events/{customEventId}"},"summary":"Get custom events by custom event ID","description":"Get custom events by custom event ID | Get custom events by custom event ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Custom Events"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateCustomEvent","api_endpoint":"https://api.getresponse.com/v3/custom-events/{customEventId}"},"summary":"Update custom event details","description":"Update custom event details | Update custom event details | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"attributes":{"type":"array","description":"Optional collection of attributes","required":true,"items":{"type":"object","properties":{"customEventAttributeId":{"type":"string","description":"body.attributes.customEventAttributeId (string field from the documented request schema)"}}}},"name":{"type":"string","description":"Unique name of custom event","required":true}}},"example":{"attributes":[[{"customEventAttributeId":"gt7"}]],"name":["sample_custom_event"]}}}}},"delete":{"tags":["Custom Events"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteCustomEvent","api_endpoint":"https://api.getresponse.com/v3/custom-events/{customEventId}"},"summary":"Delete a custom event by custom event ID","description":"Delete a custom event by custom event ID | Delete a custom event by custom event ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/forms/{formId}":{"get":{"tags":["Forms"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getForm","api_endpoint":"https://api.getresponse.com/v3/forms/{formId}"},"summary":"Get form by ID","description":"Get form by ID | Get form by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/forms/{formId}/variants":{"get":{"tags":["Forms"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getFormVariantList","api_endpoint":"https://api.getresponse.com/v3/forms/{formId}/variants"},"summary":"Get the list of form variants (A/B tests)","description":"Get the list of form variants (A/B tests) | Get the list of form variants (A/B tests) | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/landing-pages/{landingPageId}":{"get":{"tags":["Legacy Landing Pages"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getLandingPageById","api_endpoint":"https://api.getresponse.com/v3/landing-pages/{landingPageId}"},"summary":"Get single landing page by ID","description":"Get single landing page by ID | Get single landing page by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/imports/{importId}":{"get":{"tags":["Imports"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getImportById","api_endpoint":"https://api.getresponse.com/v3/imports/{importId}"},"summary":"Get import details by ID.","description":"Get import details by ID. | Get import details by ID. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/statistics/sms/{smsId}":{"get":{"tags":["Sms"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Get statistics for a single SMS from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Get statistics for a single SMS to this date","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSmsStats","api_endpoint":"https://api.getresponse.com/v3/statistics/sms/{smsId}"},"summary":"Get details for the SMS message statistics","description":"Get details for the SMS message statistics | Get details for the SMS message statistics | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/predefined-fields/{predefinedFieldId}":{"get":{"tags":["Predefined Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getPredefinedFieldById","api_endpoint":"https://api.getresponse.com/v3/predefined-fields/{predefinedFieldId}"},"summary":"Get a predefined field by ID","description":"Get a predefined field by ID | Get detailed information about a specified predefined field. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Predefined Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updatePredefinedField","api_endpoint":"https://api.getresponse.com/v3/predefined-fields/{predefinedFieldId}"},"summary":"Update a predefined field","description":"Update a predefined field | Update a predefined field | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"value":{"type":"string","description":"body.value (string field from the documented request schema)","required":true}}},"example":{"value":["my_new_value"]}}}}},"delete":{"tags":["Predefined Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deletePredefinedField","api_endpoint":"https://api.getresponse.com/v3/predefined-fields/{predefinedFieldId}"},"summary":"Delete a predefined field","description":"Delete a predefined field | Delete a predefined field | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/shops/{shopId}/categories":{"get":{"tags":["Categories"],"parameters":[{"name":"query[externalId]","in":"query","description":"Search categories by external ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search category by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[parentId]","in":"query","description":"Search categories by their parent","required":false,"schema":{"type":"string","example":""}},{"name":"search[createdAt][from]","in":"query","description":"Show categories starting from this date","required":false,"schema":{"type":"string","example":""}},{"name":"search[createdAt][to]","in":"query","description":"Show categories starting to this date","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdAt]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCategories","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/categories"},"summary":"Get the shop categories list","description":"Get the shop categories list | Sending a **GET** request to this URL returns a collection of category resources that belong to the given shop.\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below in the request params section). You can basically search by:\n *name\n * createdOn\n * parentId\nThe `name` fields can be a pattern and we'll try to match this phrase.\nThe `parentId` will search for sub-categories of a given parent category.\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Categories"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createCategory","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/categories"},"summary":"Create category","description":"Create category | Create shop category. You can pass the `parentId` parameter to create a sub-category of a given parent. Unlike most **POST** methods, this call is idempotent, that is: sending the same request 10 times will not create 10 new categories. Only one category will be created. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"categoryId":{"type":"string","description":"The category ID"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the category given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"isDefault":{"type":"boolean","description":"This is a default category","enum":[true,false]},"name":{"type":"string","description":"The name of the category","required":true},"parentId":{"type":"string","description":"The parent category ID"},"url":{"type":"string","description":"The external URL to the category"}}},"example":{"categoryId":["atQ"],"externalId":["ext3343"],"href":["https://api.getresponse.com/v3/shops/pf3/categories/atQ"],"isDefault":[true],"name":["Headwear"],"parentId":["amh"],"url":["https://somedomain.com/category/446"]}}}}}},"/shops/{shopId}/categories/{categoryId}":{"get":{"tags":["Categories"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCategory","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/categories/{categoryId}"},"summary":"Get a single category by ID","description":"Get a single category by ID | This method returns a category according to the given `categoryId`. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Categories"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateCategory","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/categories/{categoryId}"},"summary":"Update category","description":"Update category | Update the properties of the shop category. You can specify a `parentId` to assign a category as sub-category for an existing category. You should send only those fields that need to be changed. The rest of the properties will stay the same. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"categoryId":{"type":"string","description":"The category ID"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the category given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"isDefault":{"type":"boolean","description":"This is a default category","enum":[true,false]},"name":{"type":"string","description":"The name of the category"},"parentId":{"type":"string","description":"The parent category ID"},"url":{"type":"string","description":"The external URL to the category"}}},"example":{"categoryId":["atQ"],"externalId":["ext3343"],"href":["https://api.getresponse.com/v3/shops/pf3/categories/atQ"],"isDefault":[true],"name":["Headwear"],"parentId":["amh"],"url":["https://somedomain.com/category/446"]}}}}},"delete":{"tags":["Categories"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteCategory","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/categories/{categoryId}"},"summary":"Delete category","description":"Delete category | Delete category | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/suppressions/{suppressionId}":{"get":{"tags":["Suppressions"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSuppressionById","api_endpoint":"https://api.getresponse.com/v3/suppressions/{suppressionId}"},"summary":"Get a suppression list by ID","description":"Get a suppression list by ID | Get a suppression list by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Suppressions"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateSuppression","api_endpoint":"https://api.getresponse.com/v3/suppressions/{suppressionId}"},"summary":"Update a suppression list by ID","description":"Update a suppression list by ID | Update a suppression list by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"masks":{"type":"array","description":"body.masks (array field from the documented request schema)","required":true,"items":{"type":"string"}},"name":{"type":"string","description":"The name of the suppression list","required":true}}},"example":{"masks":[["@example.com"]],"name":["suppression-name"]}}}}},"delete":{"tags":["Suppressions"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteSuppression","api_endpoint":"https://api.getresponse.com/v3/suppressions/{suppressionId}"},"summary":"Deletes a given suppression list by ID","description":"Deletes a given suppression list by ID | Deletes a given suppression list by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/shops/{shopId}/orders":{"get":{"tags":["Orders"],"parameters":[{"name":"query[description]","in":"query","description":"Search order by description","required":false,"schema":{"type":"string","example":""}},{"name":"query[externalId]","in":"query","description":"Search order by external ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[processedAt][from]","in":"query","description":"Show orders processed from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[processedAt][to]","in":"query","description":"Show orders processed to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search order by status","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getOrderList","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/orders"},"summary":"Get the list of orders","description":"Get the list of orders | Sending a  **GET** request to this URL returns a collection of order resources that belong to the given shop.\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below in the request params section). You can basically search by:\n * description\n * status\n * externalId\n * processedAt\nThe `description` fields can be a pattern and we'll try to match this phrase.\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Orders"],"parameters":[{"name":"additionalFlags","in":"query","description":"The additional flags parameter with the value `skipAutomation` will skip the triggering `Make a purchase` element in an automated workflow","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createOrder","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/orders"},"summary":"Create order","description":"Create order | Sending a **POST** request to this URL will create a new order resource.\nIn order to create a new order, you need to send the order resource in the body of the request (remember that you need to serialize the body into a JSON string). | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"selectedVariants":{"type":"array","description":"body.selectedVariants (array field from the documented request schema)","required":true,"items":{"type":"object","properties":{"href":{"type":"string","description":"Direct hyperlink to a resource"},"price":{"type":"number","description":"The product variant price","required":true},"priceTax":{"type":"number","description":"The product variant price tax"},"quantity":{"type":"number","description":"The product variant quantity","required":true},"taxes":{"type":"array","description":"body.selectedVariants.taxes (array field from the documented request schema)"},"variantId":{"type":"string","description":"The ID of a selected variant. You must first create a variant using: \n`POST` [Create product](https://apireference.getresponse.com/#operation/createProduct) \n`POST` [Create product variant](https://apireference.getresponse.com/#operation/createProductVariant)\n or get ID from variants created already:\n  `GET` [Get a list of product variants](https://apireference.getresponse.com/#operation/getProductVariantList)","required":true}}}}}},"example":{"selectedVariants":[[{"href":"https://api.getresponse.com/v3/shops/aS/products/Rf/variants/aBc","price":840,"priceTax":428,"quantity":"2","taxes":[{"href":"https://api.getresponse.com/v3/shops/pf3/taxes/Sk","name":"VAT","rate":23,"taxId":"Sk"}],"variantId":"p"}]]}}}}}},"/shops/{shopId}/orders/{orderId}":{"get":{"tags":["Orders"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getOrderById","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/orders/{orderId}"},"summary":"Get a single order by ID","description":"Get a single order by ID | This method returns the order according to the given `orderId`. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Orders"],"parameters":[{"name":"additionalFlags","in":"query","description":"The additional flags parameter with the value `skipAutomation` will skip the triggering `Make a purchase` element in an automated workflow","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateOrder","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/orders/{orderId}"},"summary":"Update order","description":"Update order | Update the properties of a shop's order. You should send only those fields that need to be changed. The rest of the properties will stay the same.\nHowever, in case of `billingAddress` and `shippingAddress`, you must send the entire representation. Individual fields can't be updated.\nIf you want to update individual fields of an address, you can do so using `POST /v3/addresses/{addressId}`.\nIn case of `selectedVariants`, when the collection is updated, the old collection is completely removed. The same goes for meta fields.\nIndividual fields can't be updated either. The full representations of `selectedVariants` and `metaFields` must be sent instead. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"billingAddress":{"type":"object","description":"The billing address for an order","properties":{"address1":{"type":"string","description":"Address line 1"},"address2":{"type":"string","description":"Address line 2"},"addressId":{"type":"string","description":"body.billingAddress.addressId (string field from the documented request schema)"},"city":{"type":"string","description":"body.billingAddress.city (string field from the documented request schema)"},"company":{"type":"string","description":"The company name, free text"},"countryCode":{"type":"string","description":"The country code (ISO 3166-1 alpha-3)","required":true},"countryName":{"type":"string","description":"The country name, based on `countryCode`"},"firstName":{"type":"string","description":"body.billingAddress.firstName (string field from the documented request schema)"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"lastName":{"type":"string","description":"body.billingAddress.lastName (string field from the documented request schema)"},"name":{"type":"string","description":"body.billingAddress.name (string field from the documented request schema)","required":true},"phone":{"type":"string","description":"The phone number, free text"},"province":{"type":"string","description":"body.billingAddress.province (string field from the documented request schema)"},"provinceCode":{"type":"string","description":"The province code, free text"},"zip":{"type":"string","description":"The ZIP/postal code, free text"}}},"billingStatus":{"type":"string","description":"The billing status of an order"},"cartId":{"type":"string","description":"Create a cart by using `POST /v3/shops/{shopId}/carts`"},"contactId":{"type":"string","description":"Create a contact by using `POST /v3/contacts`. Or, if the contact already exists, using `GET /v3/contacts`"},"currency":{"type":"string","description":"The order currency code (ISO 4217)"},"description":{"type":"string","description":"The order description"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the order given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFields":{"type":"array","description":"body.metaFields (array field from the documented request schema)","items":{"type":"object","properties":{"description":{"type":"string","description":"The meta field description"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFieldId":{"type":"string","description":"The meta field ID"},"name":{"type":"string","description":"The meta field name","required":true},"value":{"type":"string","description":"The meta field value","required":true},"valueType":{"type":"string","description":"The value type enumerable","required":true}}}},"orderId":{"type":"string","description":"The order ID"},"orderUrl":{"type":"string","description":"The external URL for an order"},"processedAt":{"type":"string","description":"The exact time an order was made"},"shippingAddress":{"type":"object","description":"The shipping address for an order","properties":{"address1":{"type":"string","description":"Address line 1"},"address2":{"type":"string","description":"Address line 2"},"addressId":{"type":"string","description":"body.shippingAddress.addressId (string field from the documented request schema)"},"city":{"type":"string","description":"body.shippingAddress.city (string field from the documented request schema)"},"company":{"type":"string","description":"The company name, free text"},"countryCode":{"type":"string","description":"The country code (ISO 3166-1 alpha-3)","required":true},"countryName":{"type":"string","description":"The country name, based on `countryCode`"},"firstName":{"type":"string","description":"body.shippingAddress.firstName (string field from the documented request schema)"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"lastName":{"type":"string","description":"body.shippingAddress.lastName (string field from the documented request schema)"},"name":{"type":"string","description":"body.shippingAddress.name (string field from the documented request schema)","required":true},"phone":{"type":"string","description":"The phone number, free text"},"province":{"type":"string","description":"body.shippingAddress.province (string field from the documented request schema)"},"provinceCode":{"type":"string","description":"The province code, free text"},"zip":{"type":"string","description":"The ZIP/postal code, free text"}}},"shippingPrice":{"type":"number","description":"The shipping price for an order"},"status":{"type":"string","description":"The status value"},"totalPrice":{"type":"number","description":"The total price of an order"},"totalPriceTax":{"type":"number","description":"The total price tax of an order"}}},"example":{"billingAddress":[{"address1":"Arkonska 6","address2":"","addressId":"k9","city":"Gdansk","countryCode":"POL","countryName":"Poland","firstName":"John","href":"https://api.getresponse.com/v3/addresses/k9","lastName":"Doe","name":"some_shipping_address","province":"pomorskie","zip":"80-387"}],"billingStatus":["PENDING"],"cartId":["QBNgBR"],"contactId":["k8u"],"currency":["PLN"],"description":["More information about order."],"externalId":["DH71239"],"href":["https://api.getresponse.com/v3/shops/pf3/orders/fOh"],"metaFields":[[{"description":"Description of this meta field","href":"https://api.getresponse.com/v3/shops/pf3/meta-fields/NoF","metaFieldId":"NoF","name":"Shoe size","value":"11","valueType":"integer"}]],"orderId":["fOh"],"orderUrl":["https://somedomain.com/orders/order446"],"processedAt":["string"],"shippingAddress":[{"address1":"Arkonska 6","address2":"","addressId":"k9","city":"Gdansk","countryCode":"POL","countryName":"Poland","firstName":"John","href":"https://api.getresponse.com/v3/addresses/k9","lastName":"Doe","name":"some_shipping_address","province":"pomorskie","zip":"80-387"}],"shippingPrice":[23],"status":["NEW"],"totalPrice":[716],"totalPriceTax":[358.67]}}}}},"delete":{"tags":["Orders"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteOrder","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/orders/{orderId}"},"summary":"Delete order","description":"Delete order | Delete order | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/shops/{shopId}/products":{"get":{"tags":["Products"],"parameters":[{"name":"query[categoryId]","in":"query","description":"Search products by category ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[category]","in":"query","description":"Search products by category name","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Search products created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search products created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[externalId]","in":"query","description":"Search products by external ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[metaFieldNames]","in":"query","description":"Search products by meta field name (the list of names must be separated by a comma [,])","required":false,"schema":{"type":"string","example":""}},{"name":"query[metaFieldValues]","in":"query","description":"Search products by meta field value (the list of values must be separated by a comma [,])","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search products by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[variantName]","in":"query","description":"Search products by product variant name","required":false,"schema":{"type":"string","example":""}},{"name":"query[vendor]","in":"query","description":"Search products by vendor","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getProductList","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products"},"summary":"Get a product list.","description":"Get a product list. | Sending a **GET** request to this URL returns a collection of product resources that belong to the given shop.\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below in the request params section). You can basically search by:\n * name\n * vendor\n * category\n * categoryId\n * externalId\n * variantName\n * metaFieldNames\n * metaFieldValues\n * createdOn\nThe `metaFieldNames` and `metaFieldValues` fields can be a list of values separated by a comma [,].\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Products"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createProduct","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products"},"summary":"Create product","description":"Create product | Sending a **POST** request to this URL will create a new product resource.\nIn order to create a new product, you need to send the product resource in the body of the request (remember that you need to serialize the body into a JSON string)\nYou don't need a separate endpoint for each element (e.g. variant, category, meta-field). You can create them all with this method.\nPlease note that categories aren't required, but if a product has at least one category, then one of those categories must be marked as default.\nThis can be set by field `isDefault`. If  none of the elements contains isDefault=true, then the system picks the first one from the collection by default. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"The product type"},"categories":{"type":"array","description":"body.categories (array field from the documented request schema)","items":{"type":"object","properties":{"categoryId":{"type":"string","description":"The category ID"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the category given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"isDefault":{"type":"boolean","description":"This is a default category","enum":[true,false]},"name":{"type":"string","description":"The name of the category","required":true},"parentId":{"type":"string","description":"The parent category ID"},"url":{"type":"string","description":"The external URL to the category"}}}},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the product given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFields":{"type":"array","description":"body.metaFields (array field from the documented request schema)","items":{"type":"object","properties":{"description":{"type":"string","description":"The meta field description"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFieldId":{"type":"string","description":"The meta field ID"},"name":{"type":"string","description":"The meta field name","required":true},"value":{"type":"string","description":"The meta field value","required":true},"valueType":{"type":"string","description":"The value type enumerable","required":true}}}},"name":{"type":"string","description":"The product name","required":true},"productId":{"type":"string","description":"The product ID"},"url":{"type":"string","description":"The external URL for the product"},"variants":{"type":"array","description":"body.variants (array field from the documented request schema)","required":true,"items":{"type":"object","properties":{"barcode":{"type":"string","description":"The barcode of a variant"},"description":{"type":"string","description":"The description of a variant"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the variant given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"images":{"type":"array","description":"body.variants.images (array field from the documented request schema)"},"metaFields":{"type":"array","description":"body.variants.metaFields (array field from the documented request schema)"},"name":{"type":"string","description":"The product name","required":true},"position":{"type":"number","description":"The position of a variant"},"previousPrice":{"type":"number","description":"The price before the change"},"previousPriceTax":{"type":"number","description":"The price before the change including tax"},"price":{"type":"number","description":"The price","required":true},"priceTax":{"type":"number","description":"The price including tax","required":true},"quantity":{"type":"number","description":"The quantity of variant items"},"sku":{"type":"string","description":"The stock-keeping unit of a variant. Must be unique within the product","required":true},"taxes":{"type":"array","description":"body.variants.taxes (array field from the documented request schema)"},"url":{"type":"string","description":"The external URL to the product variant"},"variantId":{"type":"string","description":"The product ID"}}}},"vendor":{"type":"string","description":"The product vendor"}}},"example":{"type":["Headwear"],"categories":[[{"categoryId":"atQ","externalId":"ext3343","href":"https://api.getresponse.com/v3/shops/pf3/categories/atQ","isDefault":true,"name":"Headwear","parentId":"amh","url":"https://somedomain.com/category/446"}]],"externalId":["123456"],"href":["https://api.getresponse.com/v3/shops/pf3/products/9I"],"metaFields":[[{"description":"Description of this meta field","href":"https://api.getresponse.com/v3/shops/pf3/meta-fields/NoF","metaFieldId":"NoF","name":"Shoe size","value":"11","valueType":"integer"}]],"name":["Monster Cap"],"productId":["9I"],"url":["https://somedomain.com/products/456"],"variants":[[{"barcode":"12455687","href":"https://api.getresponse.com/v3/shops/pf3/products/9I/variants/VTB","name":"Red Monster Cap","position":1,"previousPrice":25,"previousPriceTax":33.6,"price":20,"priceTax":27.5,"quantity":1,"sku":"SKU-1254-56-457-5689","url":"https://somedomain.com/products-variants/986","variantId":"VTB"}]],"vendor":["GetResponse"]}}}}}},"/shops/{shopId}/products/{productId}":{"get":{"tags":["Products"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getProductById","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}"},"summary":"Get a single product by ID","description":"Get a single product by ID | This method returns product according to the given `productId` in the context of a given `shopId`. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Products"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateProduct","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}"},"summary":"Update product","description":"Update product | Update the properties of a shop's product. You should only send those fields that need to be changed. The remaining properties will stay the same.\nHowever, when updating variants, categories, and meta fields, you need to send entire collections. Individual fields can't be updated.\nIf you want to update particular fields, you can do so using their specific endpoints, i.e.:\n * categories - `POST /v3/shops/{shopId}/categories/{categoryId}`\n * variants - POST `/v3/shops/{shopId}/products/{productId}/variants/{variantId}`\n * metaFields - `POST /v3/shops/{shopId}/meta-fields/{metaFieldId}` | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"The product type"},"categories":{"type":"array","description":"body.categories (array field from the documented request schema)","items":{"type":"object","properties":{"categoryId":{"type":"string","description":"The category ID"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the category given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"isDefault":{"type":"boolean","description":"This is a default category","enum":[true,false]},"name":{"type":"string","description":"The name of the category","required":true},"parentId":{"type":"string","description":"The parent category ID"},"url":{"type":"string","description":"The external URL to the category"}}}},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the product given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFields":{"type":"array","description":"body.metaFields (array field from the documented request schema)","items":{"type":"object","properties":{"description":{"type":"string","description":"The meta field description"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFieldId":{"type":"string","description":"The meta field ID"},"name":{"type":"string","description":"The meta field name","required":true},"value":{"type":"string","description":"The meta field value","required":true},"valueType":{"type":"string","description":"The value type enumerable","required":true}}}},"name":{"type":"string","description":"The product name"},"productId":{"type":"string","description":"The product ID"},"url":{"type":"string","description":"The external URL for the product"},"variants":{"type":"array","description":"body.variants (array field from the documented request schema)","items":{"type":"object","properties":{"barcode":{"type":"string","description":"The barcode of a variant"},"description":{"type":"string","description":"The description of a variant"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the variant given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"images":{"type":"array","description":"body.variants.images (array field from the documented request schema)"},"metaFields":{"type":"array","description":"body.variants.metaFields (array field from the documented request schema)"},"name":{"type":"string","description":"The product name","required":true},"position":{"type":"number","description":"The position of a variant"},"previousPrice":{"type":"number","description":"The price before the change"},"previousPriceTax":{"type":"number","description":"The price before the change including tax"},"price":{"type":"number","description":"The price","required":true},"priceTax":{"type":"number","description":"The price including tax","required":true},"quantity":{"type":"number","description":"The quantity of variant items"},"sku":{"type":"string","description":"The stock-keeping unit of a variant. Must be unique within the product","required":true},"taxes":{"type":"array","description":"body.variants.taxes (array field from the documented request schema)"},"url":{"type":"string","description":"The external URL to the product variant"},"variantId":{"type":"string","description":"The product ID"}}}},"vendor":{"type":"string","description":"The product vendor"}}},"example":{"type":["Headwear"],"categories":[[{"categoryId":"atQ","externalId":"ext3343","href":"https://api.getresponse.com/v3/shops/pf3/categories/atQ","isDefault":true,"name":"Headwear","parentId":"amh","url":"https://somedomain.com/category/446"}]],"externalId":["123456"],"href":["https://api.getresponse.com/v3/shops/pf3/products/9I"],"metaFields":[[{"description":"Description of this meta field","href":"https://api.getresponse.com/v3/shops/pf3/meta-fields/NoF","metaFieldId":"NoF","name":"Shoe size","value":"11","valueType":"integer"}]],"name":["Monster Cap"],"productId":["9I"],"url":["https://somedomain.com/products/456"],"variants":[[{"barcode":"12455687","href":"https://api.getresponse.com/v3/shops/pf3/products/9I/variants/VTB","name":"Red Monster Cap","position":1,"previousPrice":25,"previousPriceTax":33.6,"price":20,"priceTax":27.5,"quantity":1,"sku":"SKU-1254-56-457-5689","url":"https://somedomain.com/products-variants/986","variantId":"VTB"}]],"vendor":["GetResponse"]}}}}},"delete":{"tags":["Products"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteProduct","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}"},"summary":"Delete product","description":"Delete product | Delete product | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/shops/{shopId}/products/{productId}/categories":{"post":{"tags":["Products"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#upsertProductCategories","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}/categories"},"summary":"Upsert product categories","description":"Upsert product categories | This method makes it possible to assign product categories, and to set a default product category. This method doesn't remove or unassign product categories. It returns a list of product categories.\nPlease note that if you assign only one category to a given product, that category is marked as default. If you try to remove the default mark, your change won't be executed. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"categories":{"type":"array","description":"body.categories (array field from the documented request schema)","required":true,"items":{"type":"object","properties":{"categoryId":{"type":"string","description":"The category ID","required":true},"isDefault":{"type":"boolean","description":"This is a default category","enum":[true,false]}}}}}},"example":{"categories":[[{"categoryId":"atQ","isDefault":true}]]}}}}}},"/shops/{shopId}/products/{productId}/meta-fields":{"post":{"tags":["Products"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#upsertMetaFields","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}/meta-fields"},"summary":"Upsert product meta fields","description":"Upsert product meta fields | This method makes it possible to assign meta fields. It doesn't remove or unassign meta fields. It returns a list of product meta fields. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"metaFields":{"type":"array","description":"body.metaFields (array field from the documented request schema)","required":true,"items":{"type":"object","properties":{"metaFieldId":{"type":"string","description":"MetaField ID","required":true}}}}}},"example":{"metaFields":[[{"metaFieldId":"NoF"}]]}}}}}},"/shops/{shopId}":{"get":{"tags":["Shops"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getShopById","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}"},"summary":"Get a single shop by ID","description":"Get a single shop by ID | This method returns the shop according to the given `shopId` | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Shops"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateShop","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}"},"summary":"Update shop","description":"Update shop | This makes it possible to update shop preferences. You should send only those fields that need to be changed. The rest of the properties remain the same. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"currency":{"type":"string","description":"The currency code (ISO 4217)"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"locale":{"type":"string","description":"The language locale (ISO 639-1)"},"name":{"type":"string","description":"The shop name"},"shopId":{"type":"string","description":"The shop ID"}}},"example":{"currency":["PLN"],"href":["https://api.getresponse.com/v3/shops/pf3"],"locale":["PL"],"name":["Monster market"],"shopId":["pf3"]}}}}},"delete":{"tags":["Shops"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteShop","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}"},"summary":"Delete shop","description":"Delete shop | This method deletes a shop. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/popups/{popupId}":{"get":{"tags":["Forms And Popups"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getPopupDetails","api_endpoint":"https://api.getresponse.com/v3/popups/{popupId}"},"summary":"Get a single form or popup by ID","description":"Get a single form or popup by ID | Get a single form or popup by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/statistics/popups/{popupId}/performance":{"get":{"tags":["Form And Popup"],"parameters":[{"name":"query[date][from]","in":"query","description":"Get statistics for a single form or popup from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[date][to]","in":"query","description":"Get statistics for a single form or popup to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[device]","in":"query","description":"Form or popup statistics by device","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["desktop","mobile"]}}},{"name":"query[location]","in":"query","description":"Form or popup statistics by location","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getPopupGeneralPerformance","api_endpoint":"https://api.getresponse.com/v3/statistics/popups/{popupId}/performance"},"summary":"Get statistics for a single form or popup","description":"Get statistics for a single form or popup | Get statistics for a single form or popup | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/splittests/{splittestId}":{"get":{"tags":["A B Tests"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSplittest","api_endpoint":"https://api.getresponse.com/v3/splittests/{splittestId}"},"summary":"Get a single A/B test.","description":"Get a single A/B test. | Get a single A/B test by ID. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/custom-reports/{customReportId}":{"get":{"tags":["Custom Reports"],"parameters":[{"name":"customReportId","in":"path","description":"The custom report ID","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCustomReportDetails","api_endpoint":"https://api.getresponse.com/v3/custom-reports/{customReportId}"},"summary":"Get a single custom report by ID","description":"Get a single custom report by ID | The endpoint allows retrieving detailed information about a custom report based on the provided `customReportId`. It returns report data, including:\n * details about the report,\n * generation statuses of the report files,\n * URLs from which the report files can be downloaded.\nMore information on using custom reports can be found in the Case Study section of the [API documentation](http://apidocs.getresponse.com/v3/case-study/custom-reports). | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/shops/{shopId}/carts":{"get":{"tags":["Carts"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Search carts created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search carts created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[externalId]","in":"query","description":"Search cart by external ID","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCarts","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/carts"},"summary":"Get shop carts","description":"Get shop carts | Sending a **GET** request to this URL returns a collection of cart resources that belong to the given shop.\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below in the request params section). You can basically search by:\n * externalId\n * createdOn\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Carts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createCart","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/carts"},"summary":"Create cart","description":"Create cart | Sending a **POST** request to this URL will create a new cart resource.\nIn order to create a new cart, you need to send the cart resource in the body of the request (remember that you need to serialize the body into a JSON string) | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"cartId":{"type":"string","description":"The contact ID"},"cartUrl":{"type":"string","description":"The external cart URL"},"contactId":{"type":"string","description":"The ID of the contact that the cart belongs to. You must first create the contact using POST /v3/contacts, or if it already exists, using GET /v3/contacts","required":true},"currency":{"type":"string","description":"The currency code (ISO 4217)","required":true},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the cart, given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"selectedVariants":{"type":"array","description":"body.selectedVariants (array field from the documented request schema)","required":true,"items":{"type":"object","properties":{"href":{"type":"string","description":"Direct hyperlink to a resource"},"price":{"type":"number","description":"The price, tax excluded","required":true},"priceTax":{"type":"number","description":"The price, tax included","required":true},"quantity":{"type":"number","description":"The quantity","required":true},"variantId":{"type":"string","description":"The ID of a selected variant. You must first create a variant using: \n`POST` [Create product](https://apireference.getresponse.com/#operation/createProduct) \n`POST` [Create product variant](https://apireference.getresponse.com/#operation/createProductVariant)\n or get ID from variants created already:\n  `GET` [Get a list of product variants](https://apireference.getresponse.com/#operation/getProductVariantList)","required":true}}}},"totalPrice":{"type":"number","description":"The total cart price, tax excluded","required":true},"totalTaxPrice":{"type":"number","description":"The total cart price, tax included"}}},"example":{"cartId":["V"],"cartUrl":["http://example.com/cart/nQ"],"contactId":["Vp"],"currency":["USD"],"externalId":["ext-1234"],"href":["https://api.getresponse.com/v3/shops/pf3/carts/V"],"selectedVariants":[[{"href":"https://api.getresponse.com/v3/shops/pf3/products/9I/variants/VTB","price":57,"priceTax":68,"quantity":3,"variantId":"VTB"}]],"totalPrice":[1234.56],"totalTaxPrice":[1334.56]}}}}}},"/shops/{shopId}/carts/{cartId}":{"get":{"tags":["Carts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCart","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/carts/{cartId}"},"summary":"Get cart by ID","description":"Get cart by ID | This method returns cart with the given `cartId` in the context of a given `shopId` | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Carts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateCart","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/carts/{cartId}"},"summary":"Update cart","description":"Update cart | Update properties of the shop cart. You should send only those fields that need to be changed. The rest of the properties will stay the same.\nIn case of selectedVariants, when the collection is updated, the old one is completely removed. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"cartId":{"type":"string","description":"The contact ID"},"cartUrl":{"type":"string","description":"The external cart URL"},"contactId":{"type":"string","description":"The ID of the contact that the cart belongs to. You must first create the contact using POST /v3/contacts, or if it already exists, using GET /v3/contacts"},"currency":{"type":"string","description":"The currency code (ISO 4217)"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the cart, given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"selectedVariants":{"type":"array","description":"body.selectedVariants (array field from the documented request schema)","items":{"type":"object","properties":{"href":{"type":"string","description":"Direct hyperlink to a resource"},"price":{"type":"number","description":"The price, tax excluded","required":true},"priceTax":{"type":"number","description":"The price, tax included","required":true},"quantity":{"type":"number","description":"The quantity","required":true},"variantId":{"type":"string","description":"The ID of a selected variant. You must first create a variant using: \n`POST` [Create product](https://apireference.getresponse.com/#operation/createProduct) \n`POST` [Create product variant](https://apireference.getresponse.com/#operation/createProductVariant)\n or get ID from variants created already:\n  `GET` [Get a list of product variants](https://apireference.getresponse.com/#operation/getProductVariantList)","required":true}}}},"totalPrice":{"type":"number","description":"The total cart price, tax excluded"},"totalTaxPrice":{"type":"number","description":"The total cart price, tax included"}}},"example":{"cartId":["V"],"cartUrl":["http://example.com/cart/nQ"],"contactId":["Vp"],"currency":["USD"],"externalId":["ext-1234"],"href":["https://api.getresponse.com/v3/shops/pf3/carts/V"],"selectedVariants":[[{"href":"https://api.getresponse.com/v3/shops/pf3/products/9I/variants/VTB","price":57,"priceTax":68,"quantity":3,"variantId":"VTB"}]],"totalPrice":[1234.56],"totalTaxPrice":[1334.56]}}}}},"delete":{"tags":["Carts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteCart","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/carts/{cartId}"},"summary":"Delete cart","description":"Delete cart | Delete cart | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/file-library/files/{fileId}":{"get":{"tags":["File Library"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getFileById","api_endpoint":"https://api.getresponse.com/v3/file-library/files/{fileId}"},"summary":"Get file by ID","description":"Get file by ID | Get file by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["File Library"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteFile","api_endpoint":"https://api.getresponse.com/v3/file-library/files/{fileId}"},"summary":"Delete file by file ID","description":"Delete file by file ID | Delete file by file ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/file-library/folders/{folderId}":{"delete":{"tags":["File Library"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteFolder","api_endpoint":"https://api.getresponse.com/v3/file-library/folders/{folderId}"},"summary":"Delete folder by folder ID","description":"Delete folder by folder ID | Delete folder by folder ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/ab-tests/subject/{abTestId}/winner":{"post":{"tags":["A B Tests - Subject"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#postAbtestsSubjectByIdWinner","api_endpoint":"https://api.getresponse.com/v3/ab-tests/subject/{abTestId}/winner"},"summary":"Choose A/B test winner","description":"Choose A/B test winner | Choose A/B test winner | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"variantId":{"type":"string","description":"The message variant ID. A variant identifier from https://apireference.getresponse.com/#operation/getAbtestsSubjectById.","required":true}}},"example":{"variantId":["VpKJdr"]}}}}}},"/ab-tests/subject/{abTestId}":{"get":{"tags":["A B Tests - Subject"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAbTestSubjectById","api_endpoint":"https://api.getresponse.com/v3/ab-tests/subject/{abTestId}"},"summary":"Get a single A/B test by ID","description":"Get a single A/B test by ID | Get a single A/B test by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/ab-tests/{abTestId}/cancel":{"post":{"tags":["A B Tests - Subject"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#cancelAbTest","api_endpoint":"https://api.getresponse.com/v3/ab-tests/{abTestId}/cancel"},"summary":"Cancel A/B test","description":"Cancel A/B test | This method allows you to schedule the cancellation of an A/B test. Cancelling an A/B test is an asynchronous operation. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/ab-tests/{abTestId}":{"delete":{"tags":["A B Tests - Subject"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteAbTest","api_endpoint":"https://api.getresponse.com/v3/ab-tests/{abTestId}"},"summary":"Delete A/B test","description":"Delete A/B test | This method allows you to delete an A/B test. Deletion is only permitted when the test is in one of the following states: `draft`, `cancelled`, `finished`, or `completed`. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/click-tracks/{clickTrackId}":{"get":{"tags":["Click Tracks"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getClickTrackById","api_endpoint":"https://api.getresponse.com/v3/click-tracks/{clickTrackId}"},"summary":"Get click tracked link details by click track ID","description":"Get click tracked link details by click track ID | Get click tracked link details by click track ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/newsletters/{newsletterId}":{"get":{"tags":["Newsletters"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getNewsletter","api_endpoint":"https://api.getresponse.com/v3/newsletters/{newsletterId}"},"summary":"Get a single newsletter by its ID.","description":"Get a single newsletter by its ID. | Get a single newsletter by its ID. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["Newsletters"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteNewsletter","api_endpoint":"https://api.getresponse.com/v3/newsletters/{newsletterId}"},"summary":"Delete newsletter","description":"Delete newsletter | Delete newsletter | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/newsletters/{newsletterId}/activities":{"get":{"tags":["Newsletters"],"parameters":[{"name":"query[activity]","in":"query","description":"Search newsletter activities by activity type","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["send","open","click"]}}},{"name":"query[createdOn][from]","in":"query","description":"Search newsletter activities from this date. Default value is 14 days earlier. You can get activities for last 30 days only.","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search newsletter activities to this date. Default value is now","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getNewsletterActivities","api_endpoint":"https://api.getresponse.com/v3/newsletters/{newsletterId}/activities"},"summary":"Get newsletter activities","description":"Get newsletter activities | **DEPRECATED**: This method is deprecated and scheduled for removal. To synchronise newsletter activities please use [custom reports](https://apireference.getresponse.com/#operation/createCustomReport) with type `message_activity_reports`. This is the preferred approach due to better performance. \n By default, activities from the **last 14 days** are listed only. You can get activities for last 30 days only. You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/newsletters/{newsletterId}/cancel":{"post":{"tags":["Newsletters"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#cancelMessageSend","api_endpoint":"https://api.getresponse.com/v3/newsletters/{newsletterId}/cancel"},"summary":"Cancel sending the newsletter","description":"Cancel sending the newsletter | >\nUsing this method, you can cancel the sending of the newsletter. It will also turn the newsletter into a **draft**. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/newsletters/{newsletterId}/statistics":{"get":{"tags":["Newsletters"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Count data from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Count data to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[groupBy]","in":"query","description":"Group results by time interval","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["total","hour","day","month"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSingleNewsletterStatistics","api_endpoint":"https://api.getresponse.com/v3/newsletters/{newsletterId}/statistics"},"summary":"The statistics of single newsletter","description":"The statistics of single newsletter | >\nThis makes it possible to easily fetch statistics for a single newsletter. You can group the data hourly, daily, monthly and as a\ntotal sum. Remember that all statistics date ranges are given in standard UTC period type objects.\n([See ISO 8601 standard](http://en.wikipedia.org/wiki/ISO_8601#Time_intervals)).\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/newsletters/{newsletterId}/thumbnail":{"get":{"tags":["Newsletters"],"parameters":[{"name":"size","in":"query","description":"The size of the thumbnail","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["default","small"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getNewsletterThumbnail","api_endpoint":"https://api.getresponse.com/v3/newsletters/{newsletterId}/thumbnail"},"summary":"Get newsletter thumbnail","description":"Get newsletter thumbnail | Get newsletter thumbnail | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/tags/{tagId}":{"get":{"tags":["Tags"],"parameters":[{"name":"tagId","in":"path","description":"Unique identifier of the tag. You can retrieve this ID from the [list of tags](https://apireference.getresponse.com/#operation/getTagsList) field: `tagId`","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTagById","api_endpoint":"https://api.getresponse.com/v3/tags/{tagId}"},"summary":"Get tag by ID","description":"Get tag by ID | Retrieve a specific tag by its ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Tags"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateTag","api_endpoint":"https://api.getresponse.com/v3/tags/{tagId}"},"summary":"Update tag by ID","description":"Update tag by ID | Updating the tag is not allowed. The method currently performs no update actions and only returns the current tag details. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"color":{"type":"string","description":"The tag color (deprecated)"},"name":{"type":"string","description":"The tag name","required":true}}},"example":{"color":["string"],"name":["My_Tag"]}}}}},"delete":{"tags":["Tags"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteTag","api_endpoint":"https://api.getresponse.com/v3/tags/{tagId}"},"summary":"Delete tag by ID","description":"Delete tag by ID | Delete tag by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/addresses/{addressId}":{"get":{"tags":["Addresses"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAddress","api_endpoint":"https://api.getresponse.com/v3/addresses/{addressId}"},"summary":"Get an address by ID","description":"Get an address by ID | Get an address by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Addresses"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateAddress","api_endpoint":"https://api.getresponse.com/v3/addresses/{addressId}"},"summary":"Update address","description":"Update address | Update an existing address. You should send only those fields that need to be changed. The rest of the properties will stay the same. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"address1":{"type":"string","description":"Address line 1"},"address2":{"type":"string","description":"Address line 2"},"addressId":{"type":"string","description":"body.addressId (string field from the documented request schema)"},"city":{"type":"string","description":"body.city (string field from the documented request schema)"},"company":{"type":"string","description":"The company name, free text"},"countryCode":{"type":"string","description":"The country code (ISO 3166-1 alpha-3)"},"countryName":{"type":"string","description":"The country name, based on `countryCode`"},"firstName":{"type":"string","description":"body.firstName (string field from the documented request schema)"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"lastName":{"type":"string","description":"body.lastName (string field from the documented request schema)"},"name":{"type":"string","description":"body.name (string field from the documented request schema)"},"phone":{"type":"string","description":"The phone number, free text"},"province":{"type":"string","description":"body.province (string field from the documented request schema)"},"provinceCode":{"type":"string","description":"The province code, free text"},"zip":{"type":"string","description":"The ZIP/postal code, free text"}}},"example":{"address1":["Arkonska 6"],"address2":[""],"addressId":["k9"],"city":["Gdansk"],"company":["GetResponse"],"countryCode":["POL"],"countryName":["Poland"],"firstName":["John"],"href":["https://api.getresponse.com/v3/addresses/k9"],"lastName":["Doe"],"name":["some_shipping_address"],"phone":["1122334455"],"province":["pomorskie"],"provinceCode":[""],"zip":["80-387"]}}}}},"delete":{"tags":["Addresses"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteAddress","api_endpoint":"https://api.getresponse.com/v3/addresses/{addressId}"},"summary":"Delete address","description":"Delete address | Delete address | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/campaigns/{campaignId}/blocklists":{"get":{"tags":["Campaigns (Lists)"],"parameters":[{"name":"query[mask]","in":"query","description":"Blocklist mask to search for","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaignBlocklist","api_endpoint":"https://api.getresponse.com/v3/campaigns/{campaignId}/blocklists"},"summary":"Returns campaign blocklist masks","description":"Returns campaign blocklist masks | Returns campaign blocklist masks | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Campaigns (Lists)"],"parameters":[{"name":"additionalFlags","in":"query","description":"The flag value `add` adds the masks provided in the request body to your blocklist. The flag value `delete` deletes the masks. The masks are replaced if there are no flag values in the request body. \n For better performance, use the flag value `noResponse`. It removes the response body and can be used alone or combined with other flags. If multiple flags are used,  separate them by a comma, like this: `additionalFlags=noResponse` or `additionalFlags=add,noResponse`.","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["add","delete","noResponse"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateCampaignBlocklist","api_endpoint":"https://api.getresponse.com/v3/campaigns/{campaignId}/blocklists"},"summary":"Updates campaign blocklist masks","description":"Updates campaign blocklist masks | Updates campaign blocklist masks | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"masks":{"type":"array","description":"body.masks (array field from the documented request schema)","required":true,"items":{"type":"string"}}}},"example":{"masks":[["jack@somedomain.com"]]}}}}}},"/custom-fields/{customFieldId}":{"get":{"tags":["Custom Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCustomFieldById","api_endpoint":"https://api.getresponse.com/v3/custom-fields/{customFieldId}"},"summary":"Get a single custom field definition by the custom field ID","description":"Get a single custom field definition by the custom field ID | Returns a list of custom fields | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Custom Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateCustomField","api_endpoint":"https://api.getresponse.com/v3/custom-fields/{customFieldId}"},"summary":"Update the custom field definition","description":"Update the custom field definition | Update the custom field definition | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"hidden":{"type":"string","description":"Whether the custom field is visible to contacts","required":true},"values":{"type":"array","description":"The list of assigned values (zero or more - depending on the custom field type. Please see description)","required":true,"items":{"type":"string"}}}},"example":{"hidden":["false"],"values":[["+48600100200"]]}}}}},"delete":{"tags":["Custom Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteCustomField","api_endpoint":"https://api.getresponse.com/v3/custom-fields/{customFieldId}"},"summary":"Delete a single custom field definition","description":"Delete a single custom field definition | Delete a single custom field definition | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/lps/{lpsId}":{"get":{"tags":["Landing Pages"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getLpsById","api_endpoint":"https://api.getresponse.com/v3/lps/{lpsId}"},"summary":"Get a single landing page by ID","description":"Get a single landing page by ID | Get a single landing page by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/statistics/lps/{lpsId}/performance":{"get":{"tags":["Landing Page"],"parameters":[{"name":"query[date][from]","in":"query","description":"Show a single landing page statistics from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[date][to]","in":"query","description":"Show a single landing page statistics to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[device]","in":"query","description":"Landing page statistics by device","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["desktop","mobile"]}}},{"name":"query[location]","in":"query","description":"Landing page statistics by location","required":false,"schema":{"type":"string","example":""}},{"name":"query[page]","in":"query","description":"Landing page statistics by page UUID","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getLpsGeneralPerformanceStats","api_endpoint":"https://api.getresponse.com/v3/statistics/lps/{lpsId}/performance"},"summary":"Get details for landing page statistics","description":"Get details for landing page statistics | Get details for landing page statistics | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/shops/{shopId}/products/{productId}/variants":{"get":{"tags":["Product Variants"],"parameters":[{"name":"query[createdAt][from]","in":"query","description":"Show variants starting from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdAt][to]","in":"query","description":"Show variants starting to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[description]","in":"query","description":"Search variant by description","required":false,"schema":{"type":"string","example":""}},{"name":"query[externalId]","in":"query","description":"Search variant by external ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search variant by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[sku]","in":"query","description":"Search variant by SKU","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getProductVariantList","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}/variants"},"summary":"Get a list of product variants","description":"Get a list of product variants | Sending a **GET** request to this URL returns a collection of product variant resources that belong to the given shop and product.\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below in the request params section). You can basically search by:\n* name\n* sku\n* description\nThe `description` fields can be a pattern and we'll try to match this phrase. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Product Variants"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createProductVariant","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}/variants"},"summary":"Create product variant","description":"Create product variant | Sending a **POST** request to this URL will create a new product variant resource.\nIn order to create a new product variant, you need to send a product variant resource in the body of the request (remember that you need to serialize the body into a JSON string)\nThere is no need to create every element (like: image, meta field, tax) one by one by their own endpoints. All these elements can be created during this method. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"barcode":{"type":"string","description":"The barcode of a variant"},"description":{"type":"string","description":"The description of a variant"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the variant given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"images":{"type":"array","description":"body.images (array field from the documented request schema)","items":{"type":"object","properties":{"href":{"type":"string","description":"Direct hyperlink to a resource"},"imageId":{"type":"string","description":"The image ID"},"position":{"type":"number","description":"The position of an image","required":true},"src":{"type":"string","description":"The source URL of an image","required":true}}}},"metaFields":{"type":"array","description":"body.metaFields (array field from the documented request schema)","items":{"type":"object","properties":{"description":{"type":"string","description":"The meta field description"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFieldId":{"type":"string","description":"The meta field ID"},"name":{"type":"string","description":"The meta field name","required":true},"value":{"type":"string","description":"The meta field value","required":true},"valueType":{"type":"string","description":"The value type enumerable","required":true}}}},"name":{"type":"string","description":"The product name","required":true},"position":{"type":"number","description":"The position of a variant"},"previousPrice":{"type":"number","description":"The price before the change"},"previousPriceTax":{"type":"number","description":"The price before the change including tax"},"price":{"type":"number","description":"The price","required":true},"priceTax":{"type":"number","description":"The price including tax","required":true},"quantity":{"type":"number","description":"The quantity of variant items"},"sku":{"type":"string","description":"The stock-keeping unit of a variant. Must be unique within the product","required":true},"taxes":{"type":"array","description":"body.taxes (array field from the documented request schema)","items":{"type":"object","properties":{"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"The tax name","required":true},"rate":{"type":"number","description":"The rate value","required":true},"taxId":{"type":"string","description":"The tax ID"}}}},"url":{"type":"string","description":"The external URL to the product variant"},"variantId":{"type":"string","description":"The product ID"}}},"example":{"barcode":["12455687"],"description":["Red Cap with GetResponse Monster print"],"externalId":["ext1456"],"href":["https://api.getresponse.com/v3/shops/pf3/products/9I/variants/VTB"],"images":[[{"href":"https://api.getresponse.com/v3/shops/pf3/images/hY","imageId":"hY","position":"1","src":"http://somedomain.com/images/src/img58db7ec64bab9.png"}]],"metaFields":[[{"description":"Description of this meta field","href":"https://api.getresponse.com/v3/shops/pf3/meta-fields/NoF","metaFieldId":"NoF","name":"Shoe size","value":"11","valueType":"integer"}]],"name":["Red Monster Cap"],"position":[1],"previousPrice":[25],"previousPriceTax":[33.6],"price":[20],"priceTax":[27.5],"quantity":[1],"sku":["SKU-1254-56-457-5689"],"taxes":[[{"href":"https://api.getresponse.com/v3/shops/pf3/taxes/Sk","name":"VAT","rate":23,"taxId":"Sk"}]],"url":["https://somedomain.com/products-variants/986"],"variantId":["VTB"]}}}}}},"/shops/{shopId}/products/{productId}/variants/{variantId}":{"get":{"tags":["Product Variants"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getProductVariantById","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}/variants/{variantId}"},"summary":"Get a single product variant by ID","description":"Get a single product variant by ID | This method returns product variant according to the given `variantId` in the context of a given `shopId` and `productId` | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Product Variants"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateProductVariant","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}/variants/{variantId}"},"summary":"Update product variant","description":"Update product variant | Update properties of a product variant. You should send only those fields that need to be changed. The remaining properties will stay the same. However, when updating metafields, images, and taxes, you need to send entire collections. Individual fields can't be updated. If you want to update particular metafields or tax resources, you can do so using their particular endpoints, i.e:\n * taxes - `POST /v3/shops/{shopId}/taxes/{taxId}`\n * metaFields - `POST /v3/shops/{shopId}/meta-fields/{metaFieldId}` | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"barcode":{"type":"string","description":"The barcode of a variant"},"description":{"type":"string","description":"The description of a variant"},"externalId":{"type":"string","description":"The external ID is the identifying string or number of the variant given by another software"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"images":{"type":"array","description":"body.images (array field from the documented request schema)","items":{"type":"object","properties":{"href":{"type":"string","description":"Direct hyperlink to a resource"},"imageId":{"type":"string","description":"The image ID"},"position":{"type":"number","description":"The position of an image","required":true},"src":{"type":"string","description":"The source URL of an image","required":true}}}},"metaFields":{"type":"array","description":"body.metaFields (array field from the documented request schema)","items":{"type":"object","properties":{"description":{"type":"string","description":"The meta field description"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFieldId":{"type":"string","description":"The meta field ID"},"name":{"type":"string","description":"The meta field name","required":true},"value":{"type":"string","description":"The meta field value","required":true},"valueType":{"type":"string","description":"The value type enumerable","required":true}}}},"name":{"type":"string","description":"The product name"},"position":{"type":"number","description":"The position of a variant"},"previousPrice":{"type":"number","description":"The price before the change"},"previousPriceTax":{"type":"number","description":"The price before the change including tax"},"price":{"type":"number","description":"The price"},"priceTax":{"type":"number","description":"The price including tax"},"quantity":{"type":"number","description":"The quantity of variant items"},"sku":{"type":"string","description":"The stock-keeping unit of a variant. Must be unique within the product"},"taxes":{"type":"array","description":"body.taxes (array field from the documented request schema)","items":{"type":"object","properties":{"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"The tax name","required":true},"rate":{"type":"number","description":"The rate value","required":true},"taxId":{"type":"string","description":"The tax ID"}}}},"url":{"type":"string","description":"The external URL to the product variant"},"variantId":{"type":"string","description":"The product ID"}}},"example":{"barcode":["12455687"],"description":["Red Cap with GetResponse Monster print"],"externalId":["ext1456"],"href":["https://api.getresponse.com/v3/shops/pf3/products/9I/variants/VTB"],"images":[[{"href":"https://api.getresponse.com/v3/shops/pf3/images/hY","imageId":"hY","position":"1","src":"http://somedomain.com/images/src/img58db7ec64bab9.png"}]],"metaFields":[[{"description":"Description of this meta field","href":"https://api.getresponse.com/v3/shops/pf3/meta-fields/NoF","metaFieldId":"NoF","name":"Shoe size","value":"11","valueType":"integer"}]],"name":["Red Monster Cap"],"position":[1],"previousPrice":[25],"previousPriceTax":[33.6],"price":[20],"priceTax":[27.5],"quantity":[1],"sku":["SKU-1254-56-457-5689"],"taxes":[[{"href":"https://api.getresponse.com/v3/shops/pf3/taxes/Sk","name":"VAT","rate":23,"taxId":"Sk"}]],"url":["https://somedomain.com/products-variants/986"],"variantId":["VTB"]}}}}},"delete":{"tags":["Product Variants"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteProductVariant","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/products/{productId}/variants/{variantId}"},"summary":"Delete product variant","description":"Delete product variant | Delete product variant | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/campaigns/{campaignId}":{"get":{"tags":["Campaigns (Lists)"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaign","api_endpoint":"https://api.getresponse.com/v3/campaigns/{campaignId}"},"summary":"Get a single campaign by the campaign ID","description":"Get a single campaign by the campaign ID | Retrieve detailed information about a single campaign (contact list) by its unique campaignId. The response includes additional campaign settings such as postal address, subscription notification and confirmation settings, opt-in type, and profile information. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Campaigns (Lists)"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateCampaign","api_endpoint":"https://api.getresponse.com/v3/campaigns/{campaignId}"},"summary":"Update a campaign","description":"Update a campaign | Update a campaign | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"campaignId":{"type":"string","description":"Unique identifier of the campaign (contact list)"},"createdOn":{"type":"string","description":"The date of creation"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"isDefault":{"type":"string","description":"Is the campaign default"},"languageCode":{"type":"string","description":"The campaign language code according to ISO 639-1, plus: zt - Chinese (Traditional), fs - Afghan Persian (Dari), md - Moldavian"},"name":{"type":"string","description":"The campaign (list) name.\n* You can use each list name just once in your account.\n* The name must be between 3-64 characters.\n* All alphabets supported by GetResponse, including right-to-left ones, are allowed.\n* You can use upper and lower case letters, numbers, spaces and special characters apart from the ones listed below.\n* You can’t use emojis and the following special characters: `/`, `\\`, `@`, and `[` or `]`.","required":true},"techName":{"type":"string","description":"Tech name is a unique internal ID of a list used for [FTP imports](https://www.getresponse.com/help/how-to-import-files-via-ftp.html) (available in GetResponse MAX accounts only)"}}},"example":{"campaignId":["V3J"],"createdOn":["2014-02-12T15:19:21+0000"],"href":["https://api.getresponse.com/v3/campaigns/V3J"],"isDefault":["true"],"languageCode":["EN"],"name":["my_campaign"],"techName":["my_campaign"]}}}}}},"/shops/{shopId}/meta-fields":{"get":{"tags":["Meta Fields"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Search meta fields created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search meta fields created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[description]","in":"query","description":"Search meta fields by description","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search meta fields by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[value]","in":"query","description":"Search meta fields by value","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getMetaFields","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/meta-fields"},"summary":"Get the shop meta fields","description":"Get the shop meta fields | Sending a **GET** request to this URL returns a collection of meta field resources that belong to the given shop.\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below in the request params section). You can basically search by:\n * name\n * value\n * description\n * createdOn\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Meta Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createMetaField","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/meta-fields"},"summary":"Create meta field","description":"Create meta field | Sending a **POST** request to this URL will create a new meta field resource.\nIn order to create a new meta field, you need to send a meta field resource in the body of the request (remember that you need to serialize the body into a JSON string) | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"description":{"type":"string","description":"The meta field description"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFieldId":{"type":"string","description":"The meta field ID"},"name":{"type":"string","description":"The meta field name","required":true},"value":{"type":"string","description":"The meta field value","required":true},"valueType":{"type":"string","description":"The value type enumerable","required":true}}},"example":{"description":["Description of this meta field"],"href":["https://api.getresponse.com/v3/shops/pf3/meta-fields/NoF"],"metaFieldId":["NoF"],"name":["Shoe size"],"value":["11"],"valueType":["integer"]}}}}}},"/shops/{shopId}/meta-fields/{metaFieldId}":{"get":{"tags":["Meta Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getMetaField","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/meta-fields/{metaFieldId}"},"summary":"Get the meta field by ID","description":"Get the meta field by ID | This method returns meta field with a given `metaFieldId` in the context of a given `shopId` | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Meta Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateMetaField","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/meta-fields/{metaFieldId}"},"summary":"Update meta field","description":"Update meta field | Update the properties of a shop's meta field. You should send only those fields that need to be changed. The rest of the properties will stay the same. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"description":{"type":"string","description":"The meta field description"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"metaFieldId":{"type":"string","description":"The meta field ID"},"name":{"type":"string","description":"The meta field name"},"value":{"type":"string","description":"The meta field value"},"valueType":{"type":"string","description":"The value type enumerable"}}},"example":{"description":["Description of this meta field"],"href":["https://api.getresponse.com/v3/shops/pf3/meta-fields/NoF"],"metaFieldId":["NoF"],"name":["Shoe size"],"value":["11"],"valueType":["integer"]}}}}},"delete":{"tags":["Meta Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteMetaField","api_endpoint":"https://api.getresponse.com/v3/shops/{shopId}/meta-fields/{metaFieldId}"},"summary":"Delete meta field","description":"Delete meta field | Delete meta field | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/webforms/{webformId}":{"get":{"tags":["Legacy Forms"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getLegacyFormById","api_endpoint":"https://api.getresponse.com/v3/webforms/{webformId}"},"summary":"Get Legacy Form by ID.","description":"Get Legacy Form by ID. | Get Legacy Form by ID. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/gdpr-fields/{gdprFieldId}":{"get":{"tags":["GDPR Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getGDPRField","api_endpoint":"https://api.getresponse.com/v3/gdpr-fields/{gdprFieldId}"},"summary":"Get GDPR Field details","description":"Get GDPR Field details | Get GDPR Field details | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/workflow/{workflowId}":{"get":{"tags":["Workflows"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getWorkflow","api_endpoint":"https://api.getresponse.com/v3/workflow/{workflowId}"},"summary":"Get workflow by ID","description":"Get workflow by ID | Get a single workflow by ID. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Workflows"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateWorkflow","api_endpoint":"https://api.getresponse.com/v3/workflow/{workflowId}"},"summary":"Update workflow","description":"Update workflow | Update single workflow. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"status":{"type":"string","description":"An 'incomplete' status means that the workflow is a 'draft' in the web panel","required":true}}},"example":{"status":["active"]}}}}}},"/sms-automation/{smsId}":{"get":{"tags":["SMS Automation Messages"],"parameters":[{"name":"smsId","in":"path","description":"The automated SMS message ID","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSmsAutomationById","api_endpoint":"https://api.getresponse.com/v3/sms-automation/{smsId}"},"summary":"Get a single automated SMS message by its ID.","description":"Get a single automated SMS message by its ID. | Get a single automated SMS message by its ID. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/sms/{smsId}":{"get":{"tags":["SMS Messages"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSmsById","api_endpoint":"https://api.getresponse.com/v3/sms/{smsId}"},"summary":"Get a single SMS message by its ID","description":"Get a single SMS message by its ID | Get a single SMS message by its ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/autoresponders/{autoresponderId}":{"get":{"tags":["Autoresponders"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAutoresponder","api_endpoint":"https://api.getresponse.com/v3/autoresponders/{autoresponderId}"},"summary":"Get a single autoresponder by its ID","description":"Get a single autoresponder by its ID | Get a single autoresponder by its ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Autoresponders"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateAutoresponder","api_endpoint":"https://api.getresponse.com/v3/autoresponders/{autoresponderId}"},"summary":"Update autoresponder","description":"Update autoresponder | >\n**The action-based autoresponder feature has been migrated over to marketing automation. Your existing autoresponders are\nnow converted into workflows. You can no longer create and update action-based autoresponders using our API.**\nThis method allows you to update an autoresponder. The same rules as in creating an autoresponder apply. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"sendSettings":{"type":"object","description":"How the message will be delivered to the subscriber","properties":{"type":{"type":"string","description":"When to send the message","required":true},"excludedDaysOfWeek":{"type":"array","description":"The days of the week to exclude from message sending (the message will be sent on the next non-excluded day after the trigger)"},"externalLexpad":{"type":"object","description":"External Lexpad settings for the message, read more: [External Lexpad](https://apidocs.getresponse.com/v3/dynamic-content/external-lexpad)"},"timeTravel":{"type":"string","description":"Should the message be sent in the user's or the subscriber's time zone"}}}}},"example":{"sendSettings":[{"type":"signup","excludedDaysOfWeek":["Monday"],"externalLexpad":{"dataSourceToken":"cf4dfca78434bf927a7655c0c4d95a2a45c33b71","dataSourceUrl":"https://example.com/external_lexpad"},"timeTravel":"true"}]}}}}},"delete":{"tags":["Autoresponders"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#deleteAutoresponder","api_endpoint":"https://api.getresponse.com/v3/autoresponders/{autoresponderId}"},"summary":"Delete autoresponder.","description":"Delete autoresponder. | Delete autoresponder. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/autoresponders/{autoresponderId}/statistics":{"get":{"tags":["Autoresponders"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Count data from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Count data to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[groupBy]","in":"query","description":"Group results by time interval","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["total","hour","day","month"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSingleAutoresponderStatistics","api_endpoint":"https://api.getresponse.com/v3/autoresponders/{autoresponderId}/statistics"},"summary":"The statistics for a single autoresponder","description":"The statistics for a single autoresponder | >\nThis requst returns the statistics summary for a single given autoresponder. As in all statistics, you can change the date and time range  (hourly daily monthly or total). Keep in mind\nthat all statistics date ranges are given in standard UTC period type objects. ([See ISO 8601 standard](http://en.wikipedia.org/wiki/ISO_8601#Time_intervals))\n(https://app.getresponse.com/statistics.html?t=followup#total).\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/autoresponders/{autoresponderId}/thumbnail":{"get":{"tags":["Autoresponders"],"parameters":[{"name":"size","in":"query","description":"The size of the autoresponder thumbnail","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["default","small"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAutoresponderThumbnail","api_endpoint":"https://api.getresponse.com/v3/autoresponders/{autoresponderId}/thumbnail"},"summary":"Get the autoresponder thumbnail","description":"Get the autoresponder thumbnail | Get the autoresponder thumbnail | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/websites/{websiteId}":{"get":{"tags":["Websites"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getWebsiteById","api_endpoint":"https://api.getresponse.com/v3/websites/{websiteId}"},"summary":"Get a single Website by ID","description":"Get a single Website by ID | Get a single Website by ID | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/statistics/wbe/{websiteId}/performance":{"get":{"tags":["Website"],"parameters":[{"name":"query[date][from]","in":"query","description":"Show a single website statistics from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[date][to]","in":"query","description":"Show a single website statistics to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[device]","in":"query","description":"Website statistics by device","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["desktop","mobile"]}}},{"name":"query[location]","in":"query","description":"Website statistics by location","required":false,"schema":{"type":"string","example":""}},{"name":"query[page]","in":"query","description":"Website statistics by a page UUID","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getWbeGeneralPerformanceStats","api_endpoint":"https://api.getresponse.com/v3/statistics/wbe/{websiteId}/performance"},"summary":"Get details for website statistics","description":"Get details for website statistics | Get details for website statistics | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/webinars":{"get":{"tags":["Webinars"],"parameters":[{"name":"query[campaignId]","in":"query","description":"The list of campaign resource IDs (string separated with ',')","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search webinars by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search webinars by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["upcoming","finished","published","unpublished"]}}},{"name":"query[type]","in":"query","description":"Search webinars by type","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["all","live","on_demand"]}}},{"name":"sort[createdOn]","in":"query","description":"Sort webinars by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort webinars by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[startsOn]","in":"query","description":"Sort webinars by update date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getWebinarList","api_endpoint":"https://api.getresponse.com/v3/webinars"},"summary":"Get a list of webinars","description":"Get a list of webinars | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/contacts":{"get":{"tags":["Contacts"],"parameters":[{"name":"additionalFlags","in":"query","description":"The additional flags parameter with the value 'exactMatch' will search for contacts with the exact value of the email and name provided in the query string. Without this flag, matching is done via a standard 'like' comparison, which may sometimes be slow.","required":false,"schema":{"type":"string","example":""}},{"name":"query[campaignId]","in":"query","description":"Search contacts by campaign ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[changedOn][from]","in":"query","description":"Return only contacts whose data was changed on or after the given date. Use ISO 8601 format","required":false,"schema":{"type":"string","example":""}},{"name":"query[changedOn][to]","in":"query","description":"Return only contacts whose data was changed on or before the given date. Use ISO 8601 format","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Return only contacts created on or after the given date. Use ISO 8601 format","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Return only contacts created on or before the given date. Use ISO 8601 format","required":false,"schema":{"type":"string","example":""}},{"name":"query[email]","in":"query","description":"Search contacts by email","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search contacts by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[origin]","in":"query","description":"Search contacts by origin","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["import","email","www","panel","leads","sale","api","survey","iphone","copy","landing_page","webinar","website_builder_elegant","chat","course","premium_newsletter"]}}},{"name":"sort[campaignId]","in":"query","description":"Sort by campaign ID","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[changedOn]","in":"query","description":"Sort by change date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[createdOn]","in":"query","description":"Sort contacts by subscription date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[email]","in":"query","description":"Sort by email","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getContactList","api_endpoint":"https://api.getresponse.com/v3/contacts"},"summary":"Get contact list","description":"Get contact list | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createContact","api_endpoint":"https://api.getresponse.com/v3/contacts"},"summary":"Create a new contact","description":"Create a new contact | Create a new contact | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"ipAddress":{"type":"string","description":"The contact's IP address. IPv4 and IPv6 formats are accepted."}}},"example":{"ipAddress":["1.2.3.4"]}}}}}},"/contacts/batch":{"post":{"tags":["Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createBatchContacts","api_endpoint":"https://api.getresponse.com/v3/contacts/batch"},"summary":"Create multiple contacts at once","description":"Create multiple contacts at once | This endpoint lets you create multiple contacts in one request.\n**Note** \nThis endpoint is subject to special limits and throttling. You can make 80 calls per time frame (10 minutes) and only 1 call per second. The allowed batch size is 1000 contacts. For more information, check our [API Docs](https://apidocs.getresponse.com/v3/case-study/adding-batch-contacts). | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"campaignId":{"type":"string","description":"ID of the destination campaign (list).","required":true},"contacts":{"type":"array","description":"Contacts that will be created.","required":true,"items":{"type":"object","properties":{"customFieldValues":{"type":"array","description":"body.contacts.customFieldValues (array field from the documented request schema)"},"dayOfCycle":{"type":"string","description":"The day a contact is on in an autoresponder cycle."},"email":{"type":"string","description":"body.contacts.email (string field from the documented request schema)","required":true},"ipAddress":{"type":"string","description":"Contact's IP address. IPv4 and IPv6 formats are accepted."},"name":{"type":"string","description":"body.contacts.name (string field from the documented request schema)"},"scoring":{"type":"number","description":"Contact's score"},"tags":{"type":"object","description":"body.contacts.tags (object field from the documented request schema)"}}}}}},"example":{"campaignId":["C"],"contacts":[[{"customFieldValues":[{"customFieldId":"kL6Nh","value":["18-35"]}],"dayOfCycle":"42","email":"john.doe@example.com","ipAddress":"1.2.3.4","name":"John Doe","scoring":8,"tags":{"ids":["kL6Nh"]}}]]}}}}}},"/contacts/{contactId}/consents":{"get":{"tags":["Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getContactConsentsById","api_endpoint":"https://api.getresponse.com/v3/contacts/{contactId}/consents"},"summary":"Get contact's consent fields","description":"Get contact's consent fields | Returns a list of all consent fields assigned to the contact, including their current status and history of changes. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/search-contacts":{"get":{"tags":["Search Contacts"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Count data from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Count data to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSearchContactsList","api_endpoint":"https://api.getresponse.com/v3/search-contacts"},"summary":"Get a saved search contact list","description":"Get a saved search contact list | Makes it possible to retrieve a collection of short representations of search-contact (known as custom filters in the panel). Every item represents a basic filter object. You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Search Contacts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#newSearchContacts","api_endpoint":"https://api.getresponse.com/v3/search-contacts"},"summary":"Create search contacts","description":"Create search contacts | Makes it possible to create a new search-contact. Please refer to [Segments (search contacts) reference manual](https://apidocs.getresponse.com/v3/case-study/segments-manual) | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"subscribersType":{"type":"array","description":"Only one subscription status","items":{"type":"string"}}}},"example":{"subscribersType":[["subscribed"]]}}}}}},"/search-contacts/contacts":{"post":{"tags":["Search Contacts"],"parameters":[{"name":"sort[createdOn]","in":"query","description":"Sort by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[email]","in":"query","description":"Sort by email","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getContactsFromSearchContactsConditions","api_endpoint":"https://api.getresponse.com/v3/search-contacts/contacts"},"summary":"Search contacts using conditions","description":"Search contacts using conditions | Makes it possible to get a collection of contacts according to a given condition.  Please refer to [Segments (search contacts) reference manual](https://apidocs.getresponse.com/v3/case-study/segments-manual) | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"subscribersType":{"type":"array","description":"Only one subscription status","items":{"type":"string"}}}},"example":{"subscribersType":[[["subscribed"]]]}}}}}},"/transactional-emails/templates":{"get":{"tags":["Transactional Emails Templates"],"parameters":[{"name":"query[subject]","in":"query","description":"Search templates by subject","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[subject]","in":"query","description":"Sort by template subject","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTransactionalEmailsTemplatesList","api_endpoint":"https://api.getresponse.com/v3/transactional-emails/templates"},"summary":"Get the list of transactional email templates","description":"Get the list of transactional email templates | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Transactional Emails Templates"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createTransactionalEmailTemplate","api_endpoint":"https://api.getresponse.com/v3/transactional-emails/templates"},"summary":"Create transactional email template","description":"Create transactional email template | This method creates a new transactional email template | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"content":{"type":"object","description":"The template content. At least one field is required","properties":{"html":{"type":"string","description":"The template content in HTML"},"plain":{"type":"string","description":"The plain text equivalent of template content"}}},"subject":{"type":"string","description":"The template subject","required":true}}},"example":{"content":[{"html":"<h1>Your order has been confirmed</h1><strong>Thank you for shopping with us!</strong>","plain":"Your order has been confirmed. Thank you for shopping with us!"}],"subject":["Order Confirmation - Example Shop"]}}}}}},"/transactional-emails":{"get":{"tags":["Transactional Emails"],"parameters":[{"name":"query[sentOn][from]","in":"query","description":"Search transactional emails sent from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[sentOn][to]","in":"query","description":"Search transactional emails sent to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[tagId]","in":"query","description":"Search transactional emails with a specific tag ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[tagged]","in":"query","description":"Search tagged/untagged transactional emails","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["true","false"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTransactionalEmailsList","api_endpoint":"https://api.getresponse.com/v3/transactional-emails"},"summary":"Get the list of transactional emails","description":"Get the list of transactional emails | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Transactional Emails"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createTransactionalEmail","api_endpoint":"https://api.getresponse.com/v3/transactional-emails"},"summary":"Send transactional email","description":"Send transactional email | Send transactional email | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"contentType":{"type":"string","description":"The message content type","required":true},"fromField":{"type":"object","description":"The 'From' address ID to be used as the message sender","required":true,"properties":{"fromFieldId":{"type":"string","description":"The 'From' address ID","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"}}},"recipients":{"type":"object","description":"A field containing the message recipients. You can enter up to 8 recipients.","required":true,"properties":{"bcc":{"type":"array","description":"body.recipients.bcc (array field from the documented request schema)"},"cc":{"type":"array","description":"body.recipients.cc (array field from the documented request schema)"},"to":{"type":"object","description":"body.recipients.to (object field from the documented request schema)","required":true}}},"replyTo":{"type":"object","description":"The 'From' address ID to be used as the Reply-to","properties":{"fromFieldId":{"type":"string","description":"The 'From' address ID","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"}}},"tag":{"type":"object","description":"The tag ID used for statistical data collection","properties":{"tagId":{"type":"string","description":"body.tag.tagId (string field from the documented request schema)","required":true}}}}},"example":{"contentType":["direct"],"fromField":[{"fromFieldId":"V","href":"https://api.getresponse.com/v3/from-fields/V"}],"recipients":[{"bcc":[{"email":"john.doe@example.com","name":"John Doe","status":"unknown"}],"cc":[{"email":"john.doe@example.com","name":"John Doe","status":"unknown"}],"to":{"validSince":"2018-05-02T09:30:43+0200"}}],"replyTo":[{"fromFieldId":"V","href":"https://api.getresponse.com/v3/from-fields/V"}],"tag":[{"tagId":"vBd5"}]}}}}}},"/transactional-emails/statistics":{"get":{"tags":["Transactional Emails"],"parameters":[{"name":"query[groupBy]","in":"query","description":"Group results by time interval","required":true,"schema":{"type":"string","example":"","items":{"type":"string","enum":["total","day"]}}},{"name":"query[tagId]","in":"query","description":"Search transactional emails with a specific tag ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[tagged]","in":"query","description":"Search tagged/untagged transactional emails","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["true","false"]}}},{"name":"query[timeFrame][from]","in":"query","description":"Count data from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[timeFrame][to]","in":"query","description":"Count data to this date","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTransactionalEmailsStatistics","api_endpoint":"https://api.getresponse.com/v3/transactional-emails/statistics"},"summary":"Get the overall statistics of transactional emails","description":"Get the overall statistics of transactional emails | Get the overall statistics of transactional emails | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/from-fields":{"get":{"tags":["From Fields"],"parameters":[{"name":"query[email]","in":"query","description":"Search 'From' address by email","required":false,"schema":{"type":"string","example":""}},{"name":"query[isActive]","in":"query","description":"Search only active 'From' addresses","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"query[isDefault]","in":"query","description":"Search only default 'From' address","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"query[name]","in":"query","description":"Search 'From' address by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort 'From' address by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getFromFieldList","api_endpoint":"https://api.getresponse.com/v3/from-fields"},"summary":"Get the list of 'From' addresses","description":"Get the list of 'From' addresses | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["From Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createFromField","api_endpoint":"https://api.getresponse.com/v3/from-fields"},"summary":"Create 'From' address","description":"Create 'From' address | Create 'From' address | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"email":{"type":"string","description":"The email address","required":true},"name":{"type":"string","description":"The name connected to the email address","required":true}}},"example":{"email":["jsmith@example.com"],"name":["John Smith"]}}}}}},"/rss-newsletters":{"get":{"tags":["RSS Newsletters"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search RSS newsletters by campaign ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Search RSS newsletters created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search RSS newsletters created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search RSS newsletters by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["enabled","disabled"]}}},{"name":"query[subject]","in":"query","description":"Search RSS newsletters by subject","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getRssNewslettersList","api_endpoint":"https://api.getresponse.com/v3/rss-newsletters"},"summary":"Get the list of RSS newsletters","description":"Get the list of RSS newsletters | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["RSS Newsletters"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createRssNewsletter","api_endpoint":"https://api.getresponse.com/v3/rss-newsletters"},"summary":"Create RSS newsletter","description":"Create RSS newsletter | Create RSS newsletter | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"flags":{"type":"array","description":"The message flags.","items":{"type":"string"}}}},"example":{"flags":[["clicktrack"]]}}}}}},"/rss-newsletters/statistics":{"get":{"tags":["RSS Newsletters"],"parameters":[{"name":"query[campaignId]","in":"query","description":"The list of campaign resource IDs (string separated with ',')","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Count data from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Count data to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[groupBy]","in":"query","description":"Group results by time interval","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["total","hour","day","month"]}}},{"name":"query[rssNewsletterId]","in":"query","description":"The list of RSS newsletter resource IDs (string separated with ',')","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getRssNewsletterStatisticsCollection","api_endpoint":"https://api.getresponse.com/v3/rss-newsletters/statistics"},"summary":"The statistics for all RSS newsletters","description":"The statistics for all RSS newsletters | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/custom-events":{"get":{"tags":["Custom Events"],"parameters":[{"name":"query[hasAttributes]","in":"query","description":"Search custom events with or without attributes","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["true","false"]}}},{"name":"query[name]","in":"query","description":"Search custom events by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCustomEventsList","api_endpoint":"https://api.getresponse.com/v3/custom-events"},"summary":"Get a list of custom events","description":"Get a list of custom events | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Custom Events"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createCustomEvent","api_endpoint":"https://api.getresponse.com/v3/custom-events"},"summary":"Create custom event","description":"Create custom event | Create custom event | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"attributes":{"type":"array","description":"Optional collection of attributes","required":true,"items":{"type":"object","properties":{"customEventAttributeId":{"type":"string","description":"body.attributes.customEventAttributeId (string field from the documented request schema)"}}}},"name":{"type":"string","description":"Unique name of custom event","required":true}}},"example":{"attributes":[[{"customEventAttributeId":"gt7"}]],"name":["sample_custom_event"]}}}}}},"/custom-events/trigger":{"post":{"tags":["Custom Events"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#triggerCustomEvent","api_endpoint":"https://api.getresponse.com/v3/custom-events/trigger"},"summary":"Trigger a custom event","description":"Trigger a custom event | Trigger a custom event | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"attributes":{"type":"array","description":"The attributes for the trigger","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the attribute. It must be already defined for the custom event","required":true},"value":{"type":"string","description":"Date in extended ISO 8601 datetime format: *2019-01-01T08:00:00+00*","required":true}}}},"contactId":{"type":"string","description":"The contact ID","required":true},"name":{"type":"string","description":"The name of custom event. Custom event with this name must already exist","required":true}}},"example":{"attributes":[[{"name":"lesson_name","value":"lesson_3"}]],"contactId":["lTgH5"],"name":["lesson_finished"]}}}}}},"/forms":{"get":{"tags":["Forms"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search forms assigned to this list (campaign). You can pass multiple comma-separated values, eg. `Xd1P,sC7r`","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Search forms created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search forms created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search forms by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search by status. **Note:** `disabled` includes both `unpublished` and `draft` and `enabled` equals `published`","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["enabled","disabled","published","unpublished","draft"]}}},{"name":"sort[createdOn]","in":"query","description":"sort[createdOn] (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"sort[name] (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[subscribed]","in":"query","description":"sort[subscribed] (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[subscriptionRate]","in":"query","description":"sort[subscriptionRate] (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[uniqueVisitors]","in":"query","description":"sort[uniqueVisitors] (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[visitors]","in":"query","description":"sort[visitors] (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getFormList","api_endpoint":"https://api.getresponse.com/v3/forms"},"summary":"Get the list of forms.","description":"Get the list of forms. | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/landing-pages":{"get":{"tags":["Legacy Landing Pages"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search landing pages by ID of the assigned campaign. Campaign ID must be encoded! You can get the campaign list with encoded IDs by calling the `/v3/campaigns` endpoint. You can search by multiple comma separated values eg. `o5lx,34er`.","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Show landing pages created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Show landing pages created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[domain]","in":"query","description":"Search landing pages by domain","required":false,"schema":{"type":"string","example":""}},{"name":"query[metaTitle]","in":"query","description":"Search landing pages by metaTitle field","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search landing pages by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["enabled","disabled"]}}},{"name":"query[subdomain]","in":"query","description":"Search landing pages by subdomain","required":false,"schema":{"type":"string","example":""}},{"name":"query[userDomain]","in":"query","description":"Search landing pages by user provided domain","required":false,"schema":{"type":"string","example":""}},{"name":"sort[campaignId]","in":"query","description":"Sort by campaign","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[domain]","in":"query","description":"Sort by domain","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[metaTitle]","in":"query","description":"Sort by metaTitle","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getLandingPageList","api_endpoint":"https://api.getresponse.com/v3/landing-pages"},"summary":"Get a list of landing pages","description":"Get a list of landing pages | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/imports":{"get":{"tags":["Imports"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search imports by campaignId","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Search imports created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search imports created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"sort[addedContacts]","in":"query","description":"Sort imports by inserted contact count","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[campaignName]","in":"query","description":"Sort imports by campaign name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[createdOn]","in":"query","description":"Sort imports by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[finishedOn]","in":"query","description":"Sort imports by finish date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[invalidContacts]","in":"query","description":"Sort imports by invalid contact count","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[status]","in":"query","description":"Sort imports by status (uploaded, to_review, approved, finished, rejected, canceled)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[updatedContacts]","in":"query","description":"Sort imports by updated contact count","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[uploadedContacts]","in":"query","description":"Sort imports by uploaded contact count","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getImportList","api_endpoint":"https://api.getresponse.com/v3/imports"},"summary":"Get a list of imports.","description":"Get a list of imports. | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Imports"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createImport","api_endpoint":"https://api.getresponse.com/v3/imports"},"summary":"Schedule a new contact import","description":"Schedule a new contact import | This endpoint lets you schedule a contact import. That way, you can add and update your contacts using a single API call. Since API imports are asynchronous, you should check periodically for updates while your original API request is being processed. To keep track of your import status, use [GET import](https://apireference.getresponse.com/#operation/getImportById) (provide the importId  from the response), or subscribe to an [import finished](https://apidocs.getresponse.com/v3/payloads#contacts-import-finished) webhook. Please note, that this endpoint has **specific rate limits** - for details please refer to [Create Import Limits](https://apidocs.getresponse.com/v3/case-study/create-import#limits). For more information on imports, check our [API Docs](https://apidocs.getresponse.com/v3/case-study/create-import) or [Help Center](https://www.getresponse.com/help/how-do-i-prepare-a-file-for-import.html) | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"campaignId":{"type":"string","description":"The ID of the destination campaign (list)","required":true},"contacts":{"type":"array","description":"Container for a contact definition. Include the values defined in the `fieldMapping` array","required":true,"items":{"type":"array"}},"fieldMapping":{"type":"array","description":"Mapping definition for such contact properties as email address, name, or custom fields. It's the equivalent of column headers in a CSV file used to import contacts in a GetResponse account. The `email` value is required. For custom fields, provide only custom fields name in the mapping. Include their values in the corresponding field in the contact array","required":true,"items":{"type":"string"}}}},"example":{"campaignId":["z5c"],"contacts":[[["example@somedomain.com"]]],"fieldMapping":[["email"]]}}}}}},"/statistics/ecommerce/revenue":{"get":{"tags":["Ecommerce"],"parameters":[{"name":"query[orderDate][from]","in":"query","description":"Show statistics for orders from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[orderDate][to]","in":"query","description":"Show statistics for orders to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[shopId]","in":"query","description":"Search statistics by shop ID. You can get the shop ID by calling the `/v3/shops` endpoint. You can search for multiple shops using comma-separated values, for example, `pgIH, CNXF`","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getRevenueStats","api_endpoint":"https://api.getresponse.com/v3/statistics/ecommerce/revenue"},"summary":"Get the ecommerce revenue statistics","description":"Get the ecommerce revenue statistics | Get the ecommerce revenue statistics | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/statistics/ecommerce/performance":{"get":{"tags":["Ecommerce"],"parameters":[{"name":"query[orderDate][from]","in":"query","description":"Show statistics for orders from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[orderDate][to]","in":"query","description":"Show statistics for orders to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[shopId]","in":"query","description":"Search statistics by shop ID. You can get the shop ID by calling the `/v3/shops` endpoint. You can search for multiple shops using comma-separated values, for example, `pgIH, CNXF`","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getGeneralPerformanceStats","api_endpoint":"https://api.getresponse.com/v3/statistics/ecommerce/performance"},"summary":"Get the ecommerce general performance statistics","description":"Get the ecommerce general performance statistics | Get the ecommerce general performance statistics | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/predefined-fields":{"get":{"tags":["Predefined Fields"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search by campaign ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getPredefinedFieldList","api_endpoint":"https://api.getresponse.com/v3/predefined-fields"},"summary":"Get the predefined fields list","description":"Get the predefined fields list | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Predefined Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createPredefinedField","api_endpoint":"https://api.getresponse.com/v3/predefined-fields"},"summary":"Create a predefined field","description":"Create a predefined field | Makes it possible to create a new predefined field. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"campaign":{"type":"object","description":"body.campaign (object field from the documented request schema)","required":true,"properties":{"campaignId":{"type":"string","description":"Campaign ID","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"The campaign name"}}},"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"body.name (string field from the documented request schema)","required":true},"predefinedFieldId":{"type":"string","description":"body.predefinedFieldId (string field from the documented request schema)"},"value":{"type":"string","description":"body.value (string field from the documented request schema)","required":true}}},"example":{"campaign":[{"campaignId":"C","href":"https://api.getresponse.com/v3/campaigns/C","name":"Promo campaign"}],"href":["https://api.getresponse.com/v3/predefined-fields/6neM"],"name":["my_predefined_field_123"],"predefinedFieldId":["6neM"],"value":["my value"]}}}}}},"/suppressions":{"get":{"tags":["Suppressions"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Search suppressions created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search suppressions created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search suppressions by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by the createdOn date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSuppressionsList","api_endpoint":"https://api.getresponse.com/v3/suppressions"},"summary":"Get suppression lists","description":"Get suppression lists | Get suppression lists | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Suppressions"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createSuppression","api_endpoint":"https://api.getresponse.com/v3/suppressions"},"summary":"Creates a new suppression list","description":"Creates a new suppression list | Creates a new suppression list | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"masks":{"type":"array","description":"body.masks (array field from the documented request schema)","items":{"type":"string"}},"name":{"type":"string","description":"The name of the suppression list","required":true}}},"example":{"masks":[["@example.com"]],"name":["suppression-name"]}}}}}},"/subscription-confirmations/body/{languageCode}":{"get":{"tags":["Subscription Confirmations"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSubscriptionConfirmationBodyList","api_endpoint":"https://api.getresponse.com/v3/subscription-confirmations/body/{languageCode}"},"summary":"Get collection of SUBSCRIPTION CONFIRMATIONS bodies","description":"Get collection of SUBSCRIPTION CONFIRMATIONS bodies | Sending **GET** request to this url, returns collection of **SUBSCRIPTION CONFIRMATIONS** bodies.\nLanguage code used in url must be in ISO 639-1 Language Code Standard. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/subscription-confirmations/subject/{languageCode}":{"get":{"tags":["Subscription Confirmations"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSubscriptionConfirmationSubjectList","api_endpoint":"https://api.getresponse.com/v3/subscription-confirmations/subject/{languageCode}"},"summary":"Get collection of SUBSCRIPTION CONFIRMATIONS subjects","description":"Get collection of SUBSCRIPTION CONFIRMATIONS subjects | Sending **GET** request to this url, returns collection of **SUBSCRIPTION CONFIRMATIONS** subjects.\nLanguage code used in url must be in ISO 639-1 Language Code Standard. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/shops":{"get":{"tags":["Shops"],"parameters":[{"name":"query[name]","in":"query","description":"Search shop by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getShopList","api_endpoint":"https://api.getresponse.com/v3/shops"},"summary":"Get a list of shops","description":"Get a list of shops | Sending a **GET** request to this URL returns a collection of shop resources.\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below in the request params section). You can basically search by:\n * name\nThe `name` fields can be a pattern and we'll try to match this phrase.\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Shops"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createShop","api_endpoint":"https://api.getresponse.com/v3/shops"},"summary":"Create shop","description":"Create shop | This method makes it possible to create a new shop. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"currency":{"type":"string","description":"The currency code (ISO 4217)","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"},"locale":{"type":"string","description":"The language locale (ISO 639-1)","required":true},"name":{"type":"string","description":"The shop name","required":true},"shopId":{"type":"string","description":"The shop ID"}}},"example":{"currency":["PLN"],"href":["https://api.getresponse.com/v3/shops/pf3"],"locale":["PL"],"name":["Monster market"],"shopId":["pf3"]}}}}}},"/popups":{"get":{"tags":["Forms And Popups"],"parameters":[{"name":"query[name]","in":"query","description":"Search forms and popups by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search forms and popups by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["published","unpublished"]}}},{"name":"sort[createdAt]","in":"query","description":"Sort forms and popups by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[ctr]","in":"query","description":"Sort by CTR (click-through rate)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[leads]","in":"query","description":"Sort by number of leads","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort forms and popups by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[status]","in":"query","description":"Sort forms and popups by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[uniqueVisitors]","in":"query","description":"Sort by number of unique visitors","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[updatedAt]","in":"query","description":"Sort forms and popups by modification date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[views]","in":"query","description":"Sort by number of views","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"stats[from]","in":"query","description":"Show statistics from this date","required":false,"schema":{"type":"string","example":""}},{"name":"stats[to]","in":"query","description":"Show statistics to this date","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getPopupsList","api_endpoint":"https://api.getresponse.com/v3/popups"},"summary":"Get the list of forms and popups","description":"Get the list of forms and popups | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/splittests":{"get":{"tags":["A B Tests"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Search A/B tests created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search A/B tests created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search A/B tests by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search A/B tests by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["active","inactive"]}}},{"name":"query[type]","in":"query","description":"Search A/B tests by type","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSplittestList","api_endpoint":"https://api.getresponse.com/v3/splittests"},"summary":"The list of A/B tests.","description":"The list of A/B tests. | The list of A/B tests. You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/custom-reports":{"get":{"tags":["Custom Reports"],"parameters":[{"name":"query[name]","in":"query","description":"Search custom reports by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[frequency]","in":"query","description":"Sort custom reports by frequency","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[generatedAt]","in":"query","description":"Sort custom reports by generation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort custom reports by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCustomReportList","api_endpoint":"https://api.getresponse.com/v3/custom-reports"},"summary":"Get a list of custom reports","description":"Get a list of custom reports | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Custom Reports"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createCustomReport","api_endpoint":"https://api.getresponse.com/v3/custom-reports"},"summary":"Create the custom report","description":"Create the custom report | The endpoint allows scheduling a custom report of a specific type for a given time period. Depending on the report type, you can also narrow down the data using appropriate filters.\nImportant: The reports you can generate depend on your pricing plan.\nMore information about using the endpoint, along with examples, can be found in the Case Study section of the [API documentation](http://apidocs.getresponse.com/v3/case-study/custom-reports-scheduling). | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"The custom report type","required":true},"name":{"type":"string","description":"The custom report name","required":true},"scheduling":{"type":"object","description":"Parameters responsible for defining the reporting period","required":true,"properties":{"endDate":{"type":"string","description":"The end of the period for which the report will be generated","required":true},"frequency":{"type":"string","description":"The custom report frequency","required":true},"startDate":{"type":"string","description":"The start of the period for which the report will be generated","required":true}}}}},"example":{"type":["subscription_rejections"],"name":["My new custom report"],"scheduling":[{"endDate":"2024-01-15","frequency":"one_time","startDate":"2024-01-01"}]}}}}}},"/file-library/quota":{"get":{"tags":["File Library"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#quota","api_endpoint":"https://api.getresponse.com/v3/file-library/quota"},"summary":"Get storage space information","description":"Get storage space information | Get storage space information | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/file-library/files":{"get":{"tags":["File Library"],"parameters":[{"name":"query[allFolders]","in":"query","description":"Return files from all folders, including the root folder. **This parameter can't be used together with ** `query[folderId]`","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["true","false"]}}},{"name":"query[folderId]","in":"query","description":"Search for files in a specific folder. **This parameter can't be used together with ** `query[allFolders]`","required":false,"schema":{"type":"string","example":""}},{"name":"query[group]","in":"query","description":"Search for files by group","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["audio","video","photo","document"]}}},{"name":"query[name]","in":"query","description":"Search for files by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[group]","in":"query","description":"Sort files by group","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[size]","in":"query","description":"Sort files by size","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getFileList","api_endpoint":"https://api.getresponse.com/v3/file-library/files"},"summary":"Get the list of files","description":"Get the list of files | By default, you can only search files in the root directory. To search for files in all folders, use the parameter `query[allFolders]=true`. To search for files in a specified folder, use the parameter `query[folderId]=`. **Note: these two parameters can't be used together**. You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["File Library"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createFile","api_endpoint":"https://api.getresponse.com/v3/file-library/files"},"summary":"Create a file","description":"Create a file | Create a file | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"content":{"type":"string","description":"The base64 encoded file content","required":true}}},"example":{"content":["dGVzdCBjb250ZW50"]}}}}}},"/file-library/folders":{"get":{"tags":["File Library"],"parameters":[{"name":"query[name]","in":"query","description":"Search folders by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort folders by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort folders by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[size]","in":"query","description":"Sort folders by size","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getFolderList","api_endpoint":"https://api.getresponse.com/v3/file-library/folders"},"summary":"Get the list of folders","description":"Get the list of folders | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["File Library"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createFolder","api_endpoint":"https://api.getresponse.com/v3/file-library/folders"},"summary":"Create a folder","description":"Create a folder | Create a folder | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"The folder name","required":true}}},"example":{"name":["sample folder"]}}}}}},"/ab-tests/subject":{"get":{"tags":["A B Tests - Subject"],"parameters":[{"name":"query[abTestId]","in":"query","description":"Search A/B tests by ID. You can search for multiple A/B tests using comma-separated values, for example, `pgIH, CNXF`","required":false,"schema":{"type":"string","example":""}},{"name":"query[campaignId]","in":"query","description":"Search A/B tests by list ID. You can search for multiple A/B tests using comma-separated list IDs, for example, `pgIH, CNXF`","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search A/B tests by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[stage]","in":"query","description":"Search A/B tests by stage","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["preparing","testing","finished","sending-winner","cancelled","draft","completed"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[sendOn]","in":"query","description":"Sort by send date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[stage]","in":"query","description":"Sort by stage","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[totalDelivered]","in":"query","description":"Sort by total delivered","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#GetAbTestSubjectList","api_endpoint":"https://api.getresponse.com/v3/ab-tests/subject"},"summary":"The list of A/B tests","description":"The list of A/B tests | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["A B Tests - Subject"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createSubjectAbTest","api_endpoint":"https://api.getresponse.com/v3/ab-tests/subject"},"summary":"Create a new A/B test","description":"Create a new A/B test | Create a new A/B test | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"abTestId":{"type":"string","description":"A/B test ID"},"campaign":{"type":"object","description":"body.campaign (object field from the documented request schema)","required":true,"properties":{"campaignId":{"type":"string","description":"Campaign ID","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"The campaign name"}}},"fromField":{"type":"object","description":"body.fromField (object field from the documented request schema)","required":true,"properties":{"fromFieldId":{"type":"string","description":"The 'From' address ID","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"}}},"name":{"type":"string","description":"A/B test name","required":true},"replyTo":{"type":"object","description":"body.replyTo (object field from the documented request schema)","properties":{"fromFieldId":{"type":"string","description":"The 'From' address ID","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"}}}}},"example":{"abTestId":["A3r"],"campaign":[{"campaignId":"C","href":"https://api.getresponse.com/v3/campaigns/C","name":"Promo campaign"}],"fromField":[{"fromFieldId":"V","href":"https://api.getresponse.com/v3/from-fields/V"}],"name":["A/B test"],"replyTo":[{"fromFieldId":"V","href":"https://api.getresponse.com/v3/from-fields/V"}]}}}}}},"/click-tracks":{"get":{"tags":["Click Tracks"],"parameters":[{"name":"query[createdOn][from]","in":"query","description":"Search click tracks from messages created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search click tracks from messages created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by message date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getClickTrackList","api_endpoint":"https://api.getresponse.com/v3/click-tracks"},"summary":"Get click tracked links list","description":"Get click tracked links list | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/newsletters":{"get":{"tags":["Newsletters"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search newsletters by campaign ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Search newsletters created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search newsletters created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search newsletters by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[sendOn][from]","in":"query","description":"Search for newsletters sent from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[sendOn][to]","in":"query","description":"Search for newsletters sent to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search newsletters by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["enabled","disabled"]}}},{"name":"query[subject]","in":"query","description":"Search newsletters by subject","required":false,"schema":{"type":"string","example":""}},{"name":"query[type]","in":"query","description":"Search newsletters by type","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["draft","broadcast","splittest","automation"]}}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[sendOn]","in":"query","description":"Sort by send on date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getNewsletterList","api_endpoint":"https://api.getresponse.com/v3/newsletters"},"summary":"Get the newsletter list","description":"Get the newsletter list | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Newsletters"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createNewsletter","api_endpoint":"https://api.getresponse.com/v3/newsletters"},"summary":"Create newsletter","description":"Create newsletter | >\nThis method creates a new newsletter and puts it in a queue to send.\n**NOTE: This method has a limit of 256 calls per day.** | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"The newsletter type"},"attachments":{"type":"array","description":"The newsletter attachments. The size of all attachments combined can't exceed 400KB","items":{"type":"object","properties":{"content":{"type":"string","description":"The base64 encoded file content"},"fileName":{"type":"string","description":"The file name"},"mimeType":{"type":"string","description":"The file mime type"}}}},"campaign":{"type":"object","description":"The newsletter must be assigned to a campaign","required":true,"properties":{"campaignId":{"type":"string","description":"Campaign ID","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"The campaign name"}}},"content":{"type":"object","description":"The message content.","required":true,"properties":{"html":{"type":"string","description":"The message content in HTML"},"plain":{"type":"string","description":"The plain text equivalent of the message content"}}},"flags":{"type":"array","description":"The message flags.","items":{"type":"string"}},"fromField":{"type":"object","description":"The 'From' email address used for the message","required":true,"properties":{"fromFieldId":{"type":"string","description":"The 'From' address ID","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"}}},"name":{"type":"string","description":"The newsletter name"},"replyTo":{"type":"object","description":"The email that will be used as the reply-to address","properties":{"fromFieldId":{"type":"string","description":"The 'From' address ID","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"}}},"sendSettings":{"type":"object","description":"How the message will be delivered to the subscriber. You can specify multiple parameters. Then the system uses AND logic.","required":true,"properties":{"excludedCampaigns":{"type":"array","description":"The list of excluded campaigns"},"excludedSegments":{"type":"array","description":"The list of excluded segments"},"externalLexpad":{"type":"object","description":"External Lexpad settings for the message, read more: [External Lexpad](https://apidocs.getresponse.com/v3/dynamic-content/external-lexpad)"},"perfectTiming":{"type":"string","description":"Use the perfect timing functionality"},"selectedCampaigns":{"type":"array","description":"The list of selected campaigns"},"selectedContacts":{"type":"array","description":"The list of selected contacts"},"selectedSegments":{"type":"array","description":"The list of selected segments"},"selectedSuppressions":{"type":"array","description":"The list of selected suppressions (suppressions exclude contacts)"},"sendOn":{"type":"object","description":"The scheduled send date and time for the newsletter. **Please note:** To send your message immediately, omit the `sendOn` section"},"timeTravel":{"type":"string","description":"Use the time travel functionality. This means that the system will match the scheduled sending hour for the message to the time zone of each recipient. As a result, sending may take up to 24 hours."}}},"subject":{"type":"string","description":"The message subject","required":true},"trackOpens":{"type":"string","description":"Enables open tracking for the message. When true, message opens are tracked; when false, they are not. Defaults to true when omitted."}}},"example":{"type":["broadcast"],"attachments":[[{"content":"sdfadsfetsdjfdskafdsaf==","fileName":"some_file.jpg","mimeType":"image/jpeg"}]],"campaign":[{"campaignId":"C","href":"https://api.getresponse.com/v3/campaigns/C","name":"Promo campaign"}],"content":[{"html":"<h1>test 12</h1><p>Some test <a href=\"http://example.com\">http://example.com</a></p>","plain":"test 12 Some test"}],"flags":[["clicktrack"]],"fromField":[{"fromFieldId":"V","href":"https://api.getresponse.com/v3/from-fields/V"}],"name":["New message"],"replyTo":[{"fromFieldId":"V","href":"https://api.getresponse.com/v3/from-fields/V"}],"sendSettings":[{"excludedCampaigns":["O"],"excludedSegments":["R"],"externalLexpad":{"dataSourceToken":"cf4dfca78434bf927a7655c0c4d95a2a45c33b71","dataSourceUrl":"https://example.com/external_lexpad"},"perfectTiming":"false","selectedCampaigns":["V"],"selectedContacts":["Qs"],"selectedSegments":["S"],"selectedSuppressions":["Se"],"sendOn":{"date":"2024-07-14T07:00:00","timeZone":{"timeZoneId":282}},"timeTravel":"true"}],"subject":["Annual report"],"trackOpens":["true"]}}}}}},"/newsletters/send-draft":{"post":{"tags":["Newsletters"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#sendDraft","api_endpoint":"https://api.getresponse.com/v3/newsletters/send-draft"},"summary":"Send the newsletter draft","description":"Send the newsletter draft | Send the newsletter draft | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"messageId":{"type":"string","description":"The message identifier (equals to newsletterId)","required":true},"sendSettings":{"type":"object","description":"How the message will be delivered to the subscriber","required":true,"properties":{"excludedCampaigns":{"type":"array","description":"The list of excluded campaigns"},"excludedSegments":{"type":"array","description":"The list of excluded segments"},"externalLexpad":{"type":"object","description":"External Lexpad settings for the message, read more: [External Lexpad](https://apidocs.getresponse.com/v3/dynamic-content/external-lexpad)"},"perfectTiming":{"type":"string","description":"Use the perfect timing functionality"},"selectedCampaigns":{"type":"array","description":"The list of selected campaigns"},"selectedContacts":{"type":"array","description":"The list of selected contacts"},"selectedSegments":{"type":"array","description":"The list of selected segments"},"selectedSuppressions":{"type":"array","description":"The list of selected suppressions (suppressions exclude contacts)"},"sendOn":{"type":"object","description":"The scheduled send date and time for the newsletter. **Please note:** To send your message immediately, omit the `sendOn` section"},"timeTravel":{"type":"string","description":"Use the time travel functionality. This means that the system will match the scheduled sending hour for the message to the time zone of each recipient. As a result, sending may take up to 24 hours."}}}}},"example":{"messageId":["N"],"sendSettings":[{"excludedCampaigns":["O"],"excludedSegments":["R"],"externalLexpad":{"dataSourceToken":"cf4dfca78434bf927a7655c0c4d95a2a45c33b71","dataSourceUrl":"https://example.com/external_lexpad"},"perfectTiming":"false","selectedCampaigns":["V"],"selectedContacts":["Qs"],"selectedSegments":["S"],"selectedSuppressions":["Se"],"sendOn":{"date":"2024-07-14T07:00:00","timeZone":{"timeZoneId":282}},"timeTravel":"true"}]}}}}}},"/newsletters/statistics":{"get":{"tags":["Newsletters"],"parameters":[{"name":"query[campaignId]","in":"query","description":"The list of campaign resource IDs (string separated with '')","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Count data from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Count data to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[groupBy]","in":"query","description":"Group results by time interval","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["total","hour","day","month"]}}},{"name":"query[newsletterId]","in":"query","description":"The list of newsletter resource IDs (string separated with '')","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getNewsletterStatisticsCollection","api_endpoint":"https://api.getresponse.com/v3/newsletters/statistics"},"summary":"Total newsletter statistics","description":"Total newsletter statistics | >This makes it possible to fetch newsletter statistics based on the list of campaign or newsletter IDs\n(you can pass them in the query parameter - see the description below). Remember that all the statistics date ranges\nare returned in standard UTC period type objects. ([See ISO 8601 standard](http://en.wikipedia.org/wiki/ISO_8601#Time_intervals)). You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/tags":{"get":{"tags":["Tags"],"parameters":[{"name":"query[createdAt][from]","in":"query","description":"Search tags created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdAt][to]","in":"query","description":"Search tags created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search tags by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdAt]","in":"query","description":"Sort tags by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTagsList","api_endpoint":"https://api.getresponse.com/v3/tags"},"summary":"Get the list of tags","description":"Get the list of tags | Provides a list of tags. You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Tags"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createTag","api_endpoint":"https://api.getresponse.com/v3/tags"},"summary":"Add a new tag","description":"Add a new tag | Add a new tag | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"color":{"type":"string","description":"The tag color (deprecated)"},"name":{"type":"string","description":"The tag name","required":true}}},"example":{"color":["string"],"name":["My_Tag"]}}}}}},"/addresses":{"get":{"tags":["Addresses"],"parameters":[{"name":"query[address1]","in":"query","description":"Search addresses by address1 field","required":false,"schema":{"type":"string","example":""}},{"name":"query[address2]","in":"query","description":"Search addresses by address2 field","required":false,"schema":{"type":"string","example":""}},{"name":"query[city]","in":"query","description":"Search addresses by city","required":false,"schema":{"type":"string","example":""}},{"name":"query[company]","in":"query","description":"Search addresses by company","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Search addresses created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search addresses created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[firstName]","in":"query","description":"Search addresses by first name","required":false,"schema":{"type":"string","example":""}},{"name":"query[lastName]","in":"query","description":"Search addresses by last name","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search addresses by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[phone]","in":"query","description":"Search addresses by phone","required":false,"schema":{"type":"string","example":""}},{"name":"query[provinceCode]","in":"query","description":"Search addresses by province code","required":false,"schema":{"type":"string","example":""}},{"name":"query[province]","in":"query","description":"Search addresses by province","required":false,"schema":{"type":"string","example":""}},{"name":"query[zip]","in":"query","description":"Search addresses by ZIP","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAddressList","api_endpoint":"https://api.getresponse.com/v3/addresses"},"summary":"Get a list of addresses","description":"Get a list of addresses | Sending a **GET** request to this URL returns collection of address resources.\nYou can narrow down the list of resources by passing proper query parameters (the list of which you can find below in the request params section). You can basically search by:\n* name\n* firstName\n* lastName\n* address1\n* address2\n* city\n* zip\n* province\n* provinceCode\n* phone\n* company\n* createdOn\nThe `name` field can be a pattern and we'll try to match this phrase.\nYou can specify which page of the results you want and how many results per page to display. You can also specify the sort-order using one or more of the allowed fields (listed below in the request params section).\nLast but not least, you can even specify which fields from a resource you want to get. If you pass the param `fields` with the list of fields (separated by a comma [,]) we'll return the list of resources with only those fields (we'll always add a resource ID to ensure that you can use that data later on)\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Addresses"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createAddress","api_endpoint":"https://api.getresponse.com/v3/addresses"},"summary":"Create address","description":"Create address | Create address | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"address1":{"type":"string","description":"Address line 1"},"address2":{"type":"string","description":"Address line 2"},"addressId":{"type":"string","description":"body.addressId (string field from the documented request schema)"},"city":{"type":"string","description":"body.city (string field from the documented request schema)"},"company":{"type":"string","description":"The company name, free text"},"countryCode":{"type":"string","description":"The country code (ISO 3166-1 alpha-3)","required":true},"countryName":{"type":"string","description":"The country name, based on `countryCode`"},"firstName":{"type":"string","description":"body.firstName (string field from the documented request schema)"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"lastName":{"type":"string","description":"body.lastName (string field from the documented request schema)"},"name":{"type":"string","description":"body.name (string field from the documented request schema)","required":true},"phone":{"type":"string","description":"The phone number, free text"},"province":{"type":"string","description":"body.province (string field from the documented request schema)"},"provinceCode":{"type":"string","description":"The province code, free text"},"zip":{"type":"string","description":"The ZIP/postal code, free text"}}},"example":{"address1":["Arkonska 6"],"address2":[""],"addressId":["k9"],"city":["Gdansk"],"company":["GetResponse"],"countryCode":["POL"],"countryName":["Poland"],"firstName":["John"],"href":["https://api.getresponse.com/v3/addresses/k9"],"lastName":["Doe"],"name":["some_shipping_address"],"phone":["1122334455"],"province":["pomorskie"],"provinceCode":[""],"zip":["80-387"]}}}}}},"/accounts/blocklists":{"get":{"tags":["Accounts"],"parameters":[{"name":"query[mask]","in":"query","description":"Blocklist mask to search for","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAccountBlocklist","api_endpoint":"https://api.getresponse.com/v3/accounts/blocklists"},"summary":"Returns account blocklist masks","description":"Returns account blocklist masks | Returns account blocklist masks | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Accounts"],"parameters":[{"name":"additionalFlags","in":"query","description":"The flag value `add` adds the masks provided in the request body to your blocklist. The flag value `delete` deletes the masks. The masks are replaced if there are no flag values in the request body. \n For better performance, use the flag value `noResponse`. It removes the response body and can be used alone or combined with other flags. If multiple flags are used, separate them by a comma, like this: `additionalFlags=noResponse` or `additionalFlags=add,noResponse`.","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["add","delete","noResponse"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateAccountBlocklist","api_endpoint":"https://api.getresponse.com/v3/accounts/blocklists"},"summary":"Update account blocklist","description":"Update account blocklist | Update account blocklist | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"masks":{"type":"array","description":"body.masks (array field from the documented request schema)","required":true,"items":{"type":"string"}}}},"example":{"masks":[["jack@somedomain.com"]]}}}}}},"/custom-fields":{"get":{"tags":["Custom Fields"],"parameters":[{"name":"query[name]","in":"query","description":"Search custom fields by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCustomFieldList","api_endpoint":"https://api.getresponse.com/v3/custom-fields"},"summary":"Get a list of custom fields","description":"Get a list of custom fields | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Custom Fields"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createCustomField","api_endpoint":"https://api.getresponse.com/v3/custom-fields"},"summary":"Create a custom field","description":"Create a custom field | Create a custom field | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"The custom field `type` accepts the following values:\n * `string` - input for a string value\n * `number` - input for a numeric value\n * `date` - input for a date\n * `datetime` - input for date and time\n * `country` - input for a country\n * `currency` - input for a currency, allows all ISO 4217 currency codes\n * `phone` - input for a phone number\n * `gender` - input for gender, allows `Male`, `Female` or `Prefer not to say`\n * `ip` - input for an IP address\n * `url` - input for a URL.","required":true},"customFieldId":{"type":"string","description":"Custom field ID"},"fieldType":{"type":"string","description":"Returns the same as `format`"},"format":{"type":"string","description":"The custom field `format` accepts following values:\n * `text` - text input (doesn't require values in the `values` field, you can pass empty array)\n * `textarea` - textarea input (doesn't require values in the `values` field, you can pass empty array)\n * `radio` - radio input (requires at least 2 values in the `values` field)\n * `checkbox` - checkbox input (doesn't require values in the `values` field, you can pass empty array)\n * `single_select` - single select input (requires at least 2 values in the `values` field)\n * `multi_select` - multi select input (requires at least 2 values in the `values` field).","required":true},"hidden":{"type":"string","description":"Whether the custom field is visible to contacts","required":true},"href":{"type":"string","description":"Direct hyperlink to a resource"},"name":{"type":"string","description":"The name of the custom field. It must meet the following requirements:\n * be unique\n * use only lowercase letters, underscores and digits\n * not be equal to one of the merge words used in messages, i.e. `name, email, twitter, facebook, buzz, myspace, linkedin, digg, googleplus, pinterest, responder, campaign, change`.","required":true},"valueType":{"type":"string","description":"Type of returning value, it returns `type` options extended by a `string` option if the `format` was not defined"},"values":{"type":"array","description":"The list of assigned default values, starting from zero depending on the custom field format. (Please see description).","required":true,"items":{"type":"string"}}}},"example":{"type":["phone"],"customFieldId":["pas"],"fieldType":["text"],"format":["text"],"hidden":["false"],"href":["https://api.getresponse.com/v3/custom-fields/pas"],"name":["office_phone_number"],"valueType":["phone"],"values":[["+48600100200"]]}}}}}},"/lps":{"get":{"tags":["Landing Pages"],"parameters":[{"name":"query[name]","in":"query","description":"Search landing pages by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search landing pages by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["published","unpublished"]}}},{"name":"sort[createdAt]","in":"query","description":"Sort landing pages by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[leads]","in":"query","description":"Sort landing pages by number of leads","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort landing pages by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[subscriptionRate]","in":"query","description":"Sort by subscription rate","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[updatedAt]","in":"query","description":"Sort landing pages by modification date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[visits]","in":"query","description":"Sort by number of page visits","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"stats[from]","in":"query","description":"Show statistics for landing pages from this date","required":false,"schema":{"type":"string","example":""}},{"name":"stats[to]","in":"query","description":"Show statistics for landing pages to this date","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getLpsList","api_endpoint":"https://api.getresponse.com/v3/lps"},"summary":"Get the list of landing pages","description":"Get the list of landing pages | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/multimedia":{"get":{"tags":["Multimedia"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getImageList","api_endpoint":"https://api.getresponse.com/v3/multimedia"},"summary":"Get images list","description":"Get images list | Get images list | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Multimedia"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#uploadImage","api_endpoint":"https://api.getresponse.com/v3/multimedia"},"summary":"Upload image","description":"Upload image | Upload image | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":false,"content":{"multipart/form-data":{"schema":{"type":"object","required":[],"properties":{"file":{"type":"string","description":"body.file (string field from the documented request schema)"}}},"example":{"file":["string"]}}}}}},"/tracking":{"get":{"tags":["Tracking"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTracking","api_endpoint":"https://api.getresponse.com/v3/tracking"},"summary":"Get Tracking JavaScript code snippets","description":"Get Tracking JavaScript code snippets | With code snippets you will be able to track Purchases, Abandoned carts, and Visited URLs. Find more in our [Help Center](https://www.getresponse.com/help/marketing-automation/ecommerce-conditions/how-do-i-add-the-tracking-javascript-code-to-my-website.html). | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/tracking/facebook-pixels":{"get":{"tags":["Tracking"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getFacebookPixelList","api_endpoint":"https://api.getresponse.com/v3/tracking/facebook-pixels"},"summary":"Get the list of \"Facebook Pixels\"","description":"Get the list of \"Facebook Pixels\" | Returns the name and ID of \"Facebook Pixels\" assigned to a user's account. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/accounts":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAccount","api_endpoint":"https://api.getresponse.com/v3/accounts"},"summary":"Account information","description":"Account information | Account information | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateAccount","api_endpoint":"https://api.getresponse.com/v3/accounts"},"summary":"Update account","description":"Update account | Update account | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"accountId":{"type":"string","description":"Account ID"},"city":{"type":"string","description":"City"},"companyName":{"type":"string","description":"Company name"},"countryCode":{"type":"object","description":"body.countryCode (object field from the documented request schema)","properties":{"countryCode":{"type":"string","description":"Country code"},"countryCodeId":{"type":"string","description":"Country code ID"}}},"email":{"type":"string","description":"Email"},"firstName":{"type":"string","description":"First name"},"href":{"type":"string","description":"Direct URL to resource"},"industryTag":{"type":"object","description":"body.industryTag (object field from the documented request schema)","properties":{"industryTagId":{"type":"string","description":"Industry tag ID"}}},"lastName":{"type":"string","description":"Last name"},"numberOfEmployees":{"type":"string","description":"Numbers of employees"},"phone":{"type":"string","description":"Phone number"},"state":{"type":"string","description":"State"},"street":{"type":"string","description":"Street"},"timeFormat":{"type":"string","description":"Account time notation"},"timeZone":{"type":"object","description":"body.timeZone (object field from the documented request schema)","properties":{"name":{"type":"string","description":"Time zone name as defined by https://en.wikipedia.org/wiki/List_of_tz_database_time_zones"}}},"zipCode":{"type":"string","description":"ZIP Code"}}},"example":{"accountId":["VfEy1"],"city":["Alderson"],"companyName":["MyBigCompany"],"countryCode":[{"countryCode":"PL","countryCodeId":"175"}],"email":["john.smith@test.com"],"firstName":["John"],"href":["https://api.getresponse.com/v3/accounts"],"industryTag":[{"industryTagId":"1"}],"lastName":["Smith"],"numberOfEmployees":["500"],"phone":["+00155555555"],"state":["Oklahoma"],"street":["Sunset blv."],"timeFormat":["24h"],"timeZone":[{"name":"Europe/Warsaw"}],"zipCode":["81-611"]}}}}}},"/accounts/billing":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAccountBilling","api_endpoint":"https://api.getresponse.com/v3/accounts/billing"},"summary":"Billing information","description":"Billing information | Billing information | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/accounts/timezones":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getTimezones","api_endpoint":"https://api.getresponse.com/v3/accounts/timezones"},"summary":"List of timezones","description":"List of timezones | List of timezones in account's language context. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/accounts/callbacks":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCallbacks","api_endpoint":"https://api.getresponse.com/v3/accounts/callbacks"},"summary":"Get callbacks configuration","description":"Get callbacks configuration | Get callbacks configuration | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateCallbacks","api_endpoint":"https://api.getresponse.com/v3/accounts/callbacks"},"summary":"Enable or update callbacks configuration","description":"Enable or update callbacks configuration | Enable or update callbacks configuration | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"actions":{"type":"object","description":"body.actions (object field from the documented request schema)","properties":{"click":{"type":"boolean","description":"Is `click` callback enabled","enum":[true,false]},"open":{"type":"boolean","description":"Is `open` callback enabled","enum":[true,false]},"subscribe":{"type":"boolean","description":"Is `subscribe` callback enabled","enum":[true,false]},"survey":{"type":"boolean","description":"Is `survey` callback enabled","enum":[true,false]},"unsubscribe":{"type":"boolean","description":"Is `unsubscribe` callback enabled","enum":[true,false]}}},"url":{"type":"string","description":"URL to use to post notifications, required if callbacks are not yet enabled"}}},"example":{"actions":[{"click":false,"open":false,"subscribe":false,"survey":false,"unsubscribe":false}],"url":["https://example.com/callback"]}}}}},"delete":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#disableCallbacks","api_endpoint":"https://api.getresponse.com/v3/accounts/callbacks"},"summary":"Disable callbacks","description":"Disable callbacks | Disable callbacks | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/accounts/industries":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getIndustries","api_endpoint":"https://api.getresponse.com/v3/accounts/industries"},"summary":"List of Industry Tags","description":"List of Industry Tags | List of Industry Tags in account's language context. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/accounts/login-history":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAccountLoginHistory","api_endpoint":"https://api.getresponse.com/v3/accounts/login-history"},"summary":"History of logins","description":"History of logins | History of logins | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/accounts/badge":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAccountBadge","api_endpoint":"https://api.getresponse.com/v3/accounts/badge"},"summary":"Current status of your GetResponse badge","description":"Current status of your GetResponse badge | Current status of your GetResponse badge | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#updateAccountBadge","api_endpoint":"https://api.getresponse.com/v3/accounts/badge"},"summary":"Turn on/off the GetResponse Badge","description":"Turn on/off the GetResponse Badge | Turn on/off the GetResponse Badge | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"Account badge type"},"status":{"type":"string","description":"body.status (string field from the documented request schema)","required":true}}},"example":{"type":["referral"],"status":["enabled"]}}}}}},"/accounts/sending-limits":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSendingLimits","api_endpoint":"https://api.getresponse.com/v3/accounts/sending-limits"},"summary":"Send limits","description":"Send limits | Send limits | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/campaigns":{"get":{"tags":["Campaigns (Lists)"],"parameters":[{"name":"query[isDefault]","in":"query","description":"Retrieve campaigns (contact lists) depending on whether they are marked as default (`isDefault` = `true`)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"query[name]","in":"query","description":"Retrieve campaigns (contact lists) filtered by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[createdOn]","in":"query","description":"Sort campaigns (contact lists) by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaignList","api_endpoint":"https://api.getresponse.com/v3/campaigns"},"summary":"Get a list of campaigns","description":"Get a list of campaigns | Returns a list of campaigns (contact lists). You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Campaigns (Lists)"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createCampaign","api_endpoint":"https://api.getresponse.com/v3/campaigns"},"summary":"Create a campaign","description":"Create a campaign | This endpoint allows you to create a campaign (contact list). You can create up to 1000 campaigns (contact lists). | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"campaignId":{"type":"string","description":"Unique identifier of the campaign (contact list)"},"createdOn":{"type":"string","description":"The date of creation"},"href":{"type":"string","description":"Direct hyperlink to a resource"},"isDefault":{"type":"string","description":"Is the campaign default"},"languageCode":{"type":"string","description":"The campaign language code according to ISO 639-1, plus: zt - Chinese (Traditional), fs - Afghan Persian (Dari), md - Moldavian"},"name":{"type":"string","description":"The campaign (list) name.\n* You can use each list name just once in your account.\n* The name must be between 3-64 characters.\n* All alphabets supported by GetResponse, including right-to-left ones, are allowed.\n* You can use upper and lower case letters, numbers, spaces and special characters apart from the ones listed below.\n* You can’t use emojis and the following special characters: `/`, `\\`, `@`, and `[` or `]`.","required":true},"techName":{"type":"string","description":"Tech name is a unique internal ID of a list used for [FTP imports](https://www.getresponse.com/help/how-to-import-files-via-ftp.html) (available in GetResponse MAX accounts only)"}}},"example":{"campaignId":["V3J"],"createdOn":["2014-02-12T15:19:21+0000"],"href":["https://api.getresponse.com/v3/campaigns/V3J"],"isDefault":["true"],"languageCode":["EN"],"name":["my_campaign"],"techName":["my_campaign"]}}}}}},"/campaigns/statistics/origins":{"get":{"tags":["Campaigns (Lists)"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaignStatisticsOrigins","api_endpoint":"https://api.getresponse.com/v3/campaigns/statistics/origins"},"summary":"Get subscriber origin statistics","description":"Get subscriber origin statistics | The results are indexed with the campaign ID. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/campaigns/statistics/locations":{"get":{"tags":["Campaigns (Lists)"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaignStatisticsLocations","api_endpoint":"https://api.getresponse.com/v3/campaigns/statistics/locations"},"summary":"Get subscriber location statistics","description":"Get subscriber location statistics | The results are indexed with the location name (PL, EN, etc.). | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/campaigns/statistics/list-size":{"get":{"tags":["Campaigns (Lists)"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaignStatisticsListSize","api_endpoint":"https://api.getresponse.com/v3/campaigns/statistics/list-size"},"summary":"Get campaign size statistics","description":"Get campaign size statistics | Returns the number of the total added and removed subscribers, grouped by default or by time period. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/campaigns/statistics/subscriptions":{"get":{"tags":["Campaigns (Lists)"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaignStatisticsSubscriptions","api_endpoint":"https://api.getresponse.com/v3/campaigns/statistics/subscriptions"},"summary":"Get the number and origin of subscription statistics","description":"Get the number and origin of subscription statistics | Returns the number and origin of subscriptions, grouped by a specified campaigns for each day on which any changes were made. Dates in the YYYY-MM-DD format are used as keys in the response. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/campaigns/statistics/removals":{"get":{"tags":["Campaigns (Lists)"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaignStatisticsRemovals","api_endpoint":"https://api.getresponse.com/v3/campaigns/statistics/removals"},"summary":"Get removal statistics","description":"Get removal statistics | Returns the number and reason for removed contacts. Dates in the YYYY-MM-DD format are used as keys in the response. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/campaigns/statistics/balance":{"get":{"tags":["Campaigns (Lists)"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaignStatisticsBalance","api_endpoint":"https://api.getresponse.com/v3/campaigns/statistics/balance"},"summary":"Get balance statistics","description":"Get balance statistics | Returns the balance of subscriptions. Dates in the YYYY-MM-DD format are used as keys in the response. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/campaigns/statistics/summary":{"get":{"tags":["Campaigns (Lists)"],"parameters":[{"name":"query[campaignId]","in":"query","description":"query[campaignId] (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getCampaignStatisticsSummary","api_endpoint":"https://api.getresponse.com/v3/campaigns/statistics/summary"},"summary":"Get the statistics summary for selected campaigns","description":"Get the statistics summary for selected campaigns | The results are indexed with the campaign ID. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/webforms":{"get":{"tags":["Legacy Forms"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search Legacy Forms by campaignId. Accepts multiple IDs separated with a comma","required":false,"schema":{"type":"string","example":""}},{"name":"query[modifiedOn][from]","in":"query","description":"Search Legacy Forms modified from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[modifiedOn][to]","in":"query","description":"Search Legacy Forms modified to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search Legacy Forms by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[modifiedOn]","in":"query","description":"Sort Legacy Forms by modification date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getLegacyFormList","api_endpoint":"https://api.getresponse.com/v3/webforms"},"summary":"Get Legacy Forms.","description":"Get Legacy Forms. | Get the list of Legacy Forms. You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/gdpr-fields":{"get":{"tags":["GDPR Fields"],"parameters":[{"name":"sort[createdOn]","in":"query","description":"Sort fields by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort fields by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getGDPRFieldList","api_endpoint":"https://api.getresponse.com/v3/gdpr-fields"},"summary":"Get the GDPR fields list","description":"Get the GDPR fields list | Get the GDPR fields list | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/workflow":{"get":{"tags":["Workflows"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getWorkflowList","api_endpoint":"https://api.getresponse.com/v3/workflow"},"summary":"Get workflows","description":"Get workflows | Get the list of workflows. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/sms-automation":{"get":{"tags":["SMS Automation Messages"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search automated SMS messages by campaign (list) ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[hasLinks]","in":"query","description":"Search for automated SMS messages containing links","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"query[name]","in":"query","description":"Search automated SMS messages by name","required":false,"schema":{"type":"string","example":""}},{"name":"sort[clicks]","in":"query","description":"Sort by the number of link clicks","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[delivered]","in":"query","description":"Sort by the number of delivered SMS messages","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[modifiedOn]","in":"query","description":"Sort by the date the SMS message was modified on","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by the name of the automated SMS message","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[sent]","in":"query","description":"Sort by the number of sent SMS messages","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[status]","in":"query","description":"Sort by the status of the SMS message","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSMSAutomationList","api_endpoint":"https://api.getresponse.com/v3/sms-automation"},"summary":"Get the list of automated SMS messages.","description":"Get the list of automated SMS messages. | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/sms":{"get":{"tags":["SMS Messages"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search SMS messages by campaign (list) ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[hasLinks]","in":"query","description":"Search for SMS messages with links","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"query[name]","in":"query","description":"Search SMS messages by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[sendingStatus]","in":"query","description":"Search SMS messages by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["scheduled","sending","sent"]}}},{"name":"query[type]","in":"query","description":"Search SMS messages by type","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["sms","draft"]}}},{"name":"sort[clicks]","in":"query","description":"Sort by number of link clicks","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[delivered]","in":"query","description":"Sort by number of delivered messages","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[modifiedOn]","in":"query","description":"Sort by modification date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[sendOn]","in":"query","description":"Sort by sending date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[sendingStatus]","in":"query","description":"Sort by sending status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[sent]","in":"query","description":"Sort by number of sent messages","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSMSList","api_endpoint":"https://api.getresponse.com/v3/sms"},"summary":"Get the list of SMS messages","description":"Get the list of SMS messages | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["SMS Messages"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#sendSms","api_endpoint":"https://api.getresponse.com/v3/sms"},"summary":"Send an SMS message","description":"Send an SMS message | Sends a new SMS (text) message to a list of recipients | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"content":{"type":"string","description":"The SMS message content","required":true},"name":{"type":"string","description":"The SMS message name","required":true},"recipientsType":{"type":"string","description":"The recipient type. To send a text message to contacts in your list, select `contacts`. To message contacts who are not in any of your lists, select `importedNumbers`","required":true}}},"example":{"content":["Sample SMS content"],"name":["New message"],"recipientsType":["contacts"]}}}}}},"/sms/sender-names":{"get":{"tags":["SMS Messages"],"parameters":[{"name":"query[status]","in":"query","description":"Search sender names by status","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getSmsSenderNameList","api_endpoint":"https://api.getresponse.com/v3/sms/sender-names"},"summary":"Get a list of SMS sender names","description":"Get a list of SMS sender names | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/autoresponders":{"get":{"tags":["Autoresponders"],"parameters":[{"name":"query[campaignId]","in":"query","description":"Search autoresponder by campaign ID","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Search autoresponder created from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Search autoresponder created to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[name]","in":"query","description":"Search autoresponder by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search autoresponder by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["enabled","disabled"]}}},{"name":"query[subject]","in":"query","description":"Search autoresponder by subject","required":false,"schema":{"type":"string","example":""}},{"name":"sort[clickRate]","in":"query","description":"Sort by click rate","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[createdOn]","in":"query","description":"Sort by date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[dayOfCycle]","in":"query","description":"Sort by cycle day","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[delivered]","in":"query","description":"Sort by delivered","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[openRate]","in":"query","description":"Sort by open rate","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[subject]","in":"query","description":"Sort by subject","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAutoresponderList","api_endpoint":"https://api.getresponse.com/v3/autoresponders"},"summary":"Get the list of autoresponders.","description":"Get the list of autoresponders. | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Autoresponders"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#createAutoresponder","api_endpoint":"https://api.getresponse.com/v3/autoresponders"},"summary":"Create autoresponder","description":"Create autoresponder | >\n**The action-based autoresponder feature has been migrated over to marketing automation. Your existing autoresponders are\nnow converted into workflows. You can no longer create and update action-based autoresponders using our API.**\nThis request allows you to create an autoresponder. Remember to select the proper `sendSettings` - depending on `type` you need to fill corresponding setting (eg. if you selected type `delay`, then you MUST fill `delayInHours` field). | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"sendSettings":{"type":"object","description":"How the message will be delivered to the subscriber","required":true,"properties":{"type":{"type":"string","description":"When to send the message","required":true},"excludedDaysOfWeek":{"type":"array","description":"The days of the week to exclude from message sending (the message will be sent on the next non-excluded day after the trigger)"},"externalLexpad":{"type":"object","description":"External Lexpad settings for the message, read more: [External Lexpad](https://apidocs.getresponse.com/v3/dynamic-content/external-lexpad)"},"timeTravel":{"type":"string","description":"Should the message be sent in the user's or the subscriber's time zone"}}}}},"example":{"sendSettings":[{"type":"signup","excludedDaysOfWeek":["Monday"],"externalLexpad":{"dataSourceToken":"cf4dfca78434bf927a7655c0c4d95a2a45c33b71","dataSourceUrl":"https://example.com/external_lexpad"},"timeTravel":"true"}]}}}}}},"/autoresponders/statistics":{"get":{"tags":["Autoresponders"],"parameters":[{"name":"query[autoreponderId]","in":"query","description":"The list of autoresponder resource IDs (string separated with '')","required":false,"schema":{"type":"string","example":""}},{"name":"query[campaignId]","in":"query","description":"The list of campaign resource IDs (string separated with '')","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][from]","in":"query","description":"Count data from this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[createdOn][to]","in":"query","description":"Count data to this date","required":false,"schema":{"type":"string","example":""}},{"name":"query[groupBy]","in":"query","description":"Group results by time interval","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["total","hour","day","month"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getAutoresponderStatisticsCollection","api_endpoint":"https://api.getresponse.com/v3/autoresponders/statistics"},"summary":"The statistics for all autoresponders","description":"The statistics for all autoresponders | >\nThis returns the statistics summary for selected autoresponders. You can select them by specifying the autoresponder or campaign IDs.\nAs in all statistics, you can change the date and time range  (hourly daily monthly or total). Keep in mind\nthat all statistics date ranges are given in standard UTC period type objects. ([See ISO 8601 standard](http://en.wikipedia.org/wiki/ISO_8601#Time_intervals))\n(https://app.getresponse.com/statistics.html?t=followup#total).\n You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}},"/websites":{"get":{"tags":["Websites"],"parameters":[{"name":"query[name]","in":"query","description":"Search websites by name","required":false,"schema":{"type":"string","example":""}},{"name":"query[status]","in":"query","description":"Search websites by status","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["published","unpublished"]}}},{"name":"sort[createdAt]","in":"query","description":"Sort websites by creation date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[name]","in":"query","description":"Sort websites by name","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[pageViews]","in":"query","description":"Sort websites by page views","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[uniqueVisitors]","in":"query","description":"Sort by number of unique visitors","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[updatedAt]","in":"query","description":"Sort websites by modification date","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"sort[visits]","in":"query","description":"Sort by number of site visits","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["ASC","DESC"]}}},{"name":"stats[from]","in":"query","description":"Show statistics for websites from this date","required":false,"schema":{"type":"string","example":""}},{"name":"stats[to]","in":"query","description":"Show statistics for websites to this date","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://apireference.getresponse.com#getWebsitesList","api_endpoint":"https://api.getresponse.com/v3/websites"},"summary":"Get the list of websites","description":"Get the list of websites | You can filter the resource using criteria specified as `query[*]`. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as `sort[*]`. You can specify multiple fields to sort by. | Source: official OpenAPI spec at https://apireference.getresponse.com/open-api.json","security":[{"bearerAuth":[]}]}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"security":[{"bearerAuth":[]}]}