{"info":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","description":"<html><head></head><body><h2 id=\"introduction\">Introduction</h2>\n<hr>\n<p>The Swift Digital Suite REST API v3 is designed following REST principles. It utilises predictable, resource-oriented URLs, accepts form-encoded request bodies, and returns responses encoded in JSON format. The API also adheres to standard HTTP response codes, authentication mechanisms, and HTTP verbs.</p>\n<p>Authentication is handled using OAuth 2.0. To access the API, you need to obtain an access token. This token can be generated by your administrator on the Swift Digital Suite platform. Once generated, this token can be used to authenticate API requests.</p>\n<hr>\n<h2 id=\"getting-started\">Getting Started</h2>\n<p>To get started with the Swift Digital Suite REST API v3, just click the \"Run in Postman\" button above. Postman is a free tool that helps developers test and debug API requests, and it's where you'll find all the details in this documentation. You can easily access every endpoint mentioned here by importing our collection into the Postman app. Then, simply choose from the examples in the dropdown menu at the top right of the builder interface.</p>\n<p>The simplest method to begin utilising the documentation is by clicking the \"Run in Postman\" button provided above.</p>\n<p><a href=\"https://www.getpostman.com/\">Postman</a></p>\n<p>It is a free tool that assists developers in executing and debugging API requests and serves as the definitive source for this documentation. Each endpoint documented here is immediately accessible by running our Postman collection. Import the collection directly into the Postman app and access all saved examples from the \"Examples\" dropdown located in the upper right corner of the builder.</p>\n<p><img src=\"https://assets.postman.com/postman-docs/accessing-saved-examples.jpg\"></p>\n\n<hr>\n<h2 id=\"best-practices\">Best Practices</h2>\n<ul>\n<li><p>Utilise the Recommended Endpoint Naming Conventions</p>\n</li>\n<li><p>Use the Appropriate HTTP Method</p>\n</li>\n<li><p>Consider rate limits when calling the REST API v3. The default is 600 requests/minute.</p>\n</li>\n<li><p>Review the appropriate HTTP response code returned from the API.</p>\n</li>\n</ul>\n<hr>\n<h2 id=\"base-url\">Base URL</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">https://v3.api.swiftdigital.com.au/\n\n</code></pre>\n<h2 id=\"token-url\">Token URL</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">https://v3.api.swiftdigital.com.au/auth/token\n\n</code></pre>\n<hr>\n<h1 id=\"authentication\">Authentication</h1>\n<p>To facilitate OAuth2 authentication and token generation for the Swift Digital Suite REST API v3, users can follow the steps outlined below. Here's a detailed guide on how users can work with our API to generate access tokens and refresh tokens:</p>\n<h5 id=\"step-1-account-settings-permission\">Step 1: Account Settings Permission</h5>\n<ul>\n<li><p>The administrator from your Swift Digital Suite account needs to go to Administration &gt; Integrations and see if the REST API v3 can be accessed.</p>\n</li>\n<li><p>If the REST API v3 is not visible, please reach out to your account manager and to <a href=\"https://mailto:api@swiftdigital.com.au\">api@swiftdigital.com.au</a>.</p>\n</li>\n</ul>\n<img src=\"https://content.pstmn.io/df25db08-7f10-4706-a354-f655f93d90c5/QVBJIHYzIEZpZ3VyZSAxLjEucG5n\" alt=\"Figure%201:%20Administration%20>%20Integration%20>%20REST%20API%20v3\">\n\n<h5 id=\"step-2-obtain-client-id-client-secret-and-t3-account-id\">Step 2: Obtain Client ID, Client Secret, and T3 Account ID</h5>\n<ul>\n<li><p>The administrator from your Swift Digital Suite account needs to add an OAuth 2.0 API Client.</p>\n</li>\n<li><p>OAuth 2.0 API client scopes must be selected by the administrator to grant permissions to your application.</p>\n</li>\n<li><p><em>The client secret is only given once, and it will be hidden after adding an OAuth2 API Client. Make sure to copy and save the client secret, as it will be used to get access tokens.</em></p>\n</li>\n<li><p>The t3 account ID is given after adding an OAuth 2.0 API Client.</p>\n</li>\n</ul>\n<img src=\"https://content.pstmn.io/00149455-04fc-49a5-8179-638f27547b95/QVBJIHYzIEZpZ3VyZSAyLnBuZw==\" alt=\"Figure%202:%20Add%20OAuth%202.0%20API%20Client\">\n\n<h5 id=\"step-3-get-access-or-refresh-token\">Step 3: Get Access or Refresh Token</h5>\n<ul>\n<li><p>Using the Client ID, Client Secret, and T3 Account ID, an access token and a refresh token will be generated by making a POST request to the API's token endpoint.</p>\n</li>\n<li><p>The POST request will include parameters such as client ID, client secret, and t3 account ID.</p>\n</li>\n<li><p>The Swift Digital Suite API token endpoint will validate the details and issue an access token and a refresh token in the response.</p>\n</li>\n</ul>\n<h5 id=\"step-4-use-access-token-for-api-requests\">Step 4: Use Access Token for API Requests</h5>\n<ul>\n<li>Your application can now use the obtained access token to authenticate API requests to the Swift Digital Suite REST API v3. The access token should be included in the Authorisation header of each request using the Bearer authentication scheme.</li>\n</ul>\n<h5 id=\"step-5-handle-token-expiration\">Step 5: Handle Token Expiration</h5>\n<ul>\n<li>Access tokens issued by the Swift Digital Suite REST API v3 typically have a limited lifespan. The users of the application should handle token expiration gracefully by monitoring the expiration time (provided in the token response) and refreshing the token when it expires.</li>\n</ul>\n<h5 id=\"step-6-refresh-access-token\">Step 6: Refresh Access Token</h5>\n<ul>\n<li><p>When the access token expires, users' applications can use the refresh token to obtain a new access token without requiring the user to re-authenticate.</p>\n</li>\n<li><p>The users of the application will make a POST request to the Swift Digital Suite REST API v3 token endpoint with parameters including client ID, client secret, refresh token, and grant type (refresh_token).</p>\n</li>\n<li><p>The Swift Digital Suite REST API v3 token endpoint will validate the refresh token and issue a new access token in the response.</p>\n</li>\n</ul>\n<p>By following these steps, users of our API will be able to authenticate with the Swift Digital Suite API REST v3, obtain access tokens, refresh tokens, and make authorised requests to our API.</p>\n<h3 id=\"examples\">Examples:</h3>\n<h4 id=\"endpoint-to-get-access-and-refresh-token\">Endpoint to get access and refresh token</h4>\n<blockquote>\n<p><a href=\"https://v3.api.swiftdigital.com.au/server/includes/restapi/v3/auth/token.php\">https://v3.api.swiftdigital.com.au/auth/token</a> </p>\n</blockquote>\n<h5 id=\"request\">Request:</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"grant_type\": \"password\",\n    \"client_id\": \"Client ID\",\n    \"client_secret\": \"Client Secret\",\n    \"t3acctid\": \"T3 Account ID\"\n}\n\n</code></pre>\n<h5 id=\"response\">Response:</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"access_token\": \"dfg098ikdgf098ikdfg089ikdfg-90odfg-09oldgf\",\n    \"expires_in\": 2419200,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"scope_contact_read:on,scope_contact_write:on\",\n    \"refresh_token\": \"b94Idfp8i054-09fd-0kdf88898fdnnid0995\"\n}\n\n</code></pre>\n<h4 id=\"how-to-get-an-access-token-using-a-refresh-token\">How to get an access token using a refresh token</h4>\n<blockquote>\n<p><a href=\"https://v3.api.swiftdigital.com.au/server/includes/restapi/v3/auth/token.php\">https://v3.api.swiftdigital.com.au/auth/token</a> </p>\n</blockquote>\n<h5 id=\"request-1\">Request:</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"grant_type\": \"refresh_token\",\n    \"client_id\": \"Client ID\",\n    \"client_secret\": \"Client Secret\",\n    \"refresh_token\": \"Refresh Token\"\n}\n\n</code></pre>\n<h5 id=\"response-1\">Response:</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"access_token\": \"dfgkhndg987yuhnd0-dfo87yuhndf9o8yuhn-898erkjh\",\n    \"expires_in\": 2419200,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"scope_contact_read:on,scope_contact_write:on\",\n    \"refresh_token\": \"b9987dfugjn9d08-09dfiuyh-0kdfg098349dfg9g5\"\n}\n\n</code></pre>\n<h1 id=\"error-code\">Error Code</h1>\n<p>Swift Digital Suite REST API v3 uses conventional HTTP response codes to indicate the success or failure of an API request. In general, Codes in the <code>2xx</code> range indicate success. Codes in the <code>4xx</code> range indicate an error that failed given the information provided (e.g., a required parameter was missing, etc.). Codes in the <code>5xx</code> range indicate an error with the Swift Digital Suite API servers.</p>\n<p>Some <code>4xx</code> errors that could be handled programmatically include an error code that briefly explains the error reported.</p>\n<p>HTTP Status Code Summary:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status Code</strong></th>\n<th><strong>Message</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n<td>Everything worked as expected.</td>\n</tr>\n<tr>\n<td>204</td>\n<td>No Content</td>\n<td>The resource was deleted successfully.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad Request</td>\n<td>The request was unacceptable, often due to a missing required parameter.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthorized</td>\n<td>No valid API key provided.</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Forbidden</td>\n<td>The API key doesn’t have permissions to perform the request.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not Found</td>\n<td>The requested resource doesn’t exist.</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Conflict</td>\n<td>The request conflicts with another request (perhaps due to using the same idempotent key).</td>\n</tr>\n<tr>\n<td>415</td>\n<td>Unsupported Media Type</td>\n<td>The parameter syntax was valid, but unable to process the requested content.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Content</td>\n<td>The parameter syntax was valid, but unable to process the requested content.</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Too Many Requests</td>\n<td>Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.</td>\n</tr>\n<tr>\n<td>500, 502, 503, 504</td>\n<td>Server Errors</td>\n<td>Something went wrong on the Server end.</td>\n</tr>\n</tbody>\n</table>\n</div><hr>\n<h1 id=\"pagination\">Pagination</h1>\n<p>All top-level API resources have support for bulk fetches through “list” API methods.</p>\n<p>For example, you can list contacts, mail groups, folders, events, etc.</p>\n<p>It offers an easy-to-use interface for accessing paginated data.</p>\n<p>These list API methods share a common structure and accept the following parameters:</p>\n<p><code>from_date</code> is the start date to select items within a date range.</p>\n<ul>\n<li>It is optional and in epoch unix timestamp (Example: <code>1735700971</code>)</li>\n</ul>\n<p><code>to_date</code> is the end date to select items within a date range.</p>\n<ul>\n<li>It is optional and in epoch unix timestamp (Example: <code>1764558571</code>)</li>\n</ul>\n<p>After 1st request, if <code>has_more</code> is <code>true</code> then you must use the <code>next_data</code> to send subsequent requests for data.</p>\n<h5 id=\"sample-api-response-from-contactlist\">Sample API Response from Contact/List</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"has_more\": true,\n  \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n  \"total\": 45,\n  \"contact_ids\": [\n    \"zzzzxx7593efr7110010\",\n    \"zzzzxx7593efr7110011\"\n  ]\n}\n\n</code></pre>\n<hr>\n<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>We have applied rate limits to ensure a smooth and reliable experience with the Swift Digital Suite REST API v3. The default is 600 requests/minute.</p>\n<p>Violation of the above-mentioned rate limits may impose a temporary ban on the IP/Domain. After the ban is lifted, the client can resume calling the API again.</p>\n<p>The ban on the IP/Domain will return the following information:</p>\n<blockquote>\n<p><strong>HTTP Code: 429</strong><br>Message: Too Many Requests<br>Description: Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.</p>\n</blockquote>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Error Code","slug":"error-code"},{"content":"Pagination","slug":"pagination"},{"content":"Rate Limiting","slug":"rate-limiting"}],"owner":"848661","collectionId":"3b902962-097b-4ae4-9c95-f9cb63c78c29","publishedId":"2sA35G42ms","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"808080","highlight":"6CB8E0"},"publishDate":"2025-09-08T00:46:03.000Z"},"item":[{"name":"Quick Start Guide","item":[],"id":"806e0f5d-03a6-4df9-93b6-544ef5d95bfc","description":"<p>This guide will walk you through the basic steps of connecting to and using the Swift Digital Suite API v3 in PHP.</p>\n<h3 id=\"prerequisites\">Prerequisites</h3>\n<ul>\n<li><p>PHP 7.0 or higher</p>\n</li>\n<li><p>cURL extension enabled</p>\n</li>\n<li><p>Client ID, Client Secret, and T3Account ID for the Swift Digital Suite API v3</p>\n</li>\n</ul>\n<h3 id=\"step-1-set-up-your-environment\">Step 1: Set Up Your Environment</h3>\n<p>First, make sure your environment is properly set up. Create a new PHP file (e.g., <code>swiftdigital-api.php</code>) and ensure that cURL is enabled in your PHP installation.</p>\n<h3 id=\"step-2-define-your-api-credentials\">Step 2: Define Your API Credentials</h3>\n<p>Replace CLIENT_ID, CLIENT_SECRET, and T3ACCTID with your actual Swift Digital Suite API details.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">$clientIDKey = 'CLIENT_ID'; // YOUR API CLIENT ID\n$clientIDSecret = 'CLIENT_SECRET';  // YOUR API CLIENT SECRET\n$t3acctid = 'T3ACCTID'; // YOUR API T3ACCTID\n$api_url   = 'https://v3.api.swiftdigital.com.au/request';\n$token_url = 'https://v3.api.swiftdigital.com.au/auth/token';\n$access_token = false;\n$refresh_token = false;\n\n</code></pre>\n<h3 id=\"step-3-create-a-curl-function\">Step 3: Create a cURL Function</h3>\n<p>Create a reusable function to handle API requests.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">function callSwiftDigitalSuiteAPI($endpoint, $action_url, $method = 'GET', $data = null) {\n    global $access_token;\n    $ch = curl_init();\n    $url = $action_url. $endpoint;\n    $headers = [\n        'Content-Type: application/json'\n    ];\n    if($access_token){\n        $headers = [\n            'Content-Type: application/json',\n            'Authorization: Bearer ' . $access_token\n        ];\n    }\n    curl_setopt($ch, CURLOPT_URL, $url);\n    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST , $method);\n    if ($method == 'POST') {\n        curl_setopt($ch, CURLOPT_POST, true);\n        curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));\n    }\n    $response = curl_exec($ch);\n    if (curl_errno($ch)) {\n        throw new Exception('Error: ' . curl_error($ch));\n    }\n    $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n    echo \"HTTP response code is \".$httpcode.\"\\r\\n\";\n    curl_close($ch);\n    return json_decode($response, true);\n}\n\n</code></pre>\n<h3 id=\"step-4-get-access-token\">Step 4: Get Access Token</h3>\n<p>Generate the access token using Client ID, Client Secret, and T3 Account ID. Please note that you need to pass <code>grant_type password</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">echo \"Step 4: Get Access Token with Client ID, Client Secret, and T3AcctID\\r\\n\";\n$data = array();\n$data['grant_type'] = 'password';\n$data['client_id'] = $clientIDKey;\n$data['client_secret'] = $clientIDSecret;\n$data['t3acctid'] = $t3acctid;\n$response = callSwiftDigitalSuiteAPI('', $token_url, 'POST', $data);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nprint_r($response);\nif($response['access_token']){\n    $access_token = $response['access_token'];\n}\nif($response['refresh_token']){\n    $refresh_token = $response['refresh_token'];\n}\n\n</code></pre>\n<h5 id=\"output\">Output</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">Step 4: Get Access Token with Client ID, Client Secret, and T3AcctID\nHTTP response code is 200\nRequest:\nArray\n(\n    [grant_type] =&gt; password\n    [client_id] =&gt; Client-XXXXXXXXXX\n    [client_secret] =&gt; fexxxxxxxxxxxxxxxxxxxxxxxxxxMa\n    [t3acctid] =&gt; zzzzXXXXXXXXXXXXX28\n)\nResponse:\nArray\n(\n    [access_token] =&gt; 5cfcc6f5b9e490587ae7ff92595a9836a0785594\n    [expires_in] =&gt; 2419200\n    [token_type] =&gt; Bearer\n    [scope] =&gt; scope_contact_read:on,scope_contact_write:on,scope_mailgroup_read:on,scope_mailgroup_write:on,scope_import_write:on\n    [refresh_token] =&gt; eb9eXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0d28\n)\n\n</code></pre>\n<h3 id=\"step-5-get-access-token-using-refresh-token-optional\">Step 5: Get Access Token using Refresh Token (Optional)</h3>\n<p>Generate the access token using refresh_token. Please note that you need to pass <code>grant_type refresh_token</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">echo \"Step 5: Get Access Token with Refresh Token (Optional)\\r\\n\";\n$data = array();\n$data['grant_type'] = 'refresh_token'; // Set grant_type to refresh_token\n$data['client_id'] = $clientIDKey;\n$data['client_secret'] = $clientIDSecret;\n$data['refresh_token'] = $refresh_token;\n// Set $access_token to false. This is make sure callSwiftDigitalSuiteAPI don't pass access_token in the request\n$access_token = false; \n$response = callSwiftDigitalSuiteAPI('', $token_url, 'POST', $data);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nprint_r($response);\nif($response['access_token']){\n    $access_token = $response['access_token'];\n}\nif($response['refresh_token']){\n    $refresh_token = $response['refresh_token'];\n}\n\n</code></pre>\n<h5 id=\"output-1\">Output</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">Step 5: Get Access Token with Refresh Token (Optional)\nHTTP response code is 200\nRequest:\nArray\n(\n    [grant_type] =&gt; refresh_token\n    [client_id] =&gt; Client-XXXXXXXXXX\n    [client_secret] =&gt; fexxxxxxxxxxxxxxxxxxxxxxxxxxMa\n    [refresh_token] =&gt; eb9eXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0d28\n)\nResponse:\nArray\n(\n    [access_token] =&gt; 30b78XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXc44f6859ef3c\n    [expires_in] =&gt; 2419200\n    [token_type] =&gt; Bearer\n    [scope] =&gt; scope_contact_read:on,scope_contact_write:on\n    [refresh_token] =&gt; a4b1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXdc7e6\n)\n\n</code></pre>\n<h3 id=\"step-6-test-the-connection-by-getting-a-list-of-mail-groups\">Step 6: Test the Connection by getting a List of Mail Groups</h3>\n<p>Let's make a simple GET request to test the connection. For example, fetching a list of mail groups:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">echo \"Step 6: Test the Connection  by getting list of Mailgroups\\r\\n\";\n$response = callSwiftDigitalAPI('/mailhouse/mailgroup/list', $api_url, 'GET', false);\necho \"Request:\\r\\n\";\nprint_r(array());\necho \"Response:\\r\\n\";\nprint_r($response);\n\n</code></pre>\n<h5 id=\"output-2\">Output</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">Step 6: Test the Connection\nHTTP response code is 200\nRequest:\nArray\n(\n)\nResponse:\nArray\n(\n    [has_more] =&gt; 1\n    [next_data] =&gt; KikIYghVYJ5lBYze0SHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXHDigMEYImwHQ==\n    [total] =&gt; 1994\n    [data] =&gt; Array\n        (\n            [0] =&gt; Array\n                (\n                    [group_id] =&gt; zzzzXXXXXXXXXXXXXX73\n                    [group_name] =&gt; VIP Group 1\n                    [is_test] =&gt; N\n                    [folder_id] =&gt; 1234\n                    [folder_name] =&gt; VIP\n                    [modified_on] =&gt; 1703758362\n                )\n            [1] =&gt; Array\n                (\n                    [group_id] =&gt; zzzzXXXXXXXXXXXXXX74\n                    [group_name] =&gt; VIP Group 1\n                    [is_test] =&gt; N\n                    [folder_id] =&gt; 1234\n                    [folder_name] =&gt; VIP\n                    [modified_on] =&gt; 1679527581\n                )\n            [2] =&gt; Array\n                (\n                    [group_id] =&gt; zzzzXXXXXXXXXXXXXX75\n                    [group_name] =&gt; VIP Test\n                    [is_test] =&gt; Y\n                    [folder_id] =&gt; 1234\n                    [folder_name] =&gt; VIP\n                    [modified_on] =&gt; 1678762051\n                )\n           &lt;strong class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; &gt; ... ... ...&lt;/b&gt;\n            [19] =&gt; Array\n                (\n                    [group_id] =&gt; zzzzXXXXXXXXXXXXXX79\n                    [group_name] =&gt; VIP Other\n                    [is_test] =&gt; N\n                    [folder_id] =&gt; 1234\n                    [folder_name] =&gt; VIP\n                    [modified_on] =&gt; 1683527333\n                )\n        )\n)\n\n</code></pre>\n<h3 id=\"step-7-create-a-new-contact-and-add-to-a-mail-group\">Step 7: Create a New Contact and Add to a Mail Group</h3>\n<p>Now, let's create a new contact. Replace the sample data with your actual data. You can add the newly created contact to an existing mail group by using the mail group's unique identifier (group_id).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">echo \"Step 7: Create a New Contact and Add to a Mail Group\\r\\n\";\n$data = array();\n$data['fields']['email'] = 'john.doe@swiftdigital.com.au'; \n$data['fields']['first_name'] = 'John'; \n$data['fields']['last_name'] = 'Doe'; \n$data['fields']['mobile'] = '0412345678'; \n$data['groups'][]['groupid'] = 'XXXXXXXXX'; // Any mailgroup id from your previous call \n$response = callSwiftDigitalSuiteAPI('/mailhouse/contact/create', $api_url, 'POST', $data);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nprint_r($response);\n\n</code></pre>\n<h5 id=\"output-3\">Output</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">Step 7: Create a New Contact and Add to a Mail group\nHTTP response code is 200\nRequest:\nArray\n(\n    [fields] =&gt; Array\n        (\n            [email] =&gt; john.doe@swiftdigital.com.au\n            [first_name] =&gt; John\n            [last_name] =&gt; Doe\n            [mobile] =&gt; 0412345678\n        )\n    [groups] =&gt; Array\n        (\n            [0] =&gt; Array\n                (\n                    [groupid] =&gt; zzzzXXXXXXXXXXXXXX10\n                )\n        )\n)\nResponse:\nArray\n(\n    [data] =&gt; zzzzXXXXXXXXXXXXXX50\n)\n\n</code></pre>\n<h3 id=\"step-8-delete-the-contact\">Step 8: Delete the Contact</h3>\n<p>Now we can try to delete the newly created contact. Please review the HTTP response code after the delete.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">$contact_id = $response['contact_id'];\necho \"Step 8: Delete the contact\\r\\n\";\n$data = array();\n$response = callSwiftDigitalSuiteAPI('/mailhouse/contact/delete?contact_id='.$contact_id, $api_url, 'DELETE', false);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nprint_r($response);\n\n</code></pre>\n<h5 id=\"output-4\">Output</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">Step 8: Delete the Contact\nHTTP response code is 204\nRequest:\nArray\n(\n)\nResponse:\n\n</code></pre>\n<h3 id=\"step-9-read-the-deleted-contact-handle-responses-and-errors\">Step 9: Read the Deleted Contact (Handle Responses and Errors)</h3>\n<p>Make sure to handle the API responses properly. The Swift Digital Suite API returns JSON, which you can easily decode and use in your PHP application.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">$data = array();\n$response = callSwiftDigitalSuiteAPI('/mailhouse/contact/read?contact_id='.$contact_id, $api_url, 'GET', false);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nif (isset($response['error'])) {\n    echo 'API Error: ' . $response['error'].\"\\r\\n\";\n} else {\n    // Process the successful response\n    print_r($response);\n}\n\n</code></pre>\n<h5 id=\"output-5\">Output</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">Step 9: Read the Deleted Contact (Error testing)\nHTTP response code is 400\nRequest:\nArray\n(\n)\nResponse:\nAPI Error: The `contact_id` does not exist.\n\n</code></pre>\n<p>You’ve now set up a basic PHP script to interact with the Swift Digital Suite API v3. This guide covered connecting to the API, making a simple GET request, creating a new contact, and adding that contact to a Mailgroup.</p>\n<p>From here, you can expand on this foundation by implementing additional API endpoints and building more complex workflows according to your needs.</p>\n<h3 id=\"example\">Example</h3>\n<p>The full version of the code is attached below</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">$clientIDKey = 'CLIENT_ID'; // YOUR API CLIENT ID\n$clientIDSecret = 'CLIENT_SECRET';  // YOUR API CLIENT SECRET\n$t3acctid = 'T3ACCTID'; // YOUR API T3ACCTID\n$api_url   = 'https://v3.api.swiftdigital.com.au/request';\n$token_url = 'https://v3.api.swiftdigital.com.au/auth/token';\n$access_token = false;\n$refresh_token = false;\nfunction callSwiftDigitalSuiteAPI($endpoint, $action_url, $method = 'GET', $data = null) {\n    global $access_token;\n    $ch = curl_init();\n    $url = $action_url. $endpoint;\n    $headers = [\n        'Content-Type: application/json'\n    ];\n    if($access_token){\n        $headers = [\n            'Content-Type: application/json',\n            'Authorization: Bearer ' . $access_token\n        ];\n    }\n    curl_setopt($ch, CURLOPT_URL, $url);\n    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST , $method);\n    if ($method == 'POST') {\n        curl_setopt($ch, CURLOPT_POST, true);\n        curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));\n    }\n    $response = curl_exec($ch);\n    if (curl_errno($ch)) {\n        throw new Exception('Error: ' . curl_error($ch));\n    }\n    $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n    echo \"HTTP response code is \".$httpcode.\"\\r\\n\";\n    curl_close($ch);\n    return json_decode($response, true);\n}\necho \"Step 4: Get Access Token with Client ID, Client Secret, and T3AcctID\\r\\n\";\n$data = array();\n$data['grant_type'] = 'password';\n$data['client_id'] = $clientIDKey;\n$data['client_secret'] = $clientIDSecret;\n$data['t3acctid'] = $t3acctid;\n$response = callSwiftDigitalSuiteAPI('', $token_url, 'POST', $data);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nprint_r($response);\nif($response['access_token']){\n    $access_token = $response['access_token'];\n}\nif($response['refresh_token']){\n    $refresh_token = $response['refresh_token'];\n}\necho \"Step 5: Get Access Token with Refresh Token (Optional)\\r\\n\";\n$data = array();\n$data['grant_type'] = 'refresh_token'; // Set grant_type to refresh_token\n$data['client_id'] = $clientIDKey;\n$data['client_secret'] = $clientIDSecret;\n$data['refresh_token'] = $refresh_token;\n// Set $access_token to false. This is make sure callSwiftDigitalAPI don't pass access_token in the request\n$access_token = false; \n$response = callSwiftDigitalSuiteAPI('', $token_url, 'POST', $data);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nprint_r($response);\nif($response['access_token']){\n    $access_token = $response['access_token'];\n}\nif($response['refresh_token']){\n    $refresh_token = $response['refresh_token'];\n}\necho \"Step 6: Test the Connection\\r\\n\";\n$response = callSwiftDigitalSuiteAPI('/mailhouse/mailgroup/list', $api_url, 'GET', false);\necho \"Request:\\r\\n\";\nprint_r(array());\necho \"Response:\\r\\n\";\nprint_r($response);\necho \"Step 7: Create a New Contact and add to a Mail Group\\r\\n\";\n$data = array();\n$data['fields']['email'] = 'john.doe@swiftdigital.com.au'; \n$data['fields']['first_name'] = 'John'; \n$data['fields']['last_name'] = 'Doe'; \n$data['fields']['mobile'] = '0412345678'; \n$data['groups'][]['groupid'] = 'zzzz59e535a65063c510'; \n$response = callSwiftDigitalSuiteAPI('/mailhouse/contact/create', $api_url, 'POST', $data);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nprint_r($response);\n$contact_id = $response['contact_id'];\necho \"Step 8: Delete the Contact\\r\\n\";\n$data = array();\n$response = callSwiftDigitalSuiteAPI('/mailhouse/contact/delete?contact_id='.$contact_id, $api_url, 'DELETE', false);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nprint_r($response);\n$data = array();\n$response = callSwiftDigitalSuiteAPI('/mailhouse/contact/read?contact_id='.$contact_id, $api_url, 'GET', false);\necho \"Request:\\r\\n\";\nprint_r($data);\necho \"Response:\\r\\n\";\nif (isset($response['error'])) {\n    echo 'API Error: ' . $response['error'].\"\\r\\n\";\n} else {\n    // Process the successful response\n    print_r($response);\n}\n?&gt;\n\n</code></pre>\n<p>The full version of the output is attached below</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Step 4: Get Access Token with Client ID, Client Secret, and T3AcctID\nHTTP response code is 200\nRequest:\nArray\n(\n    [grant_type] =&gt; password\n    [client_id] =&gt; Client-XXXXXXXXXX\n    [client_secret] =&gt; fexxxxxxxxxxxxxxxxxxxxxxxxxxMa\n    [t3acctid] =&gt; zzzzXXXXXXXXXXXXX28\n)\nResponse:\nArray\n(\n    [access_token] =&gt; 5cfcc6f5b9e490587ae7ff92595a9836a0785594\n    [expires_in] =&gt; 2419200\n    [token_type] =&gt; Bearer\n    [scope] =&gt; scope_contact_read:on,scope_contact_write:on,scope_mailgroup_read:on,scope_mailgroup_write:on,scope_import_write:on\n    [refresh_token] =&gt; eb9eXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0d28\n)\nStep 5: Get Access Token with Refresh Token (optional)\nHTTP response code is 200\nRequest:\nArray\n(\n    [grant_type] =&gt; refresh_token\n    [client_id] =&gt; Client-XXXXXXXXXX\n    [client_secret] =&gt; fexxxxxxxxxxxxxxxxxxxxxxxxxxMa\n    [refresh_token] =&gt; eb9eXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0d28\n)\nResponse:\nArray\n(\n    [access_token] =&gt; 30b78XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXc44f6859ef3c\n    [expires_in] =&gt; 2419200\n    [token_type] =&gt; Bearer\n    [scope] =&gt; scope_contact_read:on,scope_contact_write:on,scope_mailgroup_read:on,scope_mailgroup_write:on,scope_import_write:on\n    [refresh_token] =&gt; a4b1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXdc7e6\n)\nStep 6: Test the Connection\nHTTP response code is 200\nRequest:\nArray\n(\n)\nResponse:\nArray\n(\n    [has_more] =&gt; 1\n    [next_data] =&gt; KikIYghVYJ5lBYze0SHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXHDigMEYImwHQ==\n    [total] =&gt; 1994\n    [data] =&gt; Array\n        (\n            [0] =&gt; Array\n                (\n                    [group_id] =&gt; zzzzXXXXXXXXXXXXXX73\n                    [group_name] =&gt; VIP Group 1\n                    [is_test] =&gt; N\n                    [folder_id] =&gt; 1234\n                    [folder_name] =&gt; VIP\n                    [modified_on] =&gt; 1703758362\n                )\n            [1] =&gt; Array\n                (\n                    [group_id] =&gt; zzzzXXXXXXXXXXXXXX74\n                    [group_name] =&gt; VIP Group 1\n                    [is_test] =&gt; N\n                    [folder_id] =&gt; 1234\n                    [folder_name] =&gt; VIP\n                    [modified_on] =&gt; 1679527581\n                )\n            [2] =&gt; Array\n                (\n                    [group_id] =&gt; zzzzXXXXXXXXXXXXXX75\n                    [group_name] =&gt; VIP Test\n                    [is_test] =&gt; Y\n                    [folder_id] =&gt; 1234\n                    [folder_name] =&gt; VIP\n                    [modified_on] =&gt; 1678762051\n                )\n            ... ... ...\n            [19] =&gt; Array\n                (\n                    [group_id] =&gt; zzzzXXXXXXXXXXXXXX79\n                    [group_name] =&gt; VIP Other\n                    [is_test] =&gt; N\n                    [folder_id] =&gt; 1234\n                    [folder_name] =&gt; VIP\n                    [modified_on] =&gt; 1683527333\n                )\n        )\n)\nStep 7: Create a New Contact and Add to a Mail Group\nHTTP response code is 200\nRequest:\nArray\n(\n    [fields] =&gt; Array\n        (\n            [email] =&gt; john.doe@swiftdigital.com.au\n            [first_name] =&gt; John\n            [last_name] =&gt; Doe\n            [mobile] =&gt; 0412345678\n        )\n    [groups] =&gt; Array\n        (\n            [0] =&gt; Array\n                (\n                    [groupid] =&gt; zzzzXXXXXXXXXXXXXX10\n                )\n        )\n)\nResponse:\nArray\n(\n    [data] =&gt; zzzzXXXXXXXXXXXXXX50\n)\nStep 8: Delete the contact\nHTTP response code is 204\nRequest:\nArray\n(\n)\nResponse:\nStep 9: Read the Deleted Contact (Error testing)\nHTTP response code is 400\nRequest:\nArray\n(\n)\nResponse:\nAPI Error: The `contact_id` does not exist.\n\n</code></pre>","_postman_id":"806e0f5d-03a6-4df9-93b6-544ef5d95bfc","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}},{"name":"Authentication","item":[{"name":"auth/token","id":"b4d9e84d-ee0b-450d-bf5f-1d8b58a2ec4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"grant_type\": \"password\",\r\n    \"client_id\": \"{{ClientID}}\",\r\n    \"client_secret\": \"{{ClientSecret}}\",\r\n    \"t3acctid\": \"{{T3acctID}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/auth/token","description":"<p>The authentication token endpoint issues a bearer token for use with the Swif Digital Suite API. All API requests must include a valid token in the <code>Authorization</code> header. Tokens are short-lived and should be refreshed as needed.</p>\n<p>To get an access token and a refresh token, you'll need to send a POST request to the token endpoint of the Swift Digital Suite API. You will need to include your <code>client_id</code>, <code>client_secret</code>, and <code>t3acctid</code> in the request.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>grant_type (Required)</td>\n<td>Choose to use either the 'password' for initial access and refresh token or the 'refresh token' to obtain a new access token.</td>\n</tr>\n<tr>\n<td>client_id (Required)</td>\n<td>The client ID is generated when creating an API authentication for your account on the Swift Digital Suite platform.</td>\n</tr>\n<tr>\n<td>client_secret (Required)</td>\n<td>The client secret is provided when creating an API authentication for your account on the Swift Digital Suite platform.  <br /><strong>WARNING:</strong> The client secret is provided only once and will be hidden after the API authentication is created.</td>\n</tr>\n<tr>\n<td>t3acctid (Required)</td>\n<td>The unique ID associated with your account on the Swift Digital Suite platform.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The client API credentials are invalid.</p>\n</li>\n<li><p>The client API credentials are not found in the header or body of the request.</p>\n</li>\n<li><p>The client API credentials are invalid. Please authenticate using <code>client_secret</code>.</p>\n</li>\n<li><p>The <code>t3acctid</code> is invalid.</p>\n</li>\n<li><p>Invalid <code>grant_type</code>, <code>client_id</code>, <code>client_secret</code>, and <code>t3acctid</code> combination.</p>\n</li>\n<li><p>The <code>grant_type</code> is invalid.</p>\n</li>\n<li><p>The <code>grant_type</code> \" \" is not supported.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["auth","token"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"50a3d1cb-6ec9-4ded-b163-e544b2a382bd","name":"SUCCESS ACCESS_TOKEN","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"grant_type\": \"password\",\r\n    \"client_id\": \"Client-17110021674\",\r\n    \"client_secret\": \"8ikdgf098ikdfg089ikdfgxx1x1\",\r\n    \"t3acctid\": \"zzzz58818xy387x1x1x928\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"dfg098ikdgf098ikdfg089ikdfg-90odfg-09oldgf\",\n    \"expires_in\": 2111100,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"scope_contact_read\",\n    \"refresh_token\": \"b94Idfp8i054-09fd-0kdf88898fdnnid0995\"\n}"},{"id":"a0e33223-958a-493a-b749-84be7812da2f","name":"SUCCESS REFRESH_TOKEN","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"grant_type\": \"refresh_token\",\r\n    \"refresh_token\": \"b94Idfp8i054-09fd-0kdf88898fdnnid0995\",\r\n    \"client_id\": \"Client-17110021674\",\r\n    \"client_secret\": \"8ikdgf098ikdfg089ikdfgxx1x1\",\r\n    \"t3acctid\": \"zzzz58818xy387x1x1x928\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"dfgkhndg987yuhnd0-dfo87yuhndf9o8yuhn-898erkjh\",\n    \"expires_in\": 2111100,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"scope_contact_read\",\n    \"refresh_token\": \"b9987dfugjn9d08-09dfiuyh-0kdfg098349dfg9g5\"\n}"},{"id":"d223e491-b234-40b8-b16e-ac56e7c741aa","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"grant_type\": \"password\",\r\n    \"client_id\": \"\",\r\n    \"client_secret\": \"\",\r\n    \"t3acctid\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"invalid_api_credential\",\n    \"error_description\": \"The client API credentials are invalid. Please authenticate using `client_secret`.\"\n}"}],"_postman_id":"b4d9e84d-ee0b-450d-bf5f-1d8b58a2ec4c"}],"id":"62ccafc8-e252-482a-bf44-65f7e86d70ca","_postman_id":"62ccafc8-e252-482a-bf44-65f7e86d70ca","description":"","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}},{"name":"Mail House","item":[{"name":"Contact","item":[{"name":"mailhouse/contact/list","id":"ca387e65-a8e0-4dbd-8069-85abcdb2c9c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{AccessToken}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/list","description":"<p>This API endpoint retrieves a list of all the contacts in your account on the Swift Digital Suite platform. The API response also provides you with the total number of contacts in your account, which helps you monitor and report on your contact number effectively.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 contacts listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["request","mailhouse","contact","list"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"2b4369dd-23e2-418c-b75b-552b1d676993","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 5,\n\t\"contact_ids\": [\n\t\t\"zzzzxx7593efr7110010\",\n\t\t\"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"zzzzxx7593efr7110014\"\n\t]\n}"},{"id":"1854f02b-145a-4d41-8b91-9f1de6d93518","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/list?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","list"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 45,\n\t\"contact_ids\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"zzzzxx7593efr7110014\",\n        \"zzzzxx7593efr7110015\",\n        \"zzzzxx7593efr7110016\",\n        \"zzzzxx7593efr7110017\",\n        \"zzzzxx7593efr7110018\",\n        \"zzzzxx7593efr7110019\",\n        \"zzzzxx7593efr7110020\",\n        \"zzzzxx7593efr7110021\",\n        \"zzzzxx7593efr7110022\",\n        \"zzzzxx7593efr7110023\",\n        \"zzzzxx7593efr7110024\",\n        \"zzzzxx7593efr7110025\",\n        \"zzzzxx7593efr7110026\",\n        \"zzzzxx7593efr7110027\",\n        \"zzzzxx7593efr7110028\",\n        \"zzzzxx7593efr7110029\"\n\t]\n}"}],"_postman_id":"ca387e65-a8e0-4dbd-8069-85abcdb2c9c1"},{"name":"mailhouse/contact/search","id":"2dfd09ec-dd2d-4bfc-88eb-86c293599397","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"search_field\": \"<string>\",\n\t\"search_text\": \"<string>\",\n\t\"search_type\": \"strict\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/search","description":"<p>This API endpoint allows you to search through your contacts in the mail house on the Swift Digital Suite platform. The API response will show all the contact_ids that match the specified criteria. It is helpful when finding the contacts that will be added to the mail groups for an effective segmentation of contacts on email campaigns.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>search_field <em>(Required)</em></td>\n<td>Choose from standard or custom fields. For custom fields, use the merge field from Swift Digital Suite, which is usually in capital letters and separated by underscores (e.g., POSTCODE, DATE_OF_BIRTH).</td>\n</tr>\n<tr>\n<td>search_text <em>(Optional)</em></td>\n<td>The text you want to search for.</td>\n</tr>\n<tr>\n<td>search_type <em>(Optional)</em></td>\n<td>Set '1' for a strict search and '0' for a fuzzy search.  <br />Leaving the field empty will be replaced by the default value, which is set at '1'.</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 contacts listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>search_field</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>search_field</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","search"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"12a20a00-e5af-4b04-9ee0-66146d3dc046","name":"SUCCESS STANDARD_FIELD","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"search_field\": \"email\", //(Required) The merge field associated with a standard or custom field in the mail house.\n    \"search_text\": \"@swiftdigital.com.au\", //(Optional) The text you want to search for.\n    \"search_type\": \"0\" //(Optional) Set '1' for a strict search and '0' for a fuzzy search.  \n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"has_more\": false,\r\n    \"next_data\": false,\r\n    \"total\": \"3\",\r\n    \"contact_ids\": [\r\n        \"zzzzxx7593efr7110010\",\r\n        \"zzzzxx7593efr7110011\",\r\n        \"zzzzxx7593efr7110012\"\r\n    ]\r\n}"},{"id":"f9ccd8e5-0d35-4592-9aca-ca79504bb51d","name":"SUCCESS CUSTOM_FIELD","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"search_field\": \"DATE_OF_BIRTH\", //(Required) The merge field associated with a standard or custom field in the mail house.\n    \"search_text\": \"25/08/2025\", //(Optional) The text you want to search for.\n    \"search_type\": \"1\" //(Optional) Set '1' for a strict search and '0' for a fuzzy search.  \n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"has_more\": false,\r\n    \"next_data\": false,\r\n    \"total\": \"5\",\r\n    \"contact_ids\": [\r\n        \"zzzzxx7593efr7110010\",\r\n        \"zzzzxx7593efr7110011\",\r\n        \"zzzzxx7593efr7110012\",\r\n        \"zzzzxx7593efr7110013\",\r\n        \"zzzzxx7593efr7110014\"\r\n    ]\r\n}"},{"id":"aa38e41c-53a8-4302-a17e-67628fabf631","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"next_data\": \"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43\" //(Optional) Allows you to retrieve the next batch of data from your previous API call.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"has_more\": \"true\",\r\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\r\n    \"total\": 28,\r\n\t\"contact_ids\": [\r\n        \"zzzzxx7593efr7110010\",\r\n        \"zzzzxx7593efr7110011\",\r\n        \"zzzzxx7593efr7110012\",\r\n        \"zzzzxx7593efr7110013\",\r\n        \"zzzzxx7593efr7110014\",\r\n        \"zzzzxx7593efr7110015\",\r\n        \"zzzzxx7593efr7110016\",\r\n        \"zzzzxx7593efr7110017\",\r\n        \"zzzzxx7593efr7110018\",\r\n        \"zzzzxx7593efr7110019\",\r\n        \"zzzzxx7593efr7110020\",\r\n        \"zzzzxx7593efr7110021\",\r\n        \"zzzzxx7593efr7110022\",\r\n        \"zzzzxx7593efr7110023\",\r\n        \"zzzzxx7593efr7110024\",\r\n        \"zzzzxx7593efr7110025\",\r\n        \"zzzzxx7593efr7110026\",\r\n        \"zzzzxx7593efr7110027\",\r\n        \"zzzzxx7593efr7110028\",\r\n        \"zzzzxx7593efr7110029\"\r\n\t]\r\n}"},{"id":"f9df9d6b-8336-4a8c-9cdd-a91c78c8fdbb","name":"ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"search_field\": \"\", //(Required) The merge field associated with a standard or custom field in the mail house.\n    \"search_text\": \"2042\", //(Optional) The text you want to search for.\n    \"search_type\": \"1\" //(Optional) Set '1' for a strict search and '0' for a fuzzy search.  \n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"search_field\": [\r\n            \"The value of `search_field` cannot be empty.\"\r\n        ]\r\n    }\r\n}"}],"_postman_id":"2dfd09ec-dd2d-4bfc-88eb-86c293599397"},{"name":"mailhouse/contact/create","id":"55d6ad83-9939-461b-8869-97fbe6bb9c87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{AccessToken}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"fields\": {\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"email\": \"<string>\",\n        \"country\": \"<string>\",\n        \"COMPANY\": \"<string>\"\n    },\n    \"groups_ids\": [\n        \"<string>\",\n        \"<string>\",\n        \"<string>\",\n        \"<string>\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/create","description":"<p>This API endpoint allows you to create a new contact with details such as name, email, phone number, address, and custom fields in the Swift Digital Suite platform. The contact's unique identifier (contact_id) is given after successful completion. This is useful when syncing or pushing new contacts from a CRM to the Swift Digital Suite platform.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fields <em>(Required)</em></td>\n<td>Choose from standard or custom fields. For custom fields, use the merge field from Swift Digital Suite, which is usually in capital letters and separated by underscores (e.g., POSTCODE, DATE_OF_BIRTH).  <br />WARNING: The 'email' field is a required field for marketing or transactional accounts. And the required fields for transactional accounts with an external ID are 'email' and 'external_id'.</td>\n</tr>\n<tr>\n<td>group_ids <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>notify_subscription <em>(Optional)</em></td>\n<td>The nominated email address to which a subscription notification email is sent whenever a successful subscription has been made on the API.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>fields</code> cannot be empty.</p>\n</li>\n<li><p>Unable to create. Please provide either an <code>email</code> or a <code>mobile</code>.</p>\n</li>\n<li><p>Unable to create. Contact with the same <code>email</code> already exists.</p>\n</li>\n<li><p>Unable to create. Contact with the same <code>mobile</code> already exists.</p>\n</li>\n<li><p>Unable to create. Contact with the same <code>first_name</code>, <code>last_name</code>, <code>email</code>, and <code>external_id</code> already exists.</p>\n</li>\n<li><p>Unable to create. Contact with the same <code>first_name</code>, <code>last_name</code>, <code>mobile</code>, and <code>external_id</code> already exists.</p>\n</li>\n<li><p>The value of <code>external_id</code> cannot be empty.</p>\n</li>\n<li><p><code>'email'</code> is not a valid email address.</p>\n</li>\n<li><p>The <code>mobile</code> is too short. It should have 10 characters or more.</p>\n</li>\n<li><p>Invalid value provided for <code>'date field'</code> . The date must be in the format dd/mm/yyyy.</p>\n</li>\n<li><p>The value of <code>'single choice field'</code> should either be <code>'single choice field option 1'</code> or <code>'single choice field option 2'</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>country</code>. The <code>country</code> must be in code format like AU.</p>\n</li>\n</ul>\n","urlObject":{"path":["request","mailhouse","contact","create"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"d004a694-6df4-42d1-bb69-3f0d58325ab0","name":"SUCCESS MARKETING OR TRANSACTIONAL ACCOUNT","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"fields\": { //(Required) The standard and custom field values of the contact.\n        \"title\": \"Mr\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\n        \"mobile\": \"1234567890\",\n        \"country\": \"AU\", //The country should be in code format.\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\n    },\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ],\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\",\n    \"groups_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ],\n    \"errors\": {\n        \"messages\": []\n    }\n}"},{"id":"23bc9d1c-7f0f-4ed0-82e3-285590c0bc21","name":"SUCCESS TRANSACTIONAL WITH EXTERNAL_ID ACCOUNT","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"fields\": { //(Required) The standard and custom field values of the contact.\n        \"title\": \"Mr\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\n        \"mobile\": \"1234567890\",\n        \"external_id\": \"2025-001\", //(Required) The external ID merge field and mandatory.\n        \"country\": \"AU\", //The country should be in code format.\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\n    },\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ],\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\",\n    \"groups_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ],\n    \"errors\": {\n        \"messages\": []\n    }\n}"},{"id":"d6f86f02-8084-4834-a080-ef74bde6a8fb","name":"ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"fields\": { //(Required) The standard and custom field values of the contact.\n        \"title\": \"Mr\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@swiftdigital\" //(Required) The email merge field and mandatory.\n    },\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"email\": [\n            \"`john.doe@swiftdigital` is not a valid email address.\"\n        ]\n    }\n}"}],"_postman_id":"55d6ad83-9939-461b-8869-97fbe6bb9c87"},{"name":"mailhouse/contact/read","id":"1d85a380-d987-4dde-a001-fbde1fb82a9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{AccessToken}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/read?contact_id=<string>","description":"<p>This API endpoint allows you to retrieve the contact information from the mail house module of the Swift Digital Suite platform using the provided contact's unique identifier (contact_id) and returns the contact data.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n</ul>\n","urlObject":{"path":["request","mailhouse","contact","read"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"}],"variable":[]}},"response":[{"id":"afa6b004-a26c-4330-94bf-874e3cc155e4","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/read?contact_id=zzzzxx7593efr7110010","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","read"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\"create_stamp\": 1753876424,\n\t\"update_stamp\": 1753876425,\n\t\"bounce_stamp\": 1753876426,\n\t\"unsubscribe_stamp\": 1753876427,\n\t\"unsubscribe_stamp_sms\": 1753876428,\n\t\"sys_stamp\": 1753876428,\n\t\"fields\": {\n\t\t\"TITLE\": \"Mr\",\n\t\t\"FIRST_NAME\": \"John\",\n\t\t\"LAST_NAME\": \"Doe\",\n\t\t\"EMAIL\": \"john.doe@swiftdigital.com.au\",\n\t\t\"MOBILE\": \"\",\n\t\t\"COUNTRY\": \"AU\",\n        \"POSTCODE\": \"2000\",\n        \"COMPANY\": \"Swift Digital\",\n        \"POSITION\": \"Employee\"\n\t},\n\t\"group_ids\": [\n\t\t\"zzzzxx7593efr7120011\",\n\t\t\"zzzzxx7593efr7120012\",\n\t\t\"zzzzxx7593efr7120013\"\n\t]\n}\n"},{"id":"a1df0ce0-ddfa-4404-afca-9ce97e19a633","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/read?contact_id=zzzzxx7593efr7110019","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","read"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `contact_id` does not exist.\",\n                \"contact_id\": \"zzzzxx7593efr7110019\"\n            }\n        ]\n    }\n}"}],"_postman_id":"1d85a380-d987-4dde-a001-fbde1fb82a9b"},{"name":"mailhouse/contact/update","id":"07c6910e-a84d-4fe3-9cd7-36a362d8f1ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{AccessToken}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"zzzz69857fb54a16d535\",\n    \"fields\": {\n        \"email\": \"swift2@bad.invaliddomain\"\n    }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/update","description":"<p>This API endpoint allows you to update the details of an existing contact in the Swift Digital Suite platform. You can modify various fields such as name, email, mobile, and custom attributes. The contact's unique identifier (contact_id) is required to perform the update. The request payload should include the fields that need to be updated. The API returns the updated contact details upon successful completion.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n<tr>\n<td>fields <em>(Required)</em></td>\n<td>Choose from standard or custom fields. For custom fields, use the merge field from Swift Digital Suite, which is usually in capital letters and separated by underscores (e.g., POSTCODE, DATE_OF_BIRTH).  <br />WARNING: The 'email' field is a required field for marketing or transactional accounts. And the required fields for transactional accounts with an external ID are 'email' and 'external_id'.</td>\n</tr>\n<tr>\n<td>group_ids <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>fields</code> cannot be empty.</p>\n</li>\n<li><p>Unable to update. Please provide either an <code>email</code> or a <code>mobile</code>.</p>\n</li>\n<li><p>Unable to update. Contact with the same <code>email</code> already exists.</p>\n</li>\n<li><p>Unable to update. Contact with the same <code>mobile</code> already exists.</p>\n</li>\n<li><p>Unable to update. Contact with the same <code>first_name</code>, <code>last_name</code>, <code>email</code>, and <code>external_id</code> already exists.</p>\n</li>\n<li><p>Unable to update. Contact with the same <code>first_name</code>, <code>last_name</code>, <code>mobile</code>, and <code>external_id</code> already exists.</p>\n</li>\n<li><p>The value of <code>external_id</code> cannot be empty.</p>\n</li>\n<li><p><code>'email'</code> is not a valid email address.</p>\n</li>\n<li><p>The <code>mobile</code> is too short. It should have 10 characters or more.</p>\n</li>\n<li><p>Invalid value provided for <code>'date field'</code> . The date must be in the format dd/mm/yyyy.</p>\n</li>\n<li><p>The value of <code>'single choice field'</code> should either be <code>'single choice field option 1'</code> or <code>'single choice field option 2'</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>country</code>. The <code>country</code> must be in code format like AU.</p>\n</li>\n</ul>\n","urlObject":{"path":["request","mailhouse","contact","update"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"024777ec-80ec-4b9d-9b36-490c1b9ccdb8","name":"SUCCESS MARKETING OR TRANSACTIONAL ACCOUNT","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\", //(Required) The unique ID associated with the contact.\n    \"fields\": { //(Required) The standard and custom field values of the contact.\n        \"title\": \"Mr\",\n        \"first_name\": \"Johnny\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\n        \"mobile\": \"1234567890\",\n        \"country\": \"AU\", //The country should be in code format.\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\n    },\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ],\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\",\n    \"groups_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ],\n    \"errors\": {\n        \"messages\": []\n    }\n}"},{"id":"ece5dbb9-d089-4ce4-a157-a126bc425fe1","name":"SUCCESS TRANSACTIONAL WITH EXTERNAL_ID ACCOUNT","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\", //(Required) The unique ID associated with the contact.\n    \"fields\": { //(Required) The standard and custom field values of the contact.\n        \"title\": \"Mr\",\n        \"first_name\": \"Johnny\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\n        \"mobile\": \"1234567890\",\n        \"external_id\": \"2025-001\", //(Required) The external ID merge field and mandatory.\n        \"country\": \"AU\", //The country should be in code format.\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\n    },\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ],\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\",\n    \"groups_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ],\n    \"errors\": {\n        \"messages\": []\n    }\n}"},{"id":"ba70d3d4-bc0b-4250-893d-7741facc0853","name":"ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\", //(Required) The unique ID associated with the contact.\n    \"fields\": { //(Required) The standard and custom field values of the contact.\n        \"title\": \"Mr\",\n        \"first_name\": \"Johnny\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@swiftdigital\" //(Required) The email merge field and mandatory.\n    },\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"email\": [\n            \"`john.doe@swiftdigital` is not a valid email address.\"\n        ]\n    }\n}"}],"_postman_id":"07c6910e-a84d-4fe3-9cd7-36a362d8f1ed"},{"name":"mailhouse/contact/delete","id":"1f5f0fd1-d333-40cd-a9d2-ae4f3ec060db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/delete?contact_id=<string>","description":"<p>This API endpoint allows you to delete an existing contact from the Swift Digital Suite platform. The contact's unique identifier (contact_id) is required to perform the deletion. Once deleted, the contact cannot be recovered. Please note that <code>204 No Content</code> is the API response code for successful deletion.</p>\n<p><strong>Warning:</strong> Deleting a contact is irreversible and will permanently remove the contact from the system. Use this function with caution to avoid unintended data loss.</p>\n<h2 id=\"method\">Method</h2>\n<p>DELETE</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>Unable to delete. The <code>contact_id</code> is unsubscribed. Please resubscribe the<code>contact_id</code> to delete.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","delete"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"}],"variable":[]}},"response":[{"id":"b6ca302e-a972-41e5-8421-e54158905335","name":"SUCCESS","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/delete?contact_id=zzzzxx7593efr7110010","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","delete"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"9509bdb0-0645-44aa-9ae4-4e9d7172c926","name":"ERROR","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/delete?contact_id=zzzzxx7593efr7110019","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","delete"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `contact_id` does not exist.\",\n                \"contact_id\": \"zzzzxx7593efr7110019\"\n            }\n        ]\n    }\n}"}],"_postman_id":"1f5f0fd1-d333-40cd-a9d2-ae4f3ec060db"},{"name":"mailhouse/contact/addgroups","id":"1cd03fd1-e078-4b46-ab7b-1e685db6b240","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"<string>\", //(Required) The unique ID associated with the contact.\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"<string>\",\n        \"<string>\",\n        \"<string>\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/addgroups","description":"<p>This API endpoint allows you to add a contact to one or more mail groups within the Swift Digital Suite platform. By specifying the mail groups' unique identifier (group_ids), you can assign the contact to relevant mail groups, helping to organise and manage your contacts effectively. The contact's unique identifier (contact_id) is required, along with the list of group_ids to which the contact should be added.</p>\n<h2 id=\"method\">Method</h2>\n<p>PATCH</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n<tr>\n<td>group_ids (Required)</td>\n<td>The list of unique IDs associated with the mail groups is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>The value of <code>group_ids</code> cannot be empty.</p>\n</li>\n</ul>\n<p>If the body contains group_ids where the contact_id is both a member and not yet a member, the contact_id will only be added to the group_ids where it is not yet a member. The API response will have a status code of 200 OK and an error message for group_ids where the contact is already a member of.</p>\n<ul>\n<li>The <code>contact_id</code> is already a member of the <code>group_ids</code>.</li>\n</ul>\n<p>If the body contains both valid and invalid group_ids, the contact_id will only be added to the valid group_ids. The API response will have a status code of 200 OK and an error message for invalid group_ids.</p>\n<ul>\n<li>The <code>group_ids</code> contain invalid values. The <code>contact_id</code> cannot be added to the <code>group_ids</code>.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","addgroups"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"a285fab1-f0b7-4118-be24-0c41391731ca","name":"SUCCESS","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\", //(Required) The unique ID associated with the contact.\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/addgroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\",\n    \"group_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\"\n    ],\n    \"errors\": {\n        \"messages\": []\n    }\n}"},{"id":"ce7d0b5c-d926-4f25-b556-6b0c9f0e02c9","name":"SUCCESS GROUP_IDS WITH ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\", //(Required) The unique ID associated with the contact.\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\",\n        \"\",\n        \"x1x1x1\",\n        \"zzzzxx7593efr7120015\",\n        \"zzzzxx7593efr7120016\",\n        \"zzzzxx7593efr7120017\",\n        \"zzzzxx7593efr7120018\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/addgroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\",\n    \"group_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\"\n    ],\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `contact_id` is already a member of the `group_ids`.\",\n                \"group_ids\": [\n                    \"zzzzxx7593efr7120015\",\n                    \"zzzzxx7593efr7120016\",\n                    \"zzzzxx7593efr7120017\"\n                ]\n            },\n            {\n                \"message\": \"The `group_ids` contain invalid values. The `contact_id` cannot be aaded to the `group_ids`.\",\n                \"contact_ids\": [\n                    \"zzzzxx7593efr7120018\",\n                    \"\",\n                    \"x1x1x1\"\n                ]\n            }\n        ]\n    }\n}"},{"id":"04e84569-0373-447a-b0a8-59d8c2f28cad","name":"ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_ids\": \"\", //(Required) The unique ID associated with the contact.\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/addgroups"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"contact_id\": [\n            \"The value of `contact_id` cannot be empty.\"\n        ]\n    }\n}"}],"_postman_id":"1cd03fd1-e078-4b46-ab7b-1e685db6b240"},{"name":"mailhouse/contact/readgroups","id":"28aaf244-450b-4138-aea4-e343e1fd44e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/readgroups?contact_id=<string>&next_data=<string>","description":"<p>This API endpoint allows you to retrieve a list of mail groups associated with a specific contact on the Swift Digital Suite platform. The contact's unique identifier (contact_id) is required, and the API response includes the list of unique identifiers associated with mail groups (group_ids).</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 group_ids listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","readgroups"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"048e1c12-0c1e-4367-8b07-ce23f0af1675","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/readgroups?contact_id=zzzzxx7593efr7110010","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","readgroups"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 5,\n    \"group_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\",\n        \"zzzzxx7593efr7120015\"\n    ]\n}"},{"id":"0faf73e5-abcb-4a62-8147-ac052432f88b","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/readgroups?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","readgroups"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 45,\n    \"group_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\",\n        \"zzzzxx7593efr7120015\",\n        \"zzzzxx7593efr7120016\",\n        \"zzzzxx7593efr7120017\",\n        \"zzzzxx7593efr7120018\",\n        \"zzzzxx7593efr7120019\",\n        \"zzzzxx7593efr7120020\",\n        \"zzzzxx7593efr7120021\",\n        \"zzzzxx7593efr7120022\",\n        \"zzzzxx7593efr7120024\",\n        \"zzzzxx7593efr7120025\",\n        \"zzzzxx7593efr7120026\",\n        \"zzzzxx7593efr7120027\",\n        \"zzzzxx7593efr7120028\",\n        \"zzzzxx7593efr7120029\",\n        \"zzzzxx7593efr7120030\",\n        \"zzzzxx7593efr7120031\"\n    ]\n}"},{"id":"6b62f067-4a83-4914-973c-1b24a843e8e5","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/readgroups?contact_id=zzzzxx7593efr7110019","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","readgroups"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `contact_id` does not exist.\",\n                \"contact_id\": \"zzzzxx7593efr7110019\"\n            }\n        ]\n    }\n}"}],"_postman_id":"28aaf244-450b-4138-aea4-e343e1fd44e7"},{"name":"mailhouse/contact/removegroups","id":"03980633-f01b-445c-9ffb-209f8f1a582a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"<string>\", //(Required) The unique ID associated with the contact.\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"<string>\",\n        \"<string>\",\n        \"<string>\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/removegroups","description":"<p>This API endpoint allows you to remove a contact from one or more groups in the Swift Digital Suite platform. By specifying the mail groups' unique identifier (group_ids), you can disassociate the contact from those mail groups. The contact's unique identifier (contact_id) is required, along with the list of group_ids to be removed.</p>\n<h2 id=\"method\">Method</h2>\n<p>PATCH</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n<tr>\n<td>group_ids (Required)</td>\n<td>The list of unique IDs associated with the mail groups is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>The value of <code>group_ids</code> cannot be empty.</p>\n</li>\n</ul>\n<p>If the body contains group_ids where the contact_id is both a member and not yet a member, the contact_id will only be removed from the group_ids it is a member. The API response will have a status code of 200 OK and an error message for group_ids where the contact is not a member.</p>\n<ul>\n<li>The <code>contact_id</code> is not a member of the <code>group_ids</code>.</li>\n</ul>\n<p>If the body contains both valid and invalid group_ids, the contact_id will only be removed to the valid group_ids. The API response will have a status code of 200 OK and an error message for invalid group_ids.</p>\n<ul>\n<li>The <code>group_ids</code> contain invalid values. The <code>contact_id</code> cannot be removed to the <code>group_ids</code>.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","removegroups"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"4938ecde-e50e-4cb9-8e18-a7cd13e77d68","name":"SUCCESS","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\", //(Required) The unique ID associated with the contact.\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/removegroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\",\n    \"group_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\"\n    ],\n    \"errors\": {\n        \"messages\": []\n    }\n}"},{"id":"1a0ad9e6-a5cf-4575-8d24-355102997e1a","name":"SUCCESS GROUP_IDS WITH ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\", //(Required) The unique ID associated with the contact.\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\",\n        \"\",\n        \"x1x1x1\",\n        \"zzzzxx7593efr7120015\",\n        \"zzzzxx7593efr7120016\",\n        \"zzzzxx7593efr7120017\",\n        \"zzzzxx7593efr7120018\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/removegroups"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"contact_id\": \"zzzzxx7593efr7110010\",\n    \"group_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\"\n    ],\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `contact_id` is not a member of the `group_ids`.\",\n                \"group_ids\": [\n                    \"zzzzxx7593efr7120015\",\n                    \"zzzzxx7593efr7120016\",\n                    \"zzzzxx7593efr7120017\"\n                ]\n            },\n            {\n                \"message\": \"The `group_ids` contain invalid values. The `contact_id` cannot be removed from the `group_ids`.\",\n                \"contact_ids\": [\n                    \"zzzzxx7593efr7120018\",\n                    \"\",\n                    \"x1x1x1\"\n                ]\n            }\n        ]\n    }\n}"},{"id":"3eb73050-8962-4d5e-8676-c4919317ecd2","name":"ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"contact_ids\": \"\", //(Required) The unique ID associated with the contact.\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/removegroups"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"contact_id\": [\n            \"The value of `contact_id` cannot be empty.\"\n        ]\n    }\n}"}],"_postman_id":"03980633-f01b-445c-9ffb-209f8f1a582a"},{"name":"mailhouse/contact/unsubscribe","id":"db5a8f18-bf23-4922-a0da-f7e34832086d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/unsubscribe?contact_id=<string>","description":"<p>This API endpoint allows you to unsubscribe a contact from receiving email communications through the Swift Digital Suite platform. The contact's unique identifier (contact_id) is required to perform the email unsubscription. Once unsubscribed for email, the contact will no longer receive any email campaigns or related communications from your organisation.</p>\n<h2 id=\"method\">Method</h2>\n<p>PATCH</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>The <code>contact_id</code> is already unsubscribed from email.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","unsubscribe"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"}],"variable":[]}},"response":[{"id":"6e2514b3-e922-42c6-b058-4cac7430f8c7","name":"SUCCESS","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/unsubscribe?contact_id=zzzzxx7593efr7110010","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","unsubscribe"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"contact_id\": \"zzzzxx7593efr7110010\"\r\n}"},{"id":"63fd4269-64f4-4d1b-8a4b-34ba118fa46d","name":"ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/unsubscribe?contact_id=zzzzxx7593efr7110019","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","unsubscribe"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"messages\": [\r\n            {\r\n                \"message\": \"The `contact_id` does not exist.\",\r\n                \"contact_id\": \"zzzzxx7593efr7110019\"\r\n            }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"db5a8f18-bf23-4922-a0da-f7e34832086d"},{"name":"mailhouse/contact/unsubscribesms","id":"36b0acd8-20e9-4f4b-a62b-becf824a5135","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/unsubscribesms?contact_id=<string>","description":"<p>This API endpoint allows you to unsubscribe a contact from receiving SMS communications through the Swift Digital Suite platform. The contact's unique identifier (contact_id) is required to perform the SMS unsubscription. Once unsubscribed for SMS, the contact will no longer receive any SMS campaigns or related communications from your organisation.</p>\n<h2 id=\"method\">Method</h2>\n<p>PATCH</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>The <code>contact_id</code> is already unsubscribed from SMS.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","unsubscribesms"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"}],"variable":[]}},"response":[{"id":"f788e365-2ed6-4d09-bfbc-706c4ef7fa82","name":"SUCCESS","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/unsubscribesms?contact_id=zzzzxx7593efr7110010","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","unsubscribesms"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"contact_id\": \"zzzzxx7593efr7110010\"\r\n}"},{"id":"aac3e27e-5853-4c79-90bb-98ab90ab82ad","name":"ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/unsubscribesms?contact_id=zzzzxx7593efr7110019","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","unsubscribesms"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"messages\": [\r\n            {\r\n                \"message\": \"The `contact_id` does not exist.\",\r\n                \"contact_id\": \"zzzzxx7593efr7110019\"\r\n            }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"36b0acd8-20e9-4f4b-a62b-becf824a5135"},{"name":"mailhouse/contact/resubscribe","id":"271c0dcc-b598-4dad-96d3-21a8d7213034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/resubscribe?contact_id=<string>","description":"<p>This API endpoint allows you to resubscribe a contact to receive email communications through the Swift Digital Suite platform. The contact's unique identifier (contact_id) is required to perform the email resubscription. Once resubscribed for email, the contact will be reactivated to receive email campaigns and related communications from your organisation.</p>\n<h2 id=\"method\">Method</h2>\n<p>PATCH</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>The <code>contact_id</code> is already subscribed to email.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","resubscribe"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"}],"variable":[]}},"response":[{"id":"6a2c0f1f-0f3f-42c7-a055-2a4ce7898793","name":"SUCCESS","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/resubscribe?contact_id=zzzzxx7593efr7110010","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","resubscribe"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"contact_id\": \"zzzzxx7593efr7110010\"\r\n}"},{"id":"29961f80-440b-40f6-b1ea-7dd4e3c853b4","name":"ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/resubscribe?contact_id=zzzzxx7593efr7110019","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","resubscribe"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"messages\": [\r\n            {\r\n                \"message\": \"The `contact_id` does not exist.\",\r\n                \"contact_id\": \"zzzzxx7593efr7110019\"\r\n            }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"271c0dcc-b598-4dad-96d3-21a8d7213034"},{"name":"mailhouse/contact/resubscribesms","id":"ba09c11c-7147-458f-941e-df4a9088f87c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/resubscribesms?contact_id=<string>","description":"<p>This API endpoint allows you to resubscribe a contact to receive SMS communications through the Swift Digital Suite platform. The contact's unique identifier (contact_id) is required to perform the SMS resubscription. Once resubscribed for SMS, the contact will be reactivated to receive SMS campaigns and related communications from your organisation.</p>\n<h2 id=\"method\">Method</h2>\n<p>PATCH</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>The <code>contact_id</code> is already subscribed to SMS.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","resubscribesms"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"}],"variable":[]}},"response":[{"id":"1955bdeb-8f46-4148-85bc-33eab74cb921","name":"SUCCESS","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/resubscribesms?contact_id=zzzzxx7593efr7110010","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","resubscribesms"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"contact_id\": \"zzzzxx7593efr7110010\"\r\n}"},{"id":"8c2e1fbc-4f31-45fb-b0b4-ff6463933e80","name":"ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/resubscribesms?contact_id=zzzzxx7593efr7110019","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","resubscribesms"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"messages\": [\r\n            {\r\n                \"message\": \"The `contact_id` does not exist.\",\r\n                \"contact_id\": \"zzzzxx7593efr7110019\"\r\n            }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"ba09c11c-7147-458f-941e-df4a9088f87c"},{"name":"mailhouse/contact/unbounce","id":"aa85f901-140f-439e-b3ef-1b4361032595","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/unbounce?contact_id=<integer>","description":"<p>This API endpoint allows you to unbounce a contact to receive email communications through the Swift Digital Suite platform. The contact's unique identifier (contact_id) is required to perform the unbounce. Once unbounced, the contact will be reactivated to receive email campaigns and related communications from your organisation.</p>\n<h2 id=\"method\">Method</h2>\n<p>PATCH</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>The <code>contact_id</code> is already unbounced.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","unbounce"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<integer>"}],"variable":[]}},"response":[{"id":"6a634aae-5480-48ff-8cfe-670f8bb16d3e","name":"SUCCESS","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/unbounce?contact_id=zzzzxx7593efr7110010","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","unbounce"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"contact_id\": \"zzzzxx7593efr7110010\"\r\n}"},{"id":"bb70527c-b638-4b10-8e36-9957ad187670","name":"ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/unbounce?contact_id=zzzzxx7593efr7110019","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","unbounce"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"messages\": [\r\n            {\r\n                \"message\": \"The `contact_id` does not exist.\",\r\n                \"contact_id\": \"zzzzxx7593efr7110019\"\r\n            }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"aa85f901-140f-439e-b3ef-1b4361032595"},{"name":"mailhouse/contact/bounce","id":"ad49565f-f91d-4b01-954d-c3061f44ed4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/bounce?contact_id=<string>","description":"<p>This API endpoint allows you to bounce a contact from receiving email communications through the Swift Digital Suite platform. The contact's unique identifier (contact_id) is required to perform the bounce. Once bounced, the contact will no longer receive any email campaigns and related communications from your organisation.</p>\n<h2 id=\"method\">Method</h2>\n<p>PATCH</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>The <code>contact_id</code> is already bounced.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","bounce"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"}],"variable":[]}},"response":[{"id":"04daafe8-27a0-4913-a713-8456df16ec21","name":"SUCCESS","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/bounce?contact_id=zzzzxx7593efr7110010","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","bounce"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"contact_id\": \"zzzzxx7593efr7110010\"\r\n}"},{"id":"32980a58-1aca-4472-a36b-77ac6a46a6a7","name":"ERROR","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/bounce?contact_id=zzzzxx7593efr7110019","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","bounce"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"messages\": [\r\n            {\r\n                \"message\": \"The `contact_id` does not exist.\",\r\n                \"contact_id\": \"zzzzxx7593efr7110019\"\r\n            }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"ad49565f-f91d-4b01-954d-c3061f44ed4c"},{"name":"mailhouse/contact/fieldlog","id":"502cdde7-7c80-4674-b7fa-e299ae95988b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/fieldlog?contact_id=<string>&from_date=<integer>&to_date=<integer>&order_by=ASC&next_data=<string>","description":"<p>This API endpoint returns whether the contact has been created, modified, or deleted within a given date and time range. Use this function to check if there have been any changes to the contact's first name, last name, bounce status, unsubscribe status, or any other standard or custom field during a specified period of time.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n<tr>\n<td>from_date <em>(Optional)</em></td>\n<td>The date when the log starts. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>to_date <em>(Optional)</em></td>\n<td>The date when the log ends. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>order_by <em>(Optional)</em></td>\n<td>ASC, DESC (Default ASC)</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 data logs listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>This value should be of epoch unix timestamp.</p>\n</li>\n<li><p>The value of <code>order_by</code> should be either <code>asc</code> or <code>desc</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","fieldlog"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"},{"description":{"content":"<p>(Optional) The date when the log starts. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"from_date","value":"<integer>"},{"description":{"content":"<p>(Optional) The date when the log ends. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"to_date","value":"<integer>"},{"description":{"content":"<p>(Optional) ASC, DESC (Default ASC)</p>\n","type":"text/plain"},"key":"order_by","value":"ASC"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"f598377b-4426-429c-aeb0-c73d55302c93","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/fieldlog?contact_id=zzzzxx7593efr7110010&from_date=1735700971&to_date=1764558571&order_by=ASC","protocol":"https","host":["v3","api","swiftdigital","com","au"],"path":["request","mailhouse","contact","fieldlog"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."},{"key":"from_date","value":"1735700971","description":"(Optional) The date when the log starts. This is in epoch unix timestamp."},{"key":"to_date","value":"1764558571","description":"(Optional) The date when the log ends. This is in epoch unix timestamp."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"has_more\": false,\n  \"next_data\": false,\n  \"total\": 3,\n  \"data\": [\n\t{\n\t\t\"id\": 1186511001,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"field_type\": \"standard\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876421\n\t},\n\t{\n\t\t\"id\": 1186511002,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"field_type\": \"other\",\n\t\t\"action\": \"update\",\n\t\t\"sys_stamp\": 1753876422\n\t},\n    {\n\t\t\"id\": 1186511003,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"field_type\": \"other\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876423\n\t}\n  ]\n}\n"},{"id":"60463916-bfb7-4ad6-a3dc-dc7a7691469d","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/fieldlog?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","fieldlog"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 43,\n    \"data\": [\n\t{\n\t\t\"id\": 1186511001,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"field_type\": \"standard\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876421\n\t},\n\t{\n\t\t\"id\": 1186511002,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"field_type\": \"other\",\n\t\t\"action\": \"update\",\n\t\t\"sys_stamp\": 1753876422\n\t},\n    {\n\t\t\"id\": 1186511003,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"field_type\": \"other\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876423\n\t}\n  ]\n}\n"},{"id":"2060685d-e2b2-48c7-bbde-0018f965256c","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/fieldlog?contact_id=zzzzxx7593efr7110019&order_by=ASC","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","fieldlog"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `contact_id` does not exist.\",\n                \"contact_id\": \"zzzzxx7593efr7110019\"\n            }\n        ]\n    }\n}"}],"_postman_id":"502cdde7-7c80-4674-b7fa-e299ae95988b"},{"name":"mailhouse/contact/activitylog","id":"a15a2c87-5970-48d7-9d79-4cb6adb59a9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/activitylog?contact_id=<string>&from_date=<integer>&to_date=<integer>&order_by=ASC&next_data=<string>","description":"<p>This API endpoint retrieves the Profile 360 log for a specific contact, providing a view of their activities within the Swift Digital Suite platform. The data returned includes interactions, campaign history, and other relevant activities associated with the contact.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n<tr>\n<td>from_date <em>(Optional)</em></td>\n<td>The date when the log starts. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>to_date <em>(Optional)</em></td>\n<td>The date when the log ends. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>order_by <em>(Optional)</em></td>\n<td>ASC, DESC (Default ASC)</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 data logs listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>This value should be of epoch unix timestamp.</p>\n</li>\n<li><p>The value of <code>order_by</code> should be either <code>asc</code> or <code>desc</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","activitylog"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"},{"description":{"content":"<p>(Optional) The date when the log starts. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"from_date","value":"<integer>"},{"description":{"content":"<p>(Optional) The date when the log ends. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"to_date","value":"<integer>"},{"description":{"content":"<p>(Optional) ASC, DESC (Default ASC)</p>\n","type":"text/plain"},"key":"order_by","value":"ASC"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"7f32b040-afa7-486c-8e6e-599af1dc4a81","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/activitylog?contact_id=zzzzxx7593efr7110010&from_date=1735700971&to_date=1764558571&order_by=ASC","protocol":"https","host":["v3","api","swiftdigital","com","au"],"path":["request","mailhouse","contact","activitylog"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."},{"key":"from_date","value":"1735700971","description":"(Optional) The date when the log starts. This is in epoch unix timestamp."},{"key":"to_date","value":"1764558571","description":"(Optional) The date when the log ends. This is in epoch unix timestamp."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 5,\n    \"data\": [\n        {\n            \"activity_id\": \"zzzzxx7593efx7130011\",\n            \"scope\": \"OS\",\n            \"scope_id\": \"zzzzxx7593efy7130011\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document sent - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511001,\n            \"sys_stamp\": 175387641\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130012\",\n            \"scope\": \"OO\",\n            \"scope_id\": \"zzzzxx7593efy7130012\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document opened - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511002,\n            \"sys_stamp\": 1753876422\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130013\",\n            \"scope\": \"OC\",\n            \"scope_id\": \"zzzzxx7593efy7130013\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document clicked - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511003,\n            \"sys_stamp\": 1753876423\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130014\",\n            \"scope\": \"US\",\n            \"scope_id\": \"zzzzxx7593efy7130014\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511004,\n            \"sys_stamp\": 1753876424\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130015\",\n            \"scope\": \"MU\",\n            \"scope_id\": \"zzzzxx7593efy7130015\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"SMS unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511005,\n            \"sys_stamp\": 1753876425\n        }\n    ]\n}"},{"id":"551af6af-7cf2-4c5e-b192-9fb851f75572","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/activitylog?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","activitylog"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 25,\n    \"data\": [\n        {\n            \"activity_id\": \"zzzzxx7593efx7130011\",\n            \"scope\": \"OS\",\n            \"scope_id\": \"zzzzxx7593efy7130011\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document sent - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511001,\n            \"sys_stamp\": 175387641\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130012\",\n            \"scope\": \"OO\",\n            \"scope_id\": \"zzzzxx7593efy7130012\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document opened - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511002,\n            \"sys_stamp\": 1753876422\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130013\",\n            \"scope\": \"OC\",\n            \"scope_id\": \"zzzzxx7593efy7130013\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document clicked - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511003,\n            \"sys_stamp\": 1753876423\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130014\",\n            \"scope\": \"US\",\n            \"scope_id\": \"zzzzxx7593efy7130014\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511004,\n            \"sys_stamp\": 1753876424\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130015\",\n            \"scope\": \"MU\",\n            \"scope_id\": \"zzzzxx7593efy7130015\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"SMS unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511005,\n            \"sys_stamp\": 1753876425\n        }\n    ]\n}"},{"id":"b81ec426-3df1-45b3-bbd2-b342b7faab23","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/activitylog?contact_id=zzzzxx7593efr7110019&order_by=ASC","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","activitylog"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `contact_id` does not exist.\",\n                \"contact_id\": \"zzzzxx7593efr7110019\"\n            }\n        ]\n    }\n}"}],"_postman_id":"a15a2c87-5970-48d7-9d79-4cb6adb59a9a"},{"name":"mailhouse/contact/activities","id":"98ebffa7-1cde-498a-8718-853e7e1ccaef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/activities?contact_id=<string>&from_date=<integer>&to_date=<integer>&order_by=ASC&next_data=<string>","description":"<p>This API endpoint returns the Profile 360 records for a contact, providing a comprehensive view of their activities within the Swift Digital Suite platform. The data returned includes interactions, campaign history (opened, clicked, sent, forwarded), event history, survey history, and other relevant activities associated with the contact.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n<tr>\n<td>from_date <em>(Optional)</em></td>\n<td>The date when the activities start. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>to_date <em>(Optional)</em></td>\n<td>The date when the activities end. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>order_by <em>(Optional)</em></td>\n<td>ASC, DESC (Default ASC)</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 data logs listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>This value should be of epoch unix timestamp.</p>\n</li>\n<li><p>The value of <code>order_by</code> should be either <code>asc</code> or <code>desc</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","activities"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"},{"description":{"content":"<p>(Optional) The date when the activities start. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"from_date","value":"<integer>"},{"description":{"content":"<p>(Optional) The date when the activities end. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"to_date","value":"<integer>"},{"description":{"content":"<p>(Optional) ASC, DESC (Default ASC)</p>\n","type":"text/plain"},"key":"order_by","value":"ASC"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"43b18527-11c2-4df5-831c-0f1e6757d914","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/activities?contact_id=zzzzxx7593efr7110010&from_date=1735700971&to_date=1764558571&order_by=ASC","protocol":"https","host":["v3","api","swiftdigital","com","au"],"path":["request","mailhouse","contact","activities"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."},{"key":"from_date","value":"1735700971","description":"(Optional) The date when the activities start. This is in epoch unix timestamp."},{"key":"to_date","value":"1764558571","description":"(Optional) The date when the activities end. This is in epoch unix timestamp."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 6,\n    \"data\": [\n        {\n            \"activity_id\": \"zzzzxx7593efx7130011\",\n            \"scope\": \"OS\",\n            \"scope_id\": \"zzzzxx7593efy7130011\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document sent - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511001\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130012\",\n            \"scope\": \"OO\",\n            \"scope_id\": \"zzzzxx7593efy7130012\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document opened - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511002\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130013\",\n            \"scope\": \"OC\",\n            \"scope_id\": \"zzzzxx7593efy7130013\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document clicked - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511003\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130014\",\n            \"scope\": \"US\",\n            \"scope_id\": \"zzzzxx7593efy7130014\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511004\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130015\",\n            \"scope\": \"MU\",\n            \"scope_id\": \"zzzzxx7593efy7130015\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"SMS unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511005\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130016\",\n            \"scope\": \"RS\",\n            \"scope_id\": \"zzzzxx7593efy7130016\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Resubscribed - by John Doe\",\n            \"activity_stamp\": 1186511006\n        }\n    ]\n}"},{"id":"6d7adc4f-b0e8-4864-b7fb-a1b4de611e5d","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/activities?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","activities"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 26,\n    \"data\": [\n        {\n            \"activity_id\": \"zzzzxx7593efx7130011\",\n            \"scope\": \"OS\",\n            \"scope_id\": \"zzzzxx7593efy7130011\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document sent - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511001\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130012\",\n            \"scope\": \"OO\",\n            \"scope_id\": \"zzzzxx7593efy7130012\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document opened - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511002\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130013\",\n            \"scope\": \"OC\",\n            \"scope_id\": \"zzzzxx7593efy7130013\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document clicked - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511003\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130014\",\n            \"scope\": \"US\",\n            \"scope_id\": \"zzzzxx7593efy7130014\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511004\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130015\",\n            \"scope\": \"MU\",\n            \"scope_id\": \"zzzzxx7593efy7130015\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"SMS unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511005\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130016\",\n            \"scope\": \"RS\",\n            \"scope_id\": \"zzzzxx7593efy7130016\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Resubscribed - by John Doe\",\n            \"activity_stamp\": 1186511006\n        }\n    ]\n}"},{"id":"65bce7fe-f62d-4c62-8ec4-db229b0461f9","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/activities?contact_id=zzzzxx7593efr7110019&order_by=ASC","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","activities"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `contact_id` does not exist.\",\n                \"contact_id\": \"zzzzxx7593efr7110019\"\n            }\n        ]\n    }\n}"}],"_postman_id":"98ebffa7-1cde-498a-8718-853e7e1ccaef"},{"name":"mailhouse/contact/membershiplog","id":"1cec6b95-f995-4bc7-97c8-28371cd617a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/membershiplog?contact_id=<string>&from_date=<integer>&to_date=<integer>&order_by=<string>&next_data=<string>","description":"<p>This API endpoint returns the membership activities for a contact within a specified date and time range. It logs actions such as adding or removing the contact from any list, along with details like the action performed, contact_ID, and group_ID. Use this function to track subscription changes or update your contact's membership status effectively.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_id <em>(Required)</em></td>\n<td>The unique ID associated with the contact is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n<tr>\n<td>from_date <em>(Optional)</em></td>\n<td>The date when the log starts. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>to_date <em>(Optional)</em></td>\n<td>The date when the log ends. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>order_by <em>(Optional)</em></td>\n<td>ASC, DESC (Default ASC)</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 data logs listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>contact_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>contact_id</code>.</p>\n</li>\n<li><p>The <code>contact_id</code> does not exist.</p>\n</li>\n<li><p>This value should be of epoch unix timestamp.</p>\n</li>\n<li><p>The value of <code>order_by</code> should be either <code>asc</code> or <code>desc</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","membershiplog"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the contact.</p>\n","type":"text/plain"},"key":"contact_id","value":"<string>"},{"description":{"content":"<p>(Optional) The date when the log starts. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"from_date","value":"<integer>"},{"description":{"content":"<p>(Optional) The date when the log ends. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"to_date","value":"<integer>"},{"description":{"content":"<p>(Optional) ASC, DESC (Default ASC)</p>\n","type":"text/plain"},"key":"order_by","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"a5b2081b-2023-4109-b1a6-f10992066151","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/membershiplog?contact_id=zzzzxx7593efr7110010&from_date=1735700971&to_date=1764558571&order_by=ASC","protocol":"https","host":["v3","api","swiftdigital","com","au"],"path":["request","mailhouse","contact","membershiplog"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110010","description":"(Required) The unique ID associated with the contact."},{"key":"from_date","value":"1735700971","description":"(Optional) The date when the log starts. This is in epoch unix timestamp."},{"key":"to_date","value":"1764558571","description":"(Optional) The date when the log ends. This is in epoch unix timestamp."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 4,\n    \"data\": [\n\t{\n\t\t\"id\": 1186511001,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876421\n\t},\n\t{\n\t\t\"id\": 1186511002,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120012\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876422\n\t},\n\t{\n\t\t\"id\": 1186511003,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120013\",\n\t\t\"action\": \"remove\",\n\t\t\"sys_stamp\": 1753876423\n\t},\n\t{\n\t\t\"id\": 1186511004,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120014\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876424\n\t}\n  ]\n}\n"},{"id":"b6891e7c-b472-43aa-a437-c688e3e0d6b9","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/membershiplog?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","membershiplog"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 34,\n    \"data\": [\n\t{\n\t\t\"id\": 1186511001,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876421\n\t},\n\t{\n\t\t\"id\": 1186511002,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120012\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876422\n\t},\n\t{\n\t\t\"id\": 1186511003,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120013\",\n\t\t\"action\": \"remove\",\n\t\t\"sys_stamp\": 1753876423\n\t},\n\t{\n\t\t\"id\": 1186511004,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120014\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876424\n\t}\n  ]\n}\n"},{"id":"8d235eb1-1850-44b3-b80c-90c9095ac254","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/membershiplog?contact_id=zzzzxx7593efr7110019&order_by=ASC","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","contact","membershiplog"],"query":[{"key":"contact_id","value":"zzzzxx7593efr7110019","description":"(Required) The unique ID associated with the contact."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `contact_id` does not exist.\",\n                \"contact_id\": \"zzzzxx7593efr7110019\"\n            }\n        ]\n    }\n}"}],"_postman_id":"1cec6b95-f995-4bc7-97c8-28371cd617a8"},{"name":"mailhouse/contact/fields","id":"a8506b0a-a5e5-4bc3-933b-095febb9e9d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/fields","description":"<p>This API endpoint retrieves all standard and custom fields defined in the mail house on the Swift Digital Suite platform. Standard fields include pre-defined contact attributes such as title, first name, last name, email address, mobile, and country. Custom fields are user-defined and can be tailored to capture specific data relevant to your campaigns or contact management needs. This endpoint is useful for understanding the data structure of your mail house and for ensuring that your contact records are consistently formatted.</p>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","contact","fields"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"74543eff-c990-4214-aaf1-8b6503476708","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/contact/fields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"field_id\": \"TITLE\",\n        \"field_name\": \"Title\",\n        \"field_type\": \"Text\",\n        \"type_code\": \"A\",\n        \"merge_field\": \"TITLE\",\n        \"max_size\": 30,\n        \"options\": \"[N/A]\",\n        \"order_number\": \"[N/A]\"\n    },\n    {\n        \"field_id\": \"zzzzxx7593xyu7110010\",\n        \"field_name\": \"Position\",\n        \"field_type\": \"Text\",\n        \"type_code\": \"A\",\n        \"merge_field\": \"POSITION\",\n        \"max_size\": 250,\n        \"options\": \"[N/A]\",\n        \"order_number\": \"2\"\n    }\n]"}],"_postman_id":"a8506b0a-a5e5-4bc3-933b-095febb9e9d4"}],"id":"10fa259c-ac64-4c6c-b0b5-19f93a7d8ba2","description":"<h2 id=\"contact-overview\">Contact Overview</h2>\n<p>The Swift Digital Suite is a comprehensive platform designed to manage and engage with contacts effectively. A <strong>contact</strong> in the Swift Digital Suite represents an individual or entity with whom you interact through your digital marketing and communication efforts. Contacts are central to your campaigns, as they are the recipients of your emails, SMS messages, surveys, and other forms of outreach.</p>\n<h2 id=\"key-features-of-contact\">Key Features of Contact</h2>\n<ul>\n<li><p><strong>Rich Contact Profiles:</strong> Each contact record contains a wealth of information, including standard fields like name, email address, and phone number, as well as custom fields that you define to suit your specific needs (e.g., <strong>POSTCODE</strong>, <strong>DATE_OF_BIRTH</strong>).</p>\n</li>\n<li><p><strong>Custom Fields:</strong> The Swift Digital Suite platform allows you to create custom fields to capture additional information about your contacts. These fields can be tailored to your business requirements and are identified by unique codes, usually formatted in capital letters and separated by underscores (e.g., <strong>MEMBERSHIP_ID</strong>, <strong>PREFERRED_LANGUAGE</strong>)</p>\n</li>\n<li><p><strong>Segmentation and Targeting:</strong> Contacts can be segmented based on various criteria, including demographic information, engagement history, and custom field data. This segmentation allows for precise targeting in your campaigns, ensuring that the right message reaches the right audience.</p>\n</li>\n<li><p><strong>Search and Filtering:</strong> The Swift Digital Suite platform provides powerful search and filtering capabilities, enabling you to quickly locate contacts that meet specific criteria. You can perform strict searches for exact matches or fuzzy searches for broader results.</p>\n</li>\n<li><p><strong>Engagement Tracking:</strong> The Swift Digital Suite platform tracks all interactions with your contacts, including email opens, link clicks, survey responses, and more. This data helps you understand your contacts' behaviour and tailor your communications accordingly.</p>\n</li>\n<li><p><strong>Compliance and Consent Management:</strong> Managing consent and compliance is made easy with the Swift Digital Suite platform. You can track opt-ins, preferences, and other compliance-related data to ensure your communications adhere to relevant regulations.</p>\n</li>\n</ul>\n<h2 id=\"contact-use-cases\">Contact Use Cases</h2>\n<p>The API endpoints for contact provide robust functionality for interacting with contacts, allowing developers to automate and manage communication workflows programmatically. Here are some key ways in which contacts can be used:</p>\n<ol>\n<li><p><strong>Marketing Campaigns:</strong> Leverage contact data to create personalised marketing campaigns that resonate with your audience.</p>\n</li>\n<li><p><strong>Event Management:</strong> Manage event invitations, registrations, and follow-ups by utilising contact information stored in the suite.</p>\n</li>\n<li><p><strong>Surveys and Feedback:</strong> Send targeted surveys to specific contact segments to gather valuable feedback.</p>\n</li>\n</ol>\n<p>In summary, contacts in the Swift Digital Suite platform are the foundation of your digital communications. By organising and managing your contacts effectively, you can enhance your outreach efforts and build stronger relationships with your audience.</p>\n","_postman_id":"10fa259c-ac64-4c6c-b0b5-19f93a7d8ba2","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}},{"name":"Mail Group","item":[{"name":"mailgroup/list","id":"5b85b8fe-c583-46c7-b836-2090ac04345c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/list?next_data=<string>","description":"<p>This API endpoint retrieves a list of all mail groups, including their folder names, the number of contacts on each mail group, and whether each group is designated as a test group or not. This helps you organise all the mail groups in the mail house and differentiate between active and test mail groups within your mail house.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 mail groups listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","list"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"4e5317f0-f920-438d-bde1-271fea1babe1","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 2,\n\t\"data\": [\n\t\t{\n\t\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\t\"group_name\": \"Marketing EOFY Campaign Group\",\n\t\t\t\"is_test\": \"N\",\n\t\t\t\"folder_id\": 508901,\n\t\t\t\"folder_name\": \"Marketing EOFY\",\n            \"modified_on\": 1753876431,\n\t\t\t\"created_on\": 1753876421,\n\t\t\t\"no_of_contact\": 31\n\t\t},\n\t\t{\n\t\t\t\"mailgroup_id\": \"zzzzxx7593efr7120012\",\n\t\t\t\"mailgroup_name\": \"Latest Features and Improvements Campaign Group\",\n\t\t\t\"is_test\": \"N\",\n\t\t\t\"folder_id\": 508903,\n\t\t\t\"folder_name\": \"Latest Features and Improvements\",\n            \"modified_on\": 1753876432,\n\t\t\t\"created_on\": 1753876422,\n\t\t\t\"no_of_contact\": 158\n\t\t}\n\t]\n}"},{"id":"99a393ca-ede7-4670-b289-a574ed02707c","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/list?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","mailgroup","list"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 22,\n\t\"data\": [\n\t\t{\n\t\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\t\"group_name\": \"Marketing EOFY Campaign Group\",\n\t\t\t\"is_test\": \"N\",\n\t\t\t\"folder_id\": 508901,\n\t\t\t\"folder_name\": \"Marketing EOFY\",\n            \"modified_on\": 1753876431,\n\t\t\t\"created_on\": 1753876421,\n\t\t\t\"no_of_contact\": 31\n\t\t},\n\t\t{\n\t\t\t\"mailgroup_id\": \"zzzzxx7593efr7120012\",\n\t\t\t\"mailgroup_name\": \"Latest Features and Improvements Campaign Group\",\n\t\t\t\"is_test\": \"N\",\n\t\t\t\"folder_id\": 508903,\n\t\t\t\"folder_name\": \"Latest Features and Improvements\",\n            \"modified_on\": 1753876432,\n\t\t\t\"created_on\": 1753876422,\n\t\t\t\"no_of_contact\": 158\n\t\t}\n\t]\n}"}],"_postman_id":"5b85b8fe-c583-46c7-b836-2090ac04345c"},{"name":"mailgroup/create","id":"32b5e53c-b1e4-447c-9511-30c16fe33cae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_name\": \"<string>\", //(Required) The unique name associated with the mail group.\n    \"is_test\": \"<string>\", //(Optional) Set 'Y' for a test mail group and 'N' for a mail group.\n    \"folder_id\": \"<integer>\" //(Required) The unique ID associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/create","description":"<p>This API endpoint allows you to create new mail groups within the mail house on the Swift Digital Suite platform. When creating a mail group, you can specify details such as the mail group name, folder location, and whether the mail group is intended for testing purposes. This functionality is crucial for organising contacts into specific segments, enabling targeted communication and efficient management of your email campaigns.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_name <em>(Required)</em></td>\n<td>The unique name associated with the mail group is essential for future operations, such as reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>is_test <em>(Optional)</em></td>\n<td>Set 'Y' for a test mail group and 'N' for a mail group.  <br />Leaving the field empty will be replaced by the default value, which is set at 'N'.</td>\n</tr>\n<tr>\n<td>folder_id <em>(Required)</em></td>\n<td>The unique ID associated with the folder is essential for future operations, such as retrieving a list of mail groups inside the folder, reading or updating folder information.  <br />The default folder has an ID of '0'.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_name</code> cannot be empty.</p>\n</li>\n<li><p>The <code>group_name</code> is taken, please get something else.</p>\n</li>\n<li><p>The <code>group_name</code> only accepts alphabets, spaces, numbers, and special characters - _ () [] , .</p>\n</li>\n<li><p>The <code>group_name</code> is too long. It should have 250 characters or less.</p>\n</li>\n<li><p>The value of <code>folder_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>folder_id</code>.</p>\n</li>\n<li><p>The <code>folder_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","create"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"dbd17840-06c7-4839-9a1a-7cbf5d3c02f5","name":"SUCCESS","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_name\": \"Marketing EOFY Campaign Group\", //(Required) The unique name associated with the mail group.\n    \"is_test\": \"N\", //(Optional) Set 'Y' for a test mail group and 'N' for a mail group.\n    \"folder_id\": 508901 //(Required) The unique ID associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"group_id\": \"zzzzxx7593efr7120011\"\n}"},{"id":"727515ac-017c-448f-9948-a2d9a9c6d3f5","name":"ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_name\": \"Marketing EOFY Campaign Group\", //(Required) The unique name associated with the mail group.\n    \"is_test\": \"N\", //(Optional) Set 'Y' for a test mail group and 'N' for a mail group.\n    \"folder_id\": 508901 //(Required) The unique ID associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": {\n                \"message\": \"The `group_name` is taken, please get something else.\",\n                \"group_name\": \"Marketing EOFY Campaign Group\"\n            }\n    }\n}"}],"_postman_id":"32b5e53c-b1e4-447c-9511-30c16fe33cae"},{"name":"mailgroup/read","id":"a5107eb6-6c1d-40dd-bb37-8c7aeddb1269","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/read?group_id=<string>","description":"<p>This API endpoint allows you to retrieve detailed information about a specific mail group. This includes the mail group name, folder location, whether it’s a test group, and other relevant details. This functionality is useful for reviewing the configuration of a mail group, ensuring it aligns with your campaign and segmentation strategies.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","read"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"}],"variable":[]}},"response":[{"id":"8cbc9306-439d-4261-9430-380428c8c26f","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/read?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","read"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\"group_name\": \"Marketing EOFY Campaign Group\",\n\t\"is_test\": \"N\",\n\t\"folder_id\": 508901,\n\t\"folder_name\": \"Marketing EOFY\",\n\t\"modified_on\": 1753876421\n}"},{"id":"69af72c4-5c41-4823-a595-039b399a1dcc","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/read?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","read"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"a5107eb6-6c1d-40dd-bb37-8c7aeddb1269"},{"name":"mailgroup/update","id":"72e641fa-6d51-49fe-9b4f-64215dac2ae2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"group_id\": \"<string>\", //(Required) The unique ID associated with the mail group.\n    \"group_name\": \"<string>\", //(Required) The unique name associated with the mail group.\n    \"is_test\": \"<string>\", //(Optional) Set 'Y' for a test mail group and 'N' for a mail group.\n\t\"folder_id\": \"<integer>\" //(Required) The unique ID associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/update","description":"<p>This API endpoint allows you to modify the details of an existing mail group in Swift Digital Suite platform. You can update attributes such as the mail group name, folder location, or its designation as a test group. This functionality is essential for keeping your mail groups current and aligned with your evolving segmentation and campaign strategies.</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>group_name <em>(Required)</em></td>\n<td>The unique name associated with the mail group is essential for future operations, such as reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>is_test <em>(Optional)</em></td>\n<td>Set 'Y' for a test mail group and 'N' for a mail group.  <br />Leaving the field empty will be replaced by the default value, which is set at 'N'.</td>\n</tr>\n<tr>\n<td>folder_id <em>(Required)</em></td>\n<td>The unique ID associated with the folder is essential for future operations, such as retrieving a list of mail groups inside the folder, reading or updating folder information.  <br />The default folder has an ID of '0'.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n<li><p>The value of <code>group_name</code> cannot be empty.</p>\n</li>\n<li><p>The <code>group_name</code> is taken, please get something else.</p>\n</li>\n<li><p>The <code>group_name</code> only accepts alphabets, spaces, numbers, and special characters - _ () [] , .</p>\n</li>\n<li><p>The <code>group_name</code> is too long. It should have 250 characters or less.</p>\n</li>\n<li><p>The value of <code>folder_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>folder_id</code>.</p>\n</li>\n<li><p>The <code>folder_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","update"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"30b41b05-b06e-4049-ad1d-d24bcaee3375","name":"SUCCESS","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique ID associated with the mail group.\n    \"group_name\": \"Marketing EOFY Campaign Group\", //(Required) The unique name associated with the mail group.\n    \"is_test\": \"N\", //(Optional) Set 'Y' for a test mail group and 'N' for a mail group.\n    \"folder_id\": 508901 //(Required) The unique ID associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"group_id\": \"zzzzxx7593efr7120011\"\n}"},{"id":"f85b18fa-7c7f-422a-a621-79098b0c6fef","name":"ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique ID associated with the mail group.\n    \"group_name\": \"Marketing EOFY Campaign Group\", //(Required) The unique name associated with the mail group.\n    \"is_test\": \"N\", //(Optional) Set 'Y' for a test mail group and 'N' for a mail group.\n    \"folder_id\": 508901 //(Required) The unique ID associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/update"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"72e641fa-6d51-49fe-9b4f-64215dac2ae2"},{"name":"mailgroup/delete","id":"cf196fa5-648d-42cd-89a6-2243ed41bce7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/delete?group_id=<string>","description":"<p>This endpoint allows you to remove an existing mail group from your mail house. Deleting a mail group permanently removes it from the system, which helps you to maintain a clean and organised mail house by eliminating outdated or unnecessary mail groups. The contacts associated with the deleted mail group are still kept in the mail house. Deleting a mail group only deletes the mail group and not the contacts inside it. Please note that <code>204 No Content</code> is the API response code for successful deletion.</p>\n<p><strong>Warning:</strong> Deleting a mail group is irreversible and will permanently remove the mail group from the system. Use this function with caution to avoid unintended data loss.</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","delete"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"}],"variable":[]}},"response":[{"id":"52eb25b1-9110-47f8-8497-443f3e15c6f0","name":"SUCCESS","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/delete?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","delete"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"33c9e258-e807-4a77-9be9-c3de118d737f","name":"ERROR","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/delete?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","delete"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"cf196fa5-648d-42cd-89a6-2243ed41bce7"},{"name":"mailgroup/addmembers","id":"a7789e25-2d82-44f7-a03b-f1fc38185329","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"<string>\", //(Required) The unique ID associated with the mail group.\n    \"contact_ids\": [ //(Required) The unique ID associated with the contact.\n        \"<string>\",\n        \"<string>\",\n        \"<string>\",\n        \"<string>\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/addmembers","description":"<p>The API endpoint allows you to add one or multiple contacts to an existing mail group in the Swift Digital Suite platform. This feature is useful for efficiently managing your mailing lists, enabling you to bulk add contacts to a specific mail group for targeted email campaigns or communications. It ensures that all specified contacts are successfully subscribed to the selected mail group, helping to keep your lists accurate.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>contact_ids <em>(Required)</em></td>\n<td>The list of unique IDs associated with the contacts is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n<li><p>The value of <code>contact_ids</code> cannot be empty.</p>\n</li>\n</ul>\n<p>If the body contains contact_ids both members and not yet members of the group_id, only the not yet members of the group_id will be added. The API response will have a status code of 200 OK and an error message for contacts not added.</p>\n<ul>\n<li>The <code>contact_ids</code> are already members of the <code>group_id</code>.</li>\n</ul>\n<p>If the body contains both valid and invalid contact_ids, only the valid contact_ids will be added. The API response will have a status code of 200 OK and an error message for invalid contact_ids.</p>\n<ul>\n<li>The <code>contact_ids</code> contain invalid values. The <code>contact_ids</code> cannot be added to the <code>group_id</code>.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","addmembers"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"1e3a6bb7-436a-4835-96b9-4d27a1408f7c","name":"SUCCESS","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique ID associated with the mail group.\n    \"contact_ids\": [ //(Required) The unique ID associated with the contact.\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/addmembers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"members_added\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\"\n    ]\n}"},{"id":"a3b228d7-6eeb-4ec8-aa26-050322c3d5e1","name":"SUCCESS CONTACT_IDS WITH ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique ID associated with the mail group.\n    \"contact_ids\": [ //(Required) The unique ID associated with the contact.\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"\",\n        \"x1x1x1\",\n        \"zzzzxx7593efr7110014\",\n        \"zzzzxx7593efr7110015\",\n        \"zzzzxx7593efr7110016\",\n        \"zzzzxx7593efr7110017\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/addmembers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"members_added\": [\r\n        \"zzzzxx7593efr7110010\",\r\n        \"zzzzxx7593efr7110011\",\r\n        \"zzzzxx7593efr7110012\",\r\n        \"zzzzxx7593efr7110013\"\r\n    ],\r\n    \"errors\": {\r\n        \"messages\": [\r\n            {\r\n                \"contact_ids\": [\r\n                    \"zzzzxx7593efr7110014\",\r\n                    \"zzzzxx7593efr7110015\",\r\n                    \"zzzzxx7593efr7110016\"\r\n                ],\r\n                \"message\": \"The `contact_ids` are already members of the `group_id`.\"\r\n            },\r\n            {\r\n                \"message\": \"The `contact_ids` contain invalid values. The `contact_ids` cannot be added to the `group_id`.\",\r\n                \"contact_ids\": [\r\n                    \"zzzzxx7593efr7110017\",\r\n                    \"\",\r\n                    \"x1x1x1\"\r\n                ]\r\n            }\r\n        ]\r\n    }\r\n}"},{"id":"ae6c65f4-8a55-419f-bbb5-caa240c255d6","name":"ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique ID associated with the mail group.\n    \"contact_ids\": [ //(Required) The unique ID associated with the contact.\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/addmembers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"members_removed\": [],\r\n    \"errors\": {\r\n        \"messages\": {\r\n                \"message\": \"The `group_id` does not exist.\",\r\n                \"group_id\": \"zzzzxx7593efr7120011\"\r\n            }\r\n    }\r\n}"}],"_postman_id":"a7789e25-2d82-44f7-a03b-f1fc38185329"},{"name":"mailgroup/readmembers","id":"38d80f57-33b1-41ba-80d7-271842bed015","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/readmembers?group_id=<string>&next_data=<string>","description":"<p>This API endpoint allows you to retrieve a list of contacts associated with a specific mail group on the Swift Digital Suite platform. The mail group's unique identifier (group_id) is required, and the API response includes the list of unique identifiers associated with contacts (contact_ids).</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 contact_ids listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","readmembers"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"7ccfde9d-cfd4-40a3-817b-a47e0300ba38","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/readmembers?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","readmembers"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 4,\n    \"contact_ids\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\"\n    ]\n}"},{"id":"fbfc2323-7975-4949-ad23-c2f9abd44f27","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/readmembers?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","readmembers"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 24,\n    \"contact_ids\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"zzzzxx7593efr7110014\",\n        \"zzzzxx7593efr7110015\",\n        \"zzzzxx7593efr7110016\",\n        \"zzzzxx7593efr7110017\",\n        \"zzzzxx7593efr7110018\",\n        \"zzzzxx7593efr7110019\",\n        \"zzzzxx7593efr7110020\",\n        \"zzzzxx7593efr7110021\",\n        \"zzzzxx7593efr7110022\",\n        \"zzzzxx7593efr7110023\",\n        \"zzzzxx7593efr7110024\",\n        \"zzzzxx7593efr7110025\",\n        \"zzzzxx7593efr7110026\",\n        \"zzzzxx7593efr7110027\",\n        \"zzzzxx7593efr7110028\",\n        \"zzzzxx7593efr7110029\"\n    ]\n}"},{"id":"83a3a932-fcbb-4d71-ad0e-374707f894ec","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/readmembers?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","readmembers"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"38d80f57-33b1-41ba-80d7-271842bed015"},{"name":"mailgroup/readmembersdetails","id":"43d2d680-5e8f-41cd-9620-16b39b287a18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/readmembersdetails?group_id=<string>&next_data=<string>","description":"<p>This API endpoint allows you to retrieve a list of contacts associated with a specific mail group on the Swift Digital Suite platform. The mail group's unique identifier (group_id) is required, and the API response includes the list of contacts with their corresponding details, such as subscription details, standard and custom fields values.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 contact_ids listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","readmembersdetails"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"936f5800-c262-48f3-b140-49db6c6d3c02","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/readmembersdetails?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","readmembersdetails"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 2,\n    \"data\": [\n        {\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"create_stamp\": 1753876424,\n            \"update_stamp\": 1753876425,\n            \"bounce_stamp\": 1753876426,\n            \"unsubscribe_stamp\": 1753876427,\n            \"unsubscribe_stamp_sms\": 1753876428,\n            \"sys_stamp\": 1753876428,\n            \"fields\": {\n                \"TITLE\": \"Mr\",\n                \"FIRST_NAME\": \"John\",\n                \"LAST_NAME\": \"Doe\",\n                \"EMAIL\": \"john.doe@swiftdigital.com.au\",\n                \"MOBILE\": \"\",\n                \"COUNTRY\": \"AU\",\n                \"POSTCODE\": \"2000\",\n                \"COMPANY\": \"Swift Digital\",\n                \"POSITION\": \"Employee\"\n            }\n        },\n        {\n            \"contact_id\": \"zzzzxx7593efr7110011\",\n            \"create_stamp\": 1753876424,\n            \"update_stamp\": 1753876425,\n            \"bounce_stamp\": 1753876426,\n            \"unsubscribe_stamp\": 1753876427,\n            \"unsubscribe_stamp_sms\": 1753876428,\n            \"sys_stamp\": 1753876428,\n            \"fields\": {\n                \"TITLE\": \"Ms\",\n                \"FIRST_NAME\": \"Jane\",\n                \"LAST_NAME\": \"Doe\",\n                \"EMAIL\": \"jane.doe@swiftdigital.com.au\",\n                \"MOBILE\": \"\",\n                \"COUNTRY\": \"AU\",\n                \"POSTCODE\": \"2000\",\n                \"COMPANY\": \"Swift Digital\",\n                \"POSITION\": \"Employee\"\n            }\n        }\n    ]\n}"},{"id":"5df6028d-c254-470e-b05c-f25c8e79fdb3","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/readmembersdetails?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","readmembersdetails"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 22,\n    \"data\": [\n        {\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"create_stamp\": 1753876424,\n            \"update_stamp\": 1753876425,\n            \"bounce_stamp\": 1753876426,\n            \"unsubscribe_stamp\": 1753876427,\n            \"unsubscribe_stamp_sms\": 1753876428,\n            \"sys_stamp\": 1753876428,\n            \"fields\": {\n                \"TITLE\": \"Mr\",\n                \"FIRST_NAME\": \"John\",\n                \"LAST_NAME\": \"Doe\",\n                \"EMAIL\": \"john.doe@swiftdigital.com.au\",\n                \"MOBILE\": \"\",\n                \"COUNTRY\": \"AU\",\n                \"POSTCODE\": \"2000\",\n                \"COMPANY\": \"Swift Digital\",\n                \"POSITION\": \"Employee\"\n            }\n        },\n        {\n            \"contact_id\": \"zzzzxx7593efr7110011\",\n            \"create_stamp\": 1753876424,\n            \"update_stamp\": 1753876425,\n            \"bounce_stamp\": 1753876426,\n            \"unsubscribe_stamp\": 1753876427,\n            \"unsubscribe_stamp_sms\": 1753876428,\n            \"sys_stamp\": 1753876428,\n            \"fields\": {\n                \"TITLE\": \"Ms\",\n                \"FIRST_NAME\": \"Jane\",\n                \"LAST_NAME\": \"Doe\",\n                \"EMAIL\": \"jane.doe@swiftdigital.com.au\",\n                \"MOBILE\": \"\",\n                \"COUNTRY\": \"AU\",\n                \"POSTCODE\": \"2000\",\n                \"COMPANY\": \"Swift Digital\",\n                \"POSITION\": \"Employee\"\n            }\n        }\n    ]\n}"},{"id":"7110cb5b-e802-41b7-9248-31a9029dc3af","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/readmembersdetails?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","readmembersdetails"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"43d2d680-5e8f-41cd-9620-16b39b287a18"},{"name":"mailgroup/removemembers","id":"021091b1-c403-4caa-a844-40ac47977881","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"<string>\", //(Required) The unique ID associated with the mail group.\n    \"contact_ids\": [ //(Required) The unique ID associated with the contact.\n        \"<string>\",\n        \"<string>\",\n        \"<string>\",\n        \"<string>\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/removemembers","description":"<p>The API endpoint allows you to remove one or multiple contacts from an existing mail group in the Swift Digital Suite platform. This feature is useful for efficiently managing your mailing lists, enabling you to bulk remove contacts from a specific mail group for targeted email campaigns or communications. It helps to keep your contact lists clean and accurate.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>contact_ids <em>(Required)</em></td>\n<td>The list of unique IDs associated with the contacts is essential for future operations, such as reading or updating the contact's information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n<li><p>The value of <code>contact_ids</code> cannot be empty.</p>\n</li>\n</ul>\n<p>If the body contains contact_ids both members and not yet members of the group_id, only the members of the group_id will be removed. The API response will have a status code of 200 OK and an error message for contacts not removed.</p>\n<ul>\n<li>The <code>contact_ids</code> are not members of the <code>group_id</code>.</li>\n</ul>\n<p>If the body contains both valid and invalid contact_ids, only the valid contact_ids will be removed. The API response will have a status code of 200 OK and an error message for invalid contact_ids.</p>\n<ul>\n<li>The <code>contact_ids</code> contain invalid values. The <code>contact_ids</code> cannot be removed from the <code>group_id</code>.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","removemembers"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"fb915cb3-d0e3-46c8-86d9-384af1141fa6","name":"SUCCESS","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique ID associated with the mail group.\n    \"contact_ids\": [ //(Required) The unique ID associated with the contact.\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/removemembers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"members_removed\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\"\n    ]\n}"},{"id":"35b3d511-1afa-4ed9-9e94-ba33d4730237","name":"SUCCESS CONTACT_IDS WITH ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique ID associated with the mail group.\n    \"contact_ids\": [ //(Required) The unique ID associated with the contact.\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"\",\n        \"x1x1x1\",\n        \"zzzzxx7593efr7110014\",\n        \"zzzzxx7593efr7110015\",\n        \"zzzzxx7593efr7110016\",\n        \"zzzzxx7593efr7110017\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/removemembers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"members_removed\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\"\n    ],\n    \"errors\": {\n        \"messages\": [\n            {\n                \"contact_ids\": [\n                    \"zzzzxx7593efr7110014\",\n                    \"zzzzxx7593efr7110015\",\n                    \"zzzzxx7593efr7110016\"\n                ],\n                \"message\": \"The `contact_ids` are not members of the `group_id`.\"\n            },\n            {\n                \"message\": \"The `contact_ids` contain invalid values. The `contact_ids` cannot be removed from the `group_id`.\",\n                \"contact_ids\": [\n                    \"zzzzxx7593efr7110017\",\n                    \"\",\n                    \"x1x1x1\"\n                ]\n            }\n        ]\n    }\n}"},{"id":"38e3b85e-8d99-4dde-bfe1-567d28e9496d","name":"ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique ID associated with the mail group.\n    \"contact_ids\": [ //(Required) The unique ID associated with the contact.\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/removemembers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"members_removed\": [],\n    \"errors\": {\n        \"messages\": {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n    }\n}"}],"_postman_id":"021091b1-c403-4caa-a844-40ac47977881"},{"name":"mailgroup/listfolders","id":"b6d8f833-3388-473e-9ccf-e6fe3d86bb3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/listfolders?next_data=<string>","description":"<p>This API endpoint retrieves a list of all folders within your mail house on the Swift Digital Suite platform. This allows you to view and organise your folders in the mail house, helping to maintain a structured and efficient mail house environment for managing your mail groups and contact lists.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 folders listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","listfolders"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"47c47ce6-17f3-4f08-8183-0be944e5f499","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/listfolders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 3,\n    \"data\": [\n        {\n            \"folder_id\": 508901,\n            \"folder_name\": \"Marketing EOFY\",\n            \"created_on\": 1753876421,\n            \"no_of_group\": 22\n        },\n        {\n            \"folder_id\": 508902,\n            \"folder_name\": \"Email Deliverability News\",\n            \"created_on\": 1753876422,\n            \"no_of_group\": 1\n        },\n        {\n            \"folder_id\": 508903,\n            \"folder_name\": \"Latest Features and Improvements\",\n            \"created_on\": 1753876423,\n            \"no_of_group\": 5\n        }\n    ]\n}"},{"id":"ec4ead4f-1f9e-45f1-a5de-bf74aeea12bd","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/listfolders?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","listfolders"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 23,\n    \"data\": [\n        {\n            \"folder_id\": 508901,\n            \"folder_name\": \"Marketing EOFY\",\n            \"created_on\": 1753876421,\n            \"no_of_group\": 22\n        },\n        {\n            \"folder_id\": 508902,\n            \"folder_name\": \"Email Deliverability News\",\n            \"created_on\": 1753876422,\n            \"no_of_group\": 1\n        },\n        {\n            \"folder_id\": 508903,\n            \"folder_name\": \"Latest Features and Improvements\",\n            \"created_on\": 1753876423,\n            \"no_of_group\": 5\n        }\n    ]\n}"}],"_postman_id":"b6d8f833-3388-473e-9ccf-e6fe3d86bb3e"},{"name":"mailgroup/createfolder","id":"a7dae10d-53ed-4656-afd4-97164a0496c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"folder_name\": \"<string>\" //(Required) The unique name associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/createfolder","description":"<p>This API endpoint allows you to create new folders within the mail house for organising mail groups on the Swift Digital Suite platform. By creating folders, you can categorise and manage your mail groups more effectively, ensuring a well-structured environment for your contact lists and campaign management.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>folder_name <em>(Required)</em></td>\n<td>The unique name associated with the folder is essential for future operations such as reading or updating folder information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>folder_name</code> cannot be empty.</p>\n</li>\n<li><p>The <code>folder_name</code> is taken, please get something else.</p>\n</li>\n<li><p>The <code>folder_name</code> only accepts alphabets, spaces, numbers, and special characters - _ () [] , .</p>\n</li>\n<li><p>The <code>folder_name</code> is too long. It should have 250 characters or less.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","createfolder"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"788824af-7cdd-4c68-b789-4bedd39e4d1b","name":"SUCCESS","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"folder_name\": \"Marketing EOFY\" //(Required) The unique name associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/createfolder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"folder_id\": 508901\r\n}"},{"id":"a014be86-95bf-4e04-9f8d-cfab156d83c6","name":"ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"folder_name\": \"Marketing EOFY\" //(Required) The unique name associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/createfolder"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"messages\": {\r\n                \"message\": \"The `folder_name` is taken, please get something else.\",\r\n                \"folder_name\": \"Marketing EOFY\"\r\n            }\r\n    }\r\n}"}],"_postman_id":"a7dae10d-53ed-4656-afd4-97164a0496c6"},{"name":"mailgroup/readfolder","id":"0e300a71-3e96-4678-a5a5-fd9c6a5118e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/readfolder?folder_id=<integer>","description":"<p>This API endpoint allows you to retrieve detailed information about a specific folder within your mail house. This includes the folder name, folder location, and other relevant details. This functionality is useful for organising the mail groups inside your folder, ensuring it aligns with your campaign and segmentation strategies.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>folder_id <em>(Required)</em></td>\n<td>The unique ID associated with the folder is essential for future operations, such as retrieving a list of mail groups inside the folder, reading or updating folder information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>folder_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>folder_id</code>.</p>\n</li>\n<li><p>The <code>folder_id</code> does not exist.</p>\n</li>\n<li><p>There are no mail groups inside the <code>folder_id</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","readfolder"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the folder.</p>\n","type":"text/plain"},"key":"folder_id","value":"<integer>"}],"variable":[]}},"response":[{"id":"bc07a6cd-765e-445d-b123-db4a84a99e1d","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/readfolder?folder_id=508901","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","readfolder"],"query":[{"key":"folder_id","value":"508901","description":"(Required) The unique ID associated with the folder."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"folder_id\": 508901,\n    \"folder_name\": \"Marketing EOFY\",\n    \"total_groups\": 8,\n    \"group_ids\": [\n        \"zzzzxx7593efr7120011\",\n        \"zzzzxx7593efr7120012\",\n        \"zzzzxx7593efr7120013\",\n        \"zzzzxx7593efr7120014\",\n        \"zzzzxx7593efr7120015\",\n        \"zzzzxx7593efr7120016\",\n        \"zzzzxx7593efr7120017\",\n        \"zzzzxx7593efr7120018\"\n    ]\n}"},{"id":"f384c609-2975-4491-a55d-97e6113efbf2","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/readfolder?folder_id=508901","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","readfolder"],"query":[{"key":"folder_id","value":"508901","description":"(Required) The unique ID associated with the folder."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `folder_id` does not exist.\",\n                \"folder_id\": 508901\n            }\n        ]\n    }\n}"}],"_postman_id":"0e300a71-3e96-4678-a5a5-fd9c6a5118e7"},{"name":"mailgroup/updatefolder","id":"64b72094-daee-4856-96eb-4b08cb167a9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"folder_name\": \"<string>\", //(Required) The unique name associated with the folder.\n    \"folder_id\": \"<integer>\" //(Required) The unique ID associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/updatefolder","description":"<p>This API endpoint allows you to update existing folders within the mail house for organising mail groups on the Swift Digital Suite platform. By updating folders, you can categorise and manage your mail groups more effectively, ensuring a well-structured environment for your contact lists and campaign management.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>folder_name <em>(Required)</em></td>\n<td>The unique name associated with the folder is essential for future operations such as reading or updating folder information.</td>\n</tr>\n<tr>\n<td>folder_id <em>(Required)</em></td>\n<td>The unique ID associated with the folder is essential for future operations, such as retrieving a list of mail groups inside the folder, reading or updating folder information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>folder_name</code> cannot be empty.</p>\n</li>\n<li><p>The <code>folder_name</code> is taken, please get something else.</p>\n</li>\n<li><p>The <code>folder_name</code> only accepts alphabets, spaces, numbers, and special characters - _ () [] , .</p>\n</li>\n<li><p>The <code>folder_name</code> is too long. It should have 250 characters or less.</p>\n</li>\n<li><p>The <code>folder_name</code> cannot be updated.</p>\n</li>\n<li><p>The value of <code>folder_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>folder_id</code>.</p>\n</li>\n<li><p>The <code>folder_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","updatefolder"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"083a6125-dab8-4d59-b9ec-924dc4f4bc34","name":"SUCCESS","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"folder_name\": \"Marketing EOFY\", //(Required) The unique name associated with the folder.\n    \"folder_id\": 508901 //(Required) The unique ID associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/updatefolder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"folder_name\": \"Marketing EOFY\",\r\n    \"folder_id\": 508901\r\n}"},{"id":"bb144e35-b1bd-46d8-bd7c-09ca68518a9e","name":"ERROR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"folder_name\": \"Marketing EOFY\", //(Required) The unique name associated with the folder.\n    \"folder_id\": 508901 //(Required) The unique ID associated with the folder.\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailgroup/updatefolder"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"messages\": {\r\n                \"message\": \"The `folder_name` is taken, please get something else.\",\r\n                \"folder_id\": 508901,\r\n                \"folder_name\": \"Marketing EOFY\"\r\n            }\r\n    }\r\n}"}],"_postman_id":"64b72094-daee-4856-96eb-4b08cb167a9e"},{"name":"mailgroup/deletefolder","id":"93311e2d-e771-4c69-a22e-7fd866116981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/deletefolder?folder_id=<integer>","description":"<p>This endpoint API allows you to remove an existing folder from your mailhouse. Deleting a folder permanently removes it from your system, helping you to maintain a clean and organised mail house by eliminating outdated or unnecessary folders. Only folders without any mail groups inside are allowed to be deleted. Please note that <code>204 No Content</code> is the API response code for successful deletion.</p>\n<p><strong>Warning:</strong> Deleting a folder is irreversible and will permanently remove the folder from the system. Use this function with caution to avoid unintended data loss.</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>folder_id <em>(Required)</em></td>\n<td>The unique ID associated with the folder is essential for future operations, such as retrieving a list of mail groups inside the folder, reading or updating folder information.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>folder_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>folder_id</code>.</p>\n</li>\n<li><p>The <code>folder_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","deletefolder"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the folder.</p>\n","type":"text/plain"},"key":"folder_id","value":"<integer>"}],"variable":[]}},"response":[{"id":"ab56e675-2bcc-4800-8572-547d51281a79","name":"SUCCESS","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/deletefolder?folder_id=508901","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","deletefolder"],"query":[{"key":"folder_id","value":"508901","description":"(Required) The unique ID associated with the folder."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"bef06acc-7697-4707-a681-10444e1b53ae","name":"ERROR","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/deletefolder?folder_id=508901","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","deletefolder"],"query":[{"key":"folder_id","value":"508901","description":"(Required) The unique ID associated with the folder."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"errors\": {\r\n        \"messages\": [\r\n            {\r\n                \"message\": \"The `folder_id` does not exist.\",\r\n                \"folder_id\": 508901\r\n            }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"93311e2d-e771-4c69-a22e-7fd866116981"},{"name":"mailgroup/unsubscribers","id":"d05cd81f-4398-46e5-8f60-4bc48dc4696a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/unsubscribers?group_id=<string>&next_data=<string>","description":"<p>This API endpoint allows you to retrieve a list of contacts who have unsubscribed from email on your account in the Swift Digital Suite platform. This includes a list of contacts' unique identifier (contact_id).</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 contact_ids listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","unsubscribers"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"7f90593a-0b80-4adb-bce0-7132c91ba959","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/unsubscribers?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","unsubscribers"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 6,\n    \"contact_ids\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"zzzzxx7593efr7110014\",\n        \"zzzzxx7593efr7110015\"\n    ]\n}"},{"id":"5103cfd6-f90e-47b1-97bc-2d093403d102","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/unsubscribers?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","unsubscribers"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 23,\n    \"contact_ids\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"zzzzxx7593efr7110014\",\n        \"zzzzxx7593efr7110015\",\n        \"zzzzxx7593efr7110016\",\n        \"zzzzxx7593efr7110017\",\n        \"zzzzxx7593efr7110018\",\n        \"zzzzxx7593efr7110019\",\n        \"zzzzxx7593efr7110020\",\n        \"zzzzxx7593efr7110021\",\n        \"zzzzxx7593efr7110022\",\n        \"zzzzxx7593efr7110023\",\n        \"zzzzxx7593efr7110024\",\n        \"zzzzxx7593efr7110025\",\n        \"zzzzxx7593efr7110026\",\n        \"zzzzxx7593efr7110027\",\n        \"zzzzxx7593efr7110028\",\n        \"zzzzxx7593efr7110029\"\n    ]\n}"},{"id":"ca8a9ddd-cd01-4b91-ba5d-c84dfba9f92c","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/unsubscribers?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","unsubscribers"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"d05cd81f-4398-46e5-8f60-4bc48dc4696a"},{"name":"mailgroup/unsubscriberssms","id":"a947a035-3ae9-4038-913c-aac52b927c28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/unsubscriberssms?group_id=<string>&next_data=<string>","description":"<p>This API endpoint allows you to retrieve a list of contacts who have unsubscribed from SMS on your account in the Swift Digital Suite platform. This includes a list of contacts' unique identifier (contact_id).</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 contact_ids listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","unsubscriberssms"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"03298987-6774-4c6c-b42a-b0a84d770f89","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/unsubscriberssms?group_id=zzzzxx7593efr7120011","protocol":"https","host":["v3","api","swiftdigital","com","au"],"path":["request","mailgroup","unsubscriberssms"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 6,\n    \"contact_ids\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"zzzzxx7593efr7110014\",\n        \"zzzzxx7593efr7110015\"\n    ]\n}"},{"id":"3d31d58f-868e-4f64-b965-55dc76047020","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/unsubscriberssms?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","unsubscriberssms"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 23,\n    \"contact_ids\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"zzzzxx7593efr7110014\",\n        \"zzzzxx7593efr7110015\",\n        \"zzzzxx7593efr7110016\",\n        \"zzzzxx7593efr7110017\",\n        \"zzzzxx7593efr7110018\",\n        \"zzzzxx7593efr7110019\",\n        \"zzzzxx7593efr7110020\",\n        \"zzzzxx7593efr7110021\",\n        \"zzzzxx7593efr7110022\",\n        \"zzzzxx7593efr7110023\",\n        \"zzzzxx7593efr7110024\",\n        \"zzzzxx7593efr7110025\",\n        \"zzzzxx7593efr7110026\",\n        \"zzzzxx7593efr7110027\",\n        \"zzzzxx7593efr7110028\",\n        \"zzzzxx7593efr7110029\"\n    ]\n}"},{"id":"c3e6c507-693d-401b-bfb5-ad4b4f5fb67a","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/unsubscriberssms?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","unsubscriberssms"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"a947a035-3ae9-4038-913c-aac52b927c28"},{"name":"mailgroup/bounces","id":"f23e1849-ae9d-46aa-b359-90962ebc9077","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/bounces?group_id=<string>&next_data=<string>","description":"<p>This endpoint in SwiftDigital allows you to retrieve a list of contacts whos email is bounced in your account. This includes list of contact IDs.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 contact_ids listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","bounces"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"9f8897f0-bd44-48f6-8d2f-4d02746a4ecb","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/bounces?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","bounces"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 3,\n    \"contact_ids\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\"\n    ]\n}"},{"id":"6a37e997-9f36-4efb-abea-3d7513223f47","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/bounces?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","bounces"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 26,\n    \"contact_ids\": [\n        \"zzzzxx7593efr7110010\",\n        \"zzzzxx7593efr7110011\",\n        \"zzzzxx7593efr7110012\",\n        \"zzzzxx7593efr7110013\",\n        \"zzzzxx7593efr7110014\",\n        \"zzzzxx7593efr7110015\",\n        \"zzzzxx7593efr7110016\",\n        \"zzzzxx7593efr7110017\",\n        \"zzzzxx7593efr7110018\",\n        \"zzzzxx7593efr7110019\",\n        \"zzzzxx7593efr7110020\",\n        \"zzzzxx7593efr7110021\",\n        \"zzzzxx7593efr7110022\",\n        \"zzzzxx7593efr7110023\",\n        \"zzzzxx7593efr7110024\",\n        \"zzzzxx7593efr7110025\",\n        \"zzzzxx7593efr7110026\",\n        \"zzzzxx7593efr7110027\",\n        \"zzzzxx7593efr7110028\",\n        \"zzzzxx7593efr7110029\"\n    ]\n}"},{"id":"624576a9-30af-432e-a77e-2d876ee72827","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailgroup/bounces?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailgroup","bounces"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"f23e1849-ae9d-46aa-b359-90962ebc9077"},{"name":"mailgroup/fieldlog","id":"64abfa4e-d448-47e9-9e12-66153d69b9ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/fieldlog?group_id=<string>&from_date=<integer>&to_date=<integer>&order_by=<string>&next_data=<string>","description":"<p>This API endpoint returns whether the contact inside the mail group has been created, modified, or deleted within a given date and time range. Use this function to check if there have been any changes to the mail group contact's first name, last name, bounce status, unsubscribe status, or any other standard or custom field during a specified period of time.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>from_date <em>(Optional)</em></td>\n<td>The date when the log starts. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>to_date <em>(Optional)</em></td>\n<td>The date when the log ends. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>order_by <em>(Optional)</em></td>\n<td>ASC, DESC (Default ASC)</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 data logs listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n<li><p>This value should be of epoch unix timestamp.</p>\n</li>\n<li><p>The value of <code>order_by</code> should be either <code>asc</code> or <code>desc</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","fieldlog"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"},{"description":{"content":"<p>(Optional) The date when the log starts. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"from_date","value":"<integer>"},{"description":{"content":"<p>(Optional) The date when the log ends. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"to_date","value":"<integer>"},{"description":{"content":"<p>(Optional) ASC, DESC (Default ASC)</p>\n","type":"text/plain"},"key":"order_by","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"9b224b05-7adf-4e3a-9270-86a0543a5ea5","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/fieldlog?group_id=zzzzxx7593efr7120011&from_date=1735700971&to_date=1764558571&order_by=ASC","protocol":"https","host":["v3","api","swiftdigital","com","au"],"path":["request","mailhouse","mailgroup","fieldlog"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."},{"key":"from_date","value":"1735700971","description":"(Optional) The date when the log starts. This is in epoch unix timestamp."},{"key":"to_date","value":"1764558571","description":"(Optional) The date when the log ends. This is in epoch unix timestamp."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"has_more\": false,\n  \"next_data\": false,\n  \"total\": 3,\n  \"data\": [\n\t{\n\t\t\"id\": 1186511001,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"field_type\": \"standard\",\n\t\t\"action\": \"update\",\n\t\t\"sys_stamp\": 1753876421\n\t},\n\t{\n\t\t\"id\": 1186511002,\n\t\t\"contact_id\": \"zzzzxx7593efr7110011\",\n\t\t\"field_type\": \"other\",\n\t\t\"action\": \"update\",\n\t\t\"sys_stamp\": 1753876422\n\t},\n    {\n\t\t\"id\": 1186511003,\n\t\t\"contact_id\": \"zzzzxx7593efr7110012\",\n\t\t\"field_type\": \"custom\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876423\n\t}\n  ]\n}"},{"id":"0c6f7b51-33ad-4be1-bec9-8aeeb55a42e0","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/fieldlog?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","mailgroup","fieldlog"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 23,\n    \"data\": [\n        {\n            \"id\": 1186511001,\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"field_type\": \"standard\",\n            \"action\": \"update\",\n            \"sys_stamp\": 1753876421\n        },\n        {\n            \"id\": 1186511002,\n            \"contact_id\": \"zzzzxx7593efr7110011\",\n            \"field_type\": \"other\",\n            \"action\": \"update\",\n            \"sys_stamp\": 1753876422\n        },\n        {\n            \"id\": 1186511003,\n            \"contact_id\": \"zzzzxx7593efr7110012\",\n            \"field_type\": \"custom\",\n            \"action\": \"add\",\n            \"sys_stamp\": 1753876423\n        }\n    ]\n}"},{"id":"ae3f6e0e-efd6-4de0-a6cb-7f636525ba94","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/fieldlog?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","mailgroup","fieldlog"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"64abfa4e-d448-47e9-9e12-66153d69b9ba"},{"name":"mailgroup/activitylog","id":"aad31167-4a6a-4f69-8c38-0d1b1635a719","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/activitylog?group_id=<string>&from_date=<integer>&to_date=<integer>&order_by=<string>&next_data=<string>","description":"<p>This API endpoint retrieves the Profile 360 log for the contacts inside the mail group, providing a view of their activities within the Swift Digital Suite platform. The data returned includes interactions, campaign history, and other relevant activities associated with the contacts inside the mail group.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>from_date <em>(Optional)</em></td>\n<td>The date when the log starts. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>to_date <em>(Optional)</em></td>\n<td>The date when the log ends. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>order_by <em>(Optional)</em></td>\n<td>ASC, DESC (Default ASC)</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 data logs listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n<li><p>This value should be of epoch unix timestamp.</p>\n</li>\n<li><p>The value of <code>order_by</code> should be either <code>asc</code> or <code>desc</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","activitylog"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"},{"description":{"content":"<p>(Optional) The date when the log starts. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"from_date","value":"<integer>"},{"description":{"content":"<p>(Optional) The date when the log ends. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"to_date","value":"<integer>"},{"description":{"content":"<p>(Optional) ASC, DESC (Default ASC)</p>\n","type":"text/plain"},"key":"order_by","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"b5a3d260-0253-48b9-a437-0ef4aad7e0b0","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/activitylog?group_id=zzzzxx7593efr7120011&from_date=1735700971&to_date=1764558571&order_by=ASC","protocol":"https","host":["v3","api","swiftdigital","com","au"],"path":["request","mailhouse","mailgroup","activitylog"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."},{"key":"from_date","value":"1735700971","description":"(Optional) The date when the log starts. This is in epoch unix timestamp."},{"key":"to_date","value":"1764558571","description":"(Optional) The date when the log ends. This is in epoch unix timestamp."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 5,\n    \"data\": [\n        {\n            \"activity_id\": \"zzzzxx7593efx7130011\",\n            \"scope\": \"OS\",\n            \"scope_id\": \"zzzzxx7593efy7130011\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document sent - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511001,\n            \"sys_stamp\": 175387641\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130012\",\n            \"scope\": \"OO\",\n            \"scope_id\": \"zzzzxx7593efy7130012\",\n            \"contact_id\": \"zzzzxx7593efr7110011\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document opened - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511002,\n            \"sys_stamp\": 1753876422\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130013\",\n            \"scope\": \"OC\",\n            \"scope_id\": \"zzzzxx7593efy7130013\",\n            \"contact_id\": \"zzzzxx7593efr7110013\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document clicked - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511003,\n            \"sys_stamp\": 1753876423\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130014\",\n            \"scope\": \"US\",\n            \"scope_id\": \"zzzzxx7593efy7130014\",\n            \"contact_id\": \"zzzzxx7593efr7110014\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511004,\n            \"sys_stamp\": 1753876424\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130015\",\n            \"scope\": \"MU\",\n            \"scope_id\": \"zzzzxx7593efy7130015\",\n            \"contact_id\": \"zzzzxx7593efr7110015\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"SMS unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511005,\n            \"sys_stamp\": 1753876425\n        }\n    ]\n}"},{"id":"df404fae-f306-4262-927c-71a93114a5c6","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/activitylog?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","mailgroup","activitylog"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 25,\n    \"data\": [\n        {\n            \"activity_id\": \"zzzzxx7593efx7130011\",\n            \"scope\": \"OS\",\n            \"scope_id\": \"zzzzxx7593efy7130011\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document sent - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511001,\n            \"sys_stamp\": 175387641\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130012\",\n            \"scope\": \"OO\",\n            \"scope_id\": \"zzzzxx7593efy7130012\",\n            \"contact_id\": \"zzzzxx7593efr7110011\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document opened - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511002,\n            \"sys_stamp\": 1753876422\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130013\",\n            \"scope\": \"OC\",\n            \"scope_id\": \"zzzzxx7593efy7130013\",\n            \"contact_id\": \"zzzzxx7593efr7110010\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Composer document clicked - Marketing Promotion EOFY\",\n            \"activity_stamp\": 1186511003,\n            \"sys_stamp\": 1753876423\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130014\",\n            \"scope\": \"US\",\n            \"scope_id\": \"zzzzxx7593efy7130014\",\n            \"contact_id\": \"zzzzxx7593efr7110014\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"Unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511004,\n            \"sys_stamp\": 1753876424\n        },\n        {\n            \"activity_id\": \"zzzzxx7593efx7130015\",\n            \"scope\": \"MU\",\n            \"scope_id\": \"zzzzxx7593efy7130015\",\n            \"contact_id\": \"zzzzxx7593efr7110015\",\n            \"link_id\": \"\",\n            \"url\": \"\",\n            \"description\": \"SMS unsubscribed - by John Doe\",\n            \"activity_stamp\": 1186511005,\n            \"sys_stamp\": 1753876425\n        }\n    ]\n}"},{"id":"76dc3dc6-8316-40be-9446-772ddc8c5ba0","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/activitylog?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","mailgroup","activitylog"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"aad31167-4a6a-4f69-8c38-0d1b1635a719"},{"name":"mailgroup/membershiplog","id":"4a3d7de8-1485-4b5c-81e5-64de9e2fde9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/membershiplog?group_id=<string>&from_date=<integer>&to_date=<integer>&order_by=<string>&next_data=<string>","description":"<p>This API endpoint returns the membership activities for the contacts inside the mail group within a specified date and time range. It logs actions such as adding or removing the contact from the mail group, along with details like the action performed, contact_ID, and group_ID. Use this function to track subscription changes or update your mail group effectively.</p>\n<p><strong>Note:</strong> When doing a pagination request on the API, only the next_data is required.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>from_date <em>(Optional)</em></td>\n<td>The date when the log starts. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>to_date <em>(Optional)</em></td>\n<td>The date when the log ends. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>order_by <em>(Optional)</em></td>\n<td>ASC, DESC (Default ASC)</td>\n</tr>\n<tr>\n<td>next_data <em>(Optional)</em></td>\n<td>This optional parameter allows you to retrieve the next batch of data from your previous API call.  <br />There are 2000 data logs listed per batch of data.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n<li><p>This value should be of epoch unix timestamp.</p>\n</li>\n<li><p>The value of <code>order_by</code> should be either <code>asc</code> or <code>desc</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","mailgroup","membershiplog"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Required) The unique ID associated with the mail group.</p>\n","type":"text/plain"},"key":"group_id","value":"<string>"},{"description":{"content":"<p>(Optional) The date when the log starts. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"from_date","value":"<integer>"},{"description":{"content":"<p>(Optional) To date, when the log ends. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"to_date","value":"<integer>"},{"description":{"content":"<p>(Optional) ASC, DESC (Default ASC)</p>\n","type":"text/plain"},"key":"order_by","value":"<string>"},{"description":{"content":"<p>(Optional) Allows you to retrieve the next batch of data from your previous API call.</p>\n","type":"text/plain"},"key":"next_data","value":"<string>"}],"variable":[]}},"response":[{"id":"e7453747-13fc-47f9-95bb-05580b378e9d","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/membershiplog?group_id=zzzzxx7593efr7120011&from_date=1735700971&to_date=1764558571&order_by=ASC","protocol":"https","host":["v3","api","swiftdigital","com","au"],"path":["request","mailhouse","mailgroup","membershiplog"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."},{"key":"from_date","value":"1735700971","description":"(Optional) The date when the log starts. This is in epoch unix timestamp."},{"key":"to_date","value":"1764558571","description":"(Optional) The date when the log ends. This is in epoch unix timestamp."},{"key":"order_by","value":"ASC","description":"(Optional) ASC, DESC (Default ASC)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": false,\n    \"next_data\": false,\n    \"total\": 4,\n    \"data\": [\n\t{\n\t\t\"id\": 1186511001,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876421\n\t},\n\t{\n\t\t\"id\": 1186511002,\n\t\t\"contact_id\": \"zzzzxx7593efr7110011\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876422\n\t},\n\t{\n\t\t\"id\": 1186511003,\n\t\t\"contact_id\": \"zzzzxx7593efr7110012\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"remove\",\n\t\t\"sys_stamp\": 1753876423\n\t},\n\t{\n\t\t\"id\": 1186511004,\n\t\t\"contact_id\": \"zzzzxx7593efr7110013\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876424\n\t}\n  ]\n}"},{"id":"1bcecca7-c6f6-4c53-a832-68e9f2afbd6e","name":"SUCCESS NEXT_DATA","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/membershiplog?next_data=mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","mailgroup","membershiplog"],"query":[{"key":"next_data","value":"mdZE7niuydf897345jnsdf09870982390sdsd87987sdf87dsf987jhsd987uyhjnjseyhr928o347yhinujsfdi2ert8798734hbdf87yuhndg98734undf897uj45ndf9087uj43","description":"(Optional) Allows you to retrieve the next batch of data from your previous API call."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_more\": true,\n    \"next_data\": \"fgdkiujh4509ujndfg098i45nmsd098imw098iumewr90_890734u5nsduhbn_34897yuhn_23897sdnujlfg90m4_rd-34-df8n_-897nsdf_ewoup8ikwmer\",\n    \"total\": 34,\n    \"data\": [\n\t{\n\t\t\"id\": 1186511001,\n\t\t\"contact_id\": \"zzzzxx7593efr7110010\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876421\n\t},\n\t{\n\t\t\"id\": 1186511002,\n\t\t\"contact_id\": \"zzzzxx7593efr7110011\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876422\n\t},\n\t{\n\t\t\"id\": 1186511003,\n\t\t\"contact_id\": \"zzzzxx7593efr7110012\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"remove\",\n\t\t\"sys_stamp\": 1753876423\n\t},\n\t{\n\t\t\"id\": 1186511004,\n\t\t\"contact_id\": \"zzzzxx7593efr7110013\",\n\t\t\"group_id\": \"zzzzxx7593efr7120011\",\n\t\t\"action\": \"add\",\n\t\t\"sys_stamp\": 1753876424\n\t}\n  ]\n}"},{"id":"18d91791-607b-49b1-88d7-0151adb83f7a","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/mailhouse/mailgroup/membershiplog?group_id=zzzzxx7593efr7120011","host":["https://v3.api.swiftdigital.com.au"],"path":["request","mailhouse","mailgroup","membershiplog"],"query":[{"key":"group_id","value":"zzzzxx7593efr7120011","description":"(Required) The unique ID associated with the mail group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"messages\": [\n            {\n                \"message\": \"The `group_id` does not exist.\",\n                \"group_id\": \"zzzzxx7593efr7120011\"\n            }\n        ]\n    }\n}"}],"_postman_id":"4a3d7de8-1485-4b5c-81e5-64de9e2fde9b"}],"id":"75fbbdf3-155d-410a-9448-4e8a408bd908","description":"<h3 id=\"mail-group-overview\">Mail Group Overview</h3>\n<p>A <strong>mail group</strong> in the Swift Digital Suite platform is a collection of contacts grouped based on specific criteria for targeted communication, such as email campaigns. Mail groups enable users to organise contacts into specific segments, making it easier to send tailored messages to the right audience. By grouping contacts with similar characteristics or behaviours, the mail groups ensure that communication is relevant, increasing engagement and the effectiveness of marketing efforts.</p>\n<h3 id=\"key-features-of-mail-group\">Key Features of Mail Group</h3>\n<ul>\n<li><p><strong>Automation:</strong> Automate the process of organising contacts and sending emails, reducing manual work and increasing efficiency.</p>\n</li>\n<li><p><strong>Personalisation:</strong> Tailor your communication to specific groups of contacts, improving relevance and engagement.</p>\n</li>\n<li><p><strong>Scalability:</strong> Easily manage large volumes of contacts and campaigns through API-driven processes, scaling your marketing efforts without additional manual labour.</p>\n</li>\n<li><p><strong>Flexibility:</strong> The API allows for dynamic and real-time updates to Mailgroups, ensuring that your communication strategies can adapt quickly to changing circumstances.</p>\n</li>\n</ul>\n<h3 id=\"mail-group-use-cases\">Mail Group Use Cases</h3>\n<p>The API endpoints for mail groups provide robust functionality for interacting with mail groups, allowing developers to automate and manage communication workflows programmatically. Here are some key ways in which mail groups can be used:</p>\n<ol>\n<li><p><strong>Creating a Mail Group:</strong> You can create a new mail group by specifying its name for membership. This allows for dynamic segmentation of contacts based on custom rules, such as subscription status, demographic data, or engagement history. For example, an API call could create a mail group for all contacts who signed up for a webinar, ensuring they receive follow-up emails.</p>\n</li>\n<li><p><strong>Adding Contacts to a Mail Group:</strong> The API allows you to add individual contacts or multiple contacts to an existing mail group. This can be done manually or automatically based on actions or attributes, such as form submissions or purchase history. For example, when a new contact signs up on your form, the API can automatically add them to the \"New Subscribers\" mail group, ensuring they receive welcome emails.</p>\n</li>\n<li><p><strong>Removing Contacts from a Mail Group:</strong> You can also remove contacts from a mail group using the API. This is useful for keeping your mail groups up-to-date and ensuring that contacts are only in the relevant mail groups. For example, if a contact opts out of a newsletter, the API can automatically remove them from the \"Newsletter Subscribers\" Mailgroup.</p>\n</li>\n<li><p><strong>Managing Mail Group Membership:</strong> The API provides tools for managing mail group memberships, including listing contacts within a mail group, checking if a contact is part of a mail group, and more. For example, an API call could return a list of all contacts in a \"Loyalty Program\" mail group, allowing you to analyse engagement levels and plan future campaigns.</p>\n</li>\n</ol>\n<p>In summary, the Swift Digital Suite mailgroup features, when integrated with the API, provide powerful tools for targeted, automated, and efficient communication management.</p>\n","_postman_id":"75fbbdf3-155d-410a-9448-4e8a408bd908","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}},{"name":"Import","item":[{"name":"mailhouse/import/csv","id":"3b02a528-40bd-4297-b683-192a07d4e52a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"group_id\": \"<string>\", //(Required) The unique name associated with the mail group.\r\n    \"file_content\": \"<string>\", //(Required) The converted CSV file to BASE 64.\r\n    \"import_bounced\": \"<string>\", //(Optional) Set Y to allow bounced contacts and N to not import bounced contacts.\r\n    \"blank_overwrite_data\": \"<string>\", //(Optional) Set Y to overwrite existing data with blank and N to not overwrite.\r\n    \"mappings\": [ //(Required) The standard and custom fields where the columns in file content are mapped to.\r\n        \"first_name\",\r\n        \"last_name\",\r\n        \"email\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/import/csv","description":"<p>This API endpoint allows you to bulk import contacts into nominated mail groups on the Swift Digital Suite platform by uploading a CSV file. This is designed for high-volume imports such as subscriber lists, migrated contact data, or updating existing records.</p>\n<p><strong>Note:</strong> The import only accepts BASE 64 format.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>file_content <em>(Required)</em></td>\n<td>The import file needs to be converted to BASE 64. The field only accepts BASE 64 format.</td>\n</tr>\n<tr>\n<td>import_bounced <em>(Optional)</em></td>\n<td>Set 'Y' to import previously bounced contacts and 'N' to not import bounced contacts.  <br />Leaving the field empty will be replaced by the default value, which is set at 'N'.</td>\n</tr>\n<tr>\n<td>blank_overwrite_data <em>(Optional)</em></td>\n<td>Set 'Y' to overwrite existing data with blank fields and 'N' to not overwrite existing data with blank fields.  <br />Leaving the field empty will be replaced by the default value, which is set at 'N'.</td>\n</tr>\n<tr>\n<td>mappings <em>(Required)</em></td>\n<td>The standard and custom fields where the columns in the file content are mapped to.  <br />For custom fields, use the merge field from Swift Digital Suite, which is usually in capital letters and separated by underscores (e.g., POSTCODE, DATE_OF_BIRTH).  <br /><strong>WARNING:</strong> The <strong>'email'</strong> field is a required field for marketing or transactional accounts. And the required fields for transactional accounts with an external ID are '<strong>email</strong>' and '<strong>external_id</strong>'.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n<li><p>The value of <code>file_content</code> cannot be empty.</p>\n</li>\n<li><p>The value of <code>mappings</code> cannot be empty.</p>\n</li>\n<li><p>Unable to import. Please provide either an <code>email</code>, <code>mobile</code> , or <code>PUID</code>.</p>\n</li>\n<li><p>The value of <code>external_id</code> cannot be empty.</p>\n</li>\n<li><p>The mapping item <code>'field'</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","import","csv"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"bf76f5b0-9604-4b27-8301-318a42578cc6","name":"SUCCESS","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique name associated with the mail group.\r\n    \"file_content\": \"Rmlydsg987dfgunjkdfgo09u8jomkl987dfgkuy894WdpdGFsYUBnbWFpbC5jb987ufghjknm876872fnfhg9iuojklnm fgh90ujio45lmk_o=\", //(Required) The converted CSV file to BASE 64.\r\n    \"import_bounced\": \"Y\", //(Optional) Set Y to allow bounced contacts and N to not import bounced contacts.\r\n    \"blank_overwrite_data\": \"N\", //(Optional) Set Y to overwrite existing data with blank and N to not overwrite.\r\n    \"mappings\": [ //(Required) The standard and custom fields where the columns in file content are mapped to.\r\n        \"first_name\",\r\n        \"last_name\",\r\n        \"email\",\r\n        \"POSTCODE\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/import/csv"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"import_id\": \"zzzzxx7593xyu1340011\"\n}"},{"id":"cd542e65-8ab7-4e0a-90c1-061096f68a95","name":"ERROR","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"group_id\": \"\", //(Required) The unique name associated with the mail group.\r\n    \"file_content\": \"Rmlydsg987dfgunjkdfgo09u8jomkl987dfgkuy894WdpdGFsYUBnbWFpbC5jb987ufghjknm876872fnfhg9iuojklnm fgh90ujio45lmk_o=\", //(Required) The converted CSV file to BASE 64.\r\n    \"import_bounced\": \"Y\", //(Optional) Set Y to allow bounced contacts and N to not import bounced contacts.\r\n    \"blank_overwrite_data\": \"N\", //(Optional) Set Y to overwrite existing data with blank and N to not overwrite.\r\n    \"mappings\": [ //(Required) The standard and custom fields where the columns in file content are mapped to.\r\n        \"first_name\",\r\n        \"last_name\",\r\n        \"email\",\r\n        \"POSTCODE\",\r\n        \"DATE_OF_BIRTHS\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/import/csv"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"group_id\": [\n            \"The value of `group_id` cannot be empty.\"\n        ],\n        \"mappings\": {\n            \"DATE_OF_BIRTHS\": [\n                \"The mapping item `DATE_OF_BIRTHS` does not exist.\"\n            ]\n        }\n    }\n}"}],"_postman_id":"3b02a528-40bd-4297-b683-192a07d4e52a"},{"name":"mailhouse/import/zip","id":"1168bea1-2abd-486b-aa33-a72d762d571f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"group_id\": \"<string>\", //(Required) The unique name associated with the mail group.\r\n    \"file_content\": \"<string>\", //(Required) The converted CSV file to BASE 64.\r\n    \"import_bounced\": \"<string>\", //(Optional) Set Y to allow bounced contacts and N to not import bounced contacts.\r\n    \"blank_overwrite_data\": \"<string>\", //(Optional) Set Y to overwrite existing data with blank and N to not overwrite.\r\n    \"mappings\": [ //(Required) The standard and custom fields where the columns in file content are mapped to.\r\n        \"first_name\",\r\n        \"last_name\",\r\n        \"email\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/import/zip","description":"<p>This API endpoint allows you to bulk import contacts into nominated mail groups on the Swift Digital Suite platform by uploading a ZIP file. This is designed for high-volume imports such as subscriber lists, migrated contact data, or updating existing records.</p>\n<p><strong>Note:</strong> The import only accepts BASE 64 format.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>file_content <em>(Required)</em></td>\n<td>The import file needs to be converted to BASE 64. The field only accepts BASE 64 format.</td>\n</tr>\n<tr>\n<td>import_bounced <em>(Optional)</em></td>\n<td>Set 'Y' to import previously bounced contacts and 'N' to not import bounced contacts.  <br />Leaving the field empty will be replaced by the default value, which is set at 'N'.</td>\n</tr>\n<tr>\n<td>blank_overwrite_data <em>(Optional)</em></td>\n<td>Set 'Y' to overwrite existing data with blank fields and 'N' to not overwrite existing data with blank fields.  <br />Leaving the field empty will be replaced by the default value, which is set at 'N'.</td>\n</tr>\n<tr>\n<td>mappings <em>(Required)</em></td>\n<td>Choose from standard or custom fields. For custom fields, use the merge field from Swift Digital Suite, which is usually in capital letters and separated by underscores (e.g., POSTCODE, DATE_OF_BIRTH).  <br /><strong>WARNING:</strong> The <strong>'email'</strong> field is a required field for marketing or transactional accounts. And the required fields for transactional accounts with an external ID are '<strong>email</strong>' and '<strong>external_id</strong>'.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>group_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>group_id</code>.</p>\n</li>\n<li><p>The <code>group_id</code> does not exist.</p>\n</li>\n<li><p>The value of <code>file_content</code> cannot be empty.</p>\n</li>\n<li><p>The value of <code>mappings</code> cannot be empty.</p>\n</li>\n<li><p>Unable to import. Please provide either an <code>email</code>, <code>mobile</code> , or <code>PUID</code>.</p>\n</li>\n<li><p>The value of <code>external_id</code> cannot be empty.</p>\n</li>\n<li><p>The mapping item <code>'field'</code> does not exist.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","import","zip"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"4e8d1227-28b5-44f8-8cad-1290e7ac178f","name":"SUCCESS","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"group_id\": \"zzzzxx7593efr7120011\", //(Required) The unique name associated with the mail group.\r\n    \"file_content\": \"Rmlydsg987dfgunjkdfgo09u8jomkl987dfgkuy894WdpdGFsYUBnbWFpbC5jb987ufghjknm876872fnfhg9iuojklnm fgh90ujio45lmk_o=\", //(Required) The converted ZIP file to BASE 64.\r\n    \"import_bounced\": \"Y\", //(Optional) Set Y to allow bounced contacts and N to not import bounced contacts.\r\n    \"blank_overwrite_data\": \"N\", //(Optional) Set Y to overwrite existing data with blank and N to not overwrite.\r\n    \"mappings\": [ //(Required) The standard and custom fields where the columns in file content are mapped to.\r\n        \"first_name\",\r\n        \"last_name\",\r\n        \"email\",\r\n        \"POSTCODE\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/import/zip"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"import_id\": \"zzzzxx7593xyu1340012\"\n}"},{"id":"bc4f02e6-34e7-4589-8c2e-0844fad5d944","name":"ERROR","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"group_id\": \"\", //(Required) The unique name associated with the mail group.\r\n    \"file_content\": \"Rmlydsg987dfgunjkdfgo09u8jomkl987dfgkuy894WdpdGFsYUBnbWFpbC5jb987ufghjknm876872fnfhg9iuojklnm fgh90ujio45lmk_o=\", //(Required) The converted CSV file to BASE 64.\r\n    \"import_bounced\": \"Y\", //(Optional) Set Y to allow bounced contacts and N to not import bounced contacts.\r\n    \"blank_overwrite_data\": \"N\", //(Optional) Set Y to overwrite existing data with blank and N to not overwrite.\r\n    \"mappings\": [ //(Required) The standard and custom fields where the columns in file content are mapped to.\r\n        \"first_name\",\r\n        \"last_name\",\r\n        \"email\",\r\n        \"POSTCODE\",\r\n        \"DATE_OF_BIRTHS\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/import/zip"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"group_id\": [\n            \"The value of `group_id` cannot be empty.\"\n        ],\n        \"mappings\": {\n            \"DATE_OF_BIRTHS\": [\n                \"The mapping item `DATE_OF_BIRTHS` does not exist.\"\n            ]\n        }\n    }\n}"}],"_postman_id":"1168bea1-2abd-486b-aa33-a72d762d571f"}],"id":"0d0cfcee-4a80-4de2-b6c0-d780c2f6b34a","description":"<h2 id=\"import-overview\">Import Overview</h2>\n<p>The <strong>import API</strong> provides an efficient and automated way to import contact data into a specified mail group within the Swift Digital Suite platform. It is primarily designed to handle bulk data imports for email marketing, newsletter distribution, and other communication purposes. The API supports flexible data input, allowing users to upload contact data in either CSV format or as a compressed ZIP file containing a <strong>SINGLE</strong> CSV file.</p>\n<h2 id=\"csv-and-zip-file-uploads\">CSV and ZIP File Uploads</h2>\n<p>The import APIs only accept data in two file formats:</p>\n<ol>\n<li><p><strong>CSV Format</strong>: The standard format for importing structured contact data. Each CSV should contain rows representing individual contacts. The format should match the mapping fields' structure to ensure successful import. The CSV file must be converted to <code>Base64</code> before upload.</p>\n</li>\n<li><p><strong>ZIP Format</strong>: For larger imports, the ZIP format is recommended. This compressed format speeds up file transfer. The ZIP file should contain only one CSV file, and this CSV must adhere to the same formatting rules as standalone CSV uploads. The zip file must be converted to <code>Base64</code> before upload.</p>\n</li>\n</ol>\n<h2 id=\"import-api-workflow\">Import API Workflow</h2>\n<ul>\n<li><p><strong>File Upload</strong>: After authenticating with the Swift Digital Suite platform via API, the user can upload the <code>Base64</code> converted CSV or ZIP file containing the contact data to the specified mail group. The API will validate the file to ensure it adheres to the correct format and field structure.</p>\n</li>\n<li><p><strong>Data Mapping</strong>: The API automatically maps the fields from the CSV to the mail group’s contact fields. To ensure proper mapping, the mapping field should include a list of fields corresponding to the CSV format. Each field name should either be a SwiftDigital standard field name or a custom field code. Leave the mapping field blank to skip that particular field. Any mismatches in the mapping may result in import errors.</p>\n</li>\n<li><p><strong>Duplicate Handling:</strong> The import APIs are designed to handle duplicate entries based on pre-defined matching rules, such as email address or external ID. If a duplicate is detected, it can be either updated or ignored, based on the configuration of your mail group.</p>\n</li>\n<li><p><strong>Error Handling:</strong> If there are any issues with the file format or data content (e.g., missing mandatory fields or invalid data types), the import APIs call will respond relevant error. If the import process flags any errors, the report can be found in the import report on the mail house module of the Swift Digital Suite platform.</p>\n</li>\n</ul>\n<h2 id=\"detailed-import-reports-in-the-swift-digital-suite\">Detailed Import Reports in the Swift Digital Suite</h2>\n<p>Once the import process is initiated, you can track its progress and view detailed reports on the mail house module of the Swift Digital Suite. These reports include:</p>\n<ul>\n<li><p><strong>Overall Status</strong>: Whether the import is completed, in progress, or failed.</p>\n</li>\n<li><p><strong>Number of Records Processed</strong>: A summary of how many records were processed from the uploaded file.</p>\n</li>\n<li><p><strong>Accepted Records</strong>: Number of records successfully added to the mailgroup.</p>\n</li>\n<li><p><strong>Rejected Records</strong>: Detailed error logs explaining why certain records failed to import, such as incorrect formatting, empty rows, invalid mobile numbers, invalid email addresses, or missing mandatory fields.</p>\n</li>\n<li><p><strong>Duplicate Records</strong>: Information about how duplicates were handled—whether they were updated, skipped, or resulted in an error.</p>\n</li>\n<li><p><strong>Mapping Report:</strong> Details about the data field used on the mapping when the import is performed.</p>\n</li>\n</ul>\n<p>The import report enables users to review and correct any issues, ensuring the contact data is accurate and ready for use in the mail group. Additionally, the logs help troubleshoot problems that may arise during large data imports, giving clear insights into what went wrong and how to fix it.</p>\n<h2 id=\"key-features-of-import\">Key Features of Import</h2>\n<ul>\n<li><p><strong>Automated Bulk Imports</strong>: Instead of manually adding contacts one by one, this API facilitates bulk imports, saving time and effort for large campaigns.</p>\n</li>\n<li><p><strong>Data Integrity</strong>: The API provides built-in validation checks, ensuring that your imported data aligns with the structure and requirements of the mail group.</p>\n</li>\n<li><p><strong>Scalability</strong>: The ability to upload both CSV and ZIP files allows for greater scalability, especially when dealing with large datasets.</p>\n</li>\n<li><p><strong>Real-Time Tracking</strong>: Detailed reports and logs available in the Swift Digital Suite platform offer real-time tracking of the import process, giving visibility into both successes and failures.</p>\n</li>\n</ul>\n<p>In summary, this makes the mail house import APIs a powerful tool for organisations that need to manage large-scale email lists and communication databases within the Swift Digital Suite platform.</p>\n","_postman_id":"0d0cfcee-4a80-4de2-b6c0-d780c2f6b34a","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}},{"name":"Subscription","item":[{"name":"join","id":"03129599-81b7-49b7-9fb0-005ba9b4d269","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"<string>\",\r\n        \"first_name\": \"<string>\",\r\n        \"last_name\": \"<string>\",\r\n        \"email\": \"<string>\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"<string>\",\r\n        \"country\": \"<string>\", //The country should be in code format.\r\n        \"COMPANY\": \",<string>\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"<string>\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"<string>\", //A merge field sample for date custom field.\r\n        \"GENDER\": \"<string>\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"<string>\",\r\n        \"<string>\"\r\n    ],\r\n    \"return_url\": \"https://yourwebsite.com\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Click to confirm your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"noreply@example.com\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Your Company\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"support@example.com\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"notify@example.com\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join","description":"<p>This API endpoint allows you to add a contact to one or more mail groups on your Swift Digital Suite platform. If the contact does not already exist, they will be created and inserted into the nominated mail groups. If the contact exists, their subscription details and preferences will be updated. The subscription API is helpful for website signup forms (newsletter opt-in).</p>\n<p><strong>Note:</strong> The subscription API only supports double opt-in.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fields <em>(Required)</em></td>\n<td>Choose from standard or custom fields. For custom fields, use the merge field from Swift Digital Suite, which is usually in capital letters and separated by underscores (e.g., POSTCODE, DATE_OF_BIRTH).  <br /><strong>WARNING:</strong> The <strong>'email'</strong> field is a required field for marketing or transactional accounts. And the required fields for transactional accounts with an external ID are '<strong>email</strong>' and '<strong>external_id</strong>'.</td>\n</tr>\n<tr>\n<td>group_ids <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>return_url <em>(Required)</em></td>\n<td>The URL that the subscriber will be redirected to after clicking 'Verify' on the double opt-in verification email. This can be a landing page URL or any web URL.  <br /><strong>WARNING:</strong> Domain whitelisting has been applied. You need to reach out to <a href=\"https://mailto:api@swiftdigital.com.au\">api@swiftdigital.com.au</a> to whitelist the domain of your return_url.</td>\n</tr>\n<tr>\n<td>double_opt_in_subject <em>(Optional)</em></td>\n<td>The subject line that will appear in the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set at 'Please verify your email address to subscribe'.</td>\n</tr>\n<tr>\n<td>double_opt_in_from_email <em>(Optional)</em></td>\n<td>The from email that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Email'.</td>\n</tr>\n<tr>\n<td>double_opt_in_from_name <em>(Optional)</em></td>\n<td>The from name that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Name'.</td>\n</tr>\n<tr>\n<td>double_opt_in_reply_to_email <em>(Optional)</em></td>\n<td>The reply to email that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Email'.</td>\n</tr>\n<tr>\n<td>notify_subscription <em>(Optional)</em></td>\n<td>The nominated email address to which a subscription notification email is sent whenever a successful subscription has been made on the API.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"success-responses\">Success responses</h2>\n<p>When a 200 OK response is returned, the body request is 'success' with either of the following messages:</p>\n<ul>\n<li><p>The double opt-in verification email has been sent.</p>\n</li>\n<li><p>Thank you for subscribing.</p>\n</li>\n<li><p>Your subscription details are updated.</p>\n</li>\n</ul>\n<h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>fields</code> cannot be empty.</p>\n</li>\n<li><p>The value of <code>return_url</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>return_url</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>return_url</code>. Only <code>https</code> protocol is allowed.</p>\n</li>\n<li><p>The <code>double_opt_in_subject</code> is too long. It should have 255 characters or less.</p>\n</li>\n<li><p>The <code>double_opt_in_from_name</code> is too long. It should have 250 characters or less.</p>\n</li>\n<li><p><code>'email'</code> is not a valid email address.</p>\n</li>\n<li><p>Unable to subscribe. Please provide an <code>email</code>.</p>\n</li>\n<li><p>The value of <code>external_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>'date field'</code> . The date must be in the format dd/mm/yyyy.</p>\n</li>\n<li><p>The value of <code>'single choice field'</code> should either be <code>'single choice field option 1'</code> or <code>'single choice field option 2'</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>country</code>. The <code>country</code> must be in code format like AU.</p>\n</li>\n<li><p>An unexpected error occurred. Please try again later.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","subscription","join"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"d5ecfc08-4427-49c1-b354-9249ba051ebf","name":"SUCCESS MARKETING OR TRANSACTIONAL ACCOUNT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"Mr\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"1234567890\",\r\n        \"country\": \"AU\", //The country should be in code format.\r\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\r\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"https://www.swiftdigital.com.au\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Verify your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"doe@swiftdigital.com.au\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Swift Digital\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"doe@swiftdigital.com.au\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"The double opt-in verification email has been sent.\"\n    }\n}"},{"id":"46ff3e26-1ce0-47e8-a6e2-27c8f426abbc","name":"SUCCESS TRANSACTIONAL WITH EXTERNAL_ID ACCOUNT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"Mr\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"1234567890\",\r\n        \"external_id\": \"2025-001\", //(Required) The external ID merge field and mandatory.\r\n        \"country\": \"AU\", //The country should be in code format.\r\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\r\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"https://www.swiftdigital.com.au\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Verify your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"doe@swiftdigital.com.au\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Swift Digital\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"doe@swiftdigital.com.au\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"The double opt-in verification email has been sent.\"\n    }\n}"},{"id":"19a208f6-7b38-4d67-9bba-9976dc65d09f","name":"ERROR","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\"\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"http://www.swiftdigital.com.au\" //(Required) The URL appearing after clicking verify button.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": {\n        \"email\": [\n            \"Unable to subscribe. Please provide an `email`.\"\n        ],\n        \"return_url\": [\n            \"Invalid value provided for `return_url`. Only `https` protocol is allowed.\"\n        ]\n    }\n}"}],"_postman_id":"03129599-81b7-49b7-9fb0-005ba9b4d269"},{"name":"updatefields","id":"ee4e57ed-5c2f-4e9d-a846-1b19af7b8a9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"<string>\",\r\n        \"first_name\": \"<string>\",\r\n        \"last_name\": \"<string>\",\r\n        \"email\": \"<string>\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"<string>\",\r\n        \"country\": \"<string>\", //The country should be in code format.\r\n        \"COMPANY\": \",<string>\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"<string>\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"<string>\", //A merge field sample for date custom field.\r\n        \"GENDER\": \"<string>\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"<string>\",\r\n        \"<string>\"\r\n    ],\r\n    \"return_url\": \"https://yourwebsite.com\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Click to confirm your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"noreply@example.com\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Your Company\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"support@example.com\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"notify@example.com\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/updatefields","description":"<p>This API endpoint allows you to update an existing contact standard and custom fields information on the mail house module on your Swift Digital Suite platform. The subscription API is helpful for website signup forms (newsletter opt-in).</p>\n<p>Works with the use case that a customer wants to</p>\n<ol>\n<li><p>Allow new contacts to subscribe to the form with standard and custom field information, as well as mail group subscriptions.</p>\n</li>\n<li><p>Allow existing contacts to subscribe and update their standard and custom field information, but not their mail group subscriptions.</p>\n</li>\n</ol>\n<p><strong>Note:</strong> The subscription API only supports double opt-in.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fields <em>(Required)</em></td>\n<td>Choose from standard or custom fields. For custom fields, use the merge field from Swift Digital Suite, which is usually in capital letters and separated by underscores (e.g., POSTCODE, DATE_OF_BIRTH).  <br /><strong>WARNING:</strong> The <strong>'email'</strong> field is a required field for marketing or transactional accounts. And the required fields for transactional accounts with an external ID are '<strong>email</strong>' and '<strong>external_id</strong>'.</td>\n</tr>\n<tr>\n<td>group_ids <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>return_url <em>(Required)</em></td>\n<td>The URL that the subscriber will be redirected to after clicking 'Verify' on the double opt-in verification email. This can be a landing page URL or any web URL.  <br /><strong>WARNING:</strong> Domain whitelisting has been applied. You need to reach out to <a href=\"https://mailto:api@swiftdigital.com.au\">api@swiftdigital.com.au</a> to whitelist the domain of your return_url.</td>\n</tr>\n<tr>\n<td>double_opt_in_subject <em>(Optional)</em></td>\n<td>The subject line that will appear in the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set at 'Please verify your email address to subscribe'.</td>\n</tr>\n<tr>\n<td>double_opt_in_from_email <em>(Optional)</em></td>\n<td>The from email that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Email'.</td>\n</tr>\n<tr>\n<td>double_opt_in_from_name <em>(Optional)</em></td>\n<td>The from name that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Name'.</td>\n</tr>\n<tr>\n<td>double_opt_in_reply_to_email <em>(Optional)</em></td>\n<td>The reply to email that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Email'.</td>\n</tr>\n<tr>\n<td>notify_subscription <em>(Optional)</em></td>\n<td>The nominated email address to which a subscription notification email is sent whenever a successful subscription has been made on the API.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"success-responses\">Success responses</h2>\n<p>When a 200 OK response is returned, the body request is 'success' with either of the following messages:</p>\n<ul>\n<li><p>The double opt-in verification email has been sent.</p>\n</li>\n<li><p>Thank you for subscribing.</p>\n</li>\n<li><p>Your subscription details are updated.</p>\n</li>\n</ul>\n<h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>fields</code> cannot be empty.</p>\n</li>\n<li><p>The value of <code>return_url</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>return_url</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>return_url</code>. Only <code>https</code> protocol is allowed.</p>\n</li>\n<li><p>The <code>double_opt_in_subject</code> is too long. It should have 255 characters or less.</p>\n</li>\n<li><p>The <code>double_opt_in_from_name</code> is too long. It should have 250 characters or less.</p>\n</li>\n<li><p><code>'email'</code> is not a valid email address.</p>\n</li>\n<li><p>Unable to subscribe. Please provide an <code>email</code>.</p>\n</li>\n<li><p>The value of <code>external_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>'date field'</code> . The date must be in the format dd/mm/yyyy.</p>\n</li>\n<li><p>The value of <code>'single choice field'</code> should either be <code>'single choice field option 1'</code> or <code>'single choice field option 2'</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>country</code>. The <code>country</code> must be in code format like AU.</p>\n</li>\n<li><p>An unexpected error occurred. Please try again later.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","subscription","updatefields"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"e9aba40b-7286-4bfa-a7b2-cb35b602a01b","name":"SUCCESS MARKETING OR TRANSACTIONAL ACCOUNT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"Mr\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"1234567890\",\r\n        \"country\": \"AU\", //The country should be in code format.\r\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\r\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"https://www.swiftdigital.com.au\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Verify your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"doe@swiftdigital.com.au\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Swift Digital\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"doe@swiftdigital.com.au\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"The double opt-in verification email has been sent.\"\n    }\n}"},{"id":"1088b400-997c-410e-9400-519bbda73bab","name":"SUCCESS TRANSACTIONAL WITH EXTERNAL_ID ACCOUNT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"Mr\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"1234567890\",\r\n        \"external_id\": \"2025-001\", //(Required) The external ID merge field and mandatory.\r\n        \"country\": \"AU\", //The country should be in code format.\r\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\r\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"https://www.swiftdigital.com.au\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Verify your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"doe@swiftdigital.com.au\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Swift Digital\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"doe@swiftdigital.com.au\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"The double opt-in verification email has been sent.\"\n    }\n}"},{"id":"0043126b-308b-4b8e-a9aa-734047efdbc9","name":"ERROR","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\"\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"http://www.swiftdigital.com.au\" //(Required) The URL appearing after clicking verify button.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": {\n        \"email\": [\n            \"Unable to subscribe. Please provide an `email`.\"\n        ],\n        \"return_url\": [\n            \"Invalid value provided for `return_url`. Only `https` protocol is allowed.\"\n        ]\n    }\n}"}],"_postman_id":"ee4e57ed-5c2f-4e9d-a846-1b19af7b8a9f"},{"name":"updategroups","id":"5474b9d2-9e8b-493f-999a-ef6727ebcd1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"<string>\",\r\n        \"first_name\": \"<string>\",\r\n        \"last_name\": \"<string>\",\r\n        \"email\": \"<string>\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"<string>\",\r\n        \"country\": \"<string>\", //The country should be in code format.\r\n        \"COMPANY\": \",<string>\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"<string>\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"<string>\", //A merge field sample for date custom field.\r\n        \"GENDER\": \"<string>\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"<string>\",\r\n        \"<string>\"\r\n    ],\r\n    \"return_url\": \"https://yourwebsite.com\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Click to confirm your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"noreply@example.com\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Your Company\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"support@example.com\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"notify@example.com\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/updategroups","description":"<p>This API endpoint allows you to update the mail group subscriptions of existing contacts in the mail house module of your Swift Digital Suite platform. The subscription API is helpful for website signup forms (newsletter opt-in).</p>\n<p>Works with the use case that a customer wants to</p>\n<ol>\n<li><p>Allow new contacts to subscribe to the form with standard and custom field information, as well as mail group subscriptions.</p>\n</li>\n<li><p>Allow existing contacts to subscribe and update their mail group subscriptions, but not their standard and custom field information.</p>\n</li>\n</ol>\n<p><strong>Note:</strong> The subscription API only supports double opt-in.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fields <em>(Required)</em></td>\n<td>Choose from standard or custom fields. For custom fields, use the merge field from Swift Digital Suite, which is usually in capital letters and separated by underscores (e.g., POSTCODE, DATE_OF_BIRTH).  <br /><strong>WARNING:</strong> The <strong>'email'</strong> field is a required field for marketing or transactional accounts. And the required fields for transactional accounts with an external ID are '<strong>email</strong>' and '<strong>external_id</strong>'.</td>\n</tr>\n<tr>\n<td>group_ids <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>return_url <em>(Required)</em></td>\n<td>The URL that the subscriber will be redirected to after clicking 'Verify' on the double opt-in verification email. This can be a landing page URL or any web URL.  <br /><strong>WARNING:</strong> Domain whitelisting has been applied. You need to reach out to <a href=\"https://mailto:api@swiftdigital.com.au\">api@swiftdigital.com.au</a> to whitelist the domain of your return_url.</td>\n</tr>\n<tr>\n<td>double_opt_in_subject <em>(Optional)</em></td>\n<td>The subject line that will appear in the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set at 'Please verify your email address to subscribe'.</td>\n</tr>\n<tr>\n<td>double_opt_in_from_email <em>(Optional)</em></td>\n<td>The from email that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Email'.</td>\n</tr>\n<tr>\n<td>double_opt_in_from_name <em>(Optional)</em></td>\n<td>The from name that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Name'.</td>\n</tr>\n<tr>\n<td>double_opt_in_reply_to_email <em>(Optional)</em></td>\n<td>The reply to email that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Email'.</td>\n</tr>\n<tr>\n<td>notify_subscription <em>(Optional)</em></td>\n<td>The nominated email address to which a subscription notification email is sent whenever a successful subscription has been made on the API.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"success-responses\">Success responses</h2>\n<p>When a 200 OK response is returned, the body request is 'success' with either of the following messages:</p>\n<ul>\n<li><p>The double opt-in verification email has been sent.</p>\n</li>\n<li><p>Thank you for subscribing.</p>\n</li>\n<li><p>Your subscription details are updated.</p>\n</li>\n</ul>\n<h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>fields</code> cannot be empty.</p>\n</li>\n<li><p>The value of <code>return_url</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>return_url</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>return_url</code>. Only <code>https</code> protocol is allowed.</p>\n</li>\n<li><p>The <code>double_opt_in_subject</code> is too long. It should have 255 characters or less.</p>\n</li>\n<li><p>The <code>double_opt_in_from_name</code> is too long. It should have 250 characters or less.</p>\n</li>\n<li><p><code>'email'</code> is not a valid email address.</p>\n</li>\n<li><p>Unable to subscribe. Please provide an <code>email</code>.</p>\n</li>\n<li><p>The value of <code>external_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>'date field'</code> . The date must be in the format dd/mm/yyyy.</p>\n</li>\n<li><p>The value of <code>'single choice field'</code> should either be <code>'single choice field option 1'</code> or <code>'single choice field option 2'</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>country</code>. The <code>country</code> must be in code format like AU.</p>\n</li>\n<li><p>An unexpected error occurred. Please try again later.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","subscription","updategroups"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"4848a4e9-5bba-4a20-9694-0f4970ff3d3b","name":"SUCCESS MARKETING OR TRANSACTIONAL ACCOUNT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"Mr\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"1234567890\",\r\n        \"country\": \"AU\", //The country should be in code format.\r\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\r\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"https://www.swiftdigital.com.au\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Verify your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"doe@swiftdigital.com.au\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Swift Digital\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"doe@swiftdigital.com.au\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"The double opt-in verification email has been sent.\"\n    }\n}"},{"id":"a55976fe-d2f8-4898-b8d8-ef21b266827f","name":"SUCCESS TRANSACTIONAL WITH EXTERNAL_ID ACCOUNT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"Mr\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"1234567890\",\r\n        \"external_id\": \"2025-001\", //(Required) The external ID merge field and mandatory.\r\n        \"country\": \"AU\", //The country should be in code format.\r\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\r\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"https://www.swiftdigital.com.au\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Verify your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"doe@swiftdigital.com.au\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Swift Digital\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"doe@swiftdigital.com.au\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"The double opt-in verification email has been sent.\"\n    }\n}"},{"id":"9caa9485-35f0-4a20-bbbc-e9732fbb5c5b","name":"ERROR","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\"\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"http://www.swiftdigital.com.au\" //(Required) The URL appearing after clicking verify button.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": {\n        \"email\": [\n            \"Unable to subscribe. Please provide an `email`.\"\n        ],\n        \"return_url\": [\n            \"Invalid value provided for `return_url`. Only `https` protocol is allowed.\"\n        ]\n    }\n}"}],"_postman_id":"5474b9d2-9e8b-493f-999a-ef6727ebcd1c"},{"name":"updateall","id":"2b105a62-5ca8-4aac-b876-e592aedda29c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"<string>\",\r\n        \"first_name\": \"<string>\",\r\n        \"last_name\": \"<string>\",\r\n        \"email\": \"<string>\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"<string>\",\r\n        \"country\": \"<string>\", //The country should be in code format.\r\n        \"COMPANY\": \",<string>\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"<string>\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"<string>\", //A merge field sample for date custom field.\r\n        \"GENDER\": \"<string>\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"<string>\",\r\n        \"<string>\"\r\n    ],\r\n    \"return_url\": \"https://yourwebsite.com\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Click to confirm your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"noreply@example.com\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Your Company\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"support@example.com\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"notify@example.com\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/updateall","description":"<p>This API endpoint allows you to update existing contact information, including both standard and custom fields, as well as manage mail group subscriptions within the mail house module of your Swift Digital Suite platform. The subscription API is helpful for website signup forms (newsletter opt-in).</p>\n<p><strong>Note:</strong> The subscription API only supports double opt-in.</p>\n<h2 id=\"method\">Method</h2>\n<p>POST</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fields <em>(Required)</em></td>\n<td>Choose from standard or custom fields. For custom fields, use the merge field from Swift Digital Suite, which is usually in capital letters and separated by underscores (e.g., POSTCODE, DATE_OF_BIRTH).  <br /><strong>WARNING:</strong> The <strong>'email'</strong> field is a required field for marketing or transactional accounts. And the required fields for transactional accounts with an external ID are '<strong>email</strong>' and '<strong>external_id</strong>'.</td>\n</tr>\n<tr>\n<td>group_ids <em>(Required)</em></td>\n<td>The unique ID associated with the mail group is essential for future operations, such as retrieving a list of contacts inside the mail group, reading or updating mail group information.</td>\n</tr>\n<tr>\n<td>return_url <em>(Required)</em></td>\n<td>The URL that the subscriber will be redirected to after clicking 'Verify' on the double opt-in verification email. This can be a landing page URL or any web URL.  <br /><strong>WARNING:</strong> Domain whitelisting has been applied. You need to reach out to <a href=\"https://mailto:api@swiftdigital.com.au\">api@swiftdigital.com.au</a> to whitelist the domain of your return_url.</td>\n</tr>\n<tr>\n<td>double_opt_in_subject <em>(Optional)</em></td>\n<td>The subject line that will appear in the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set at 'Please verify your email address to subscribe'.</td>\n</tr>\n<tr>\n<td>double_opt_in_from_email <em>(Optional)</em></td>\n<td>The from email that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Email'.</td>\n</tr>\n<tr>\n<td>double_opt_in_from_name <em>(Optional)</em></td>\n<td>The from name that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Name'.</td>\n</tr>\n<tr>\n<td>double_opt_in_reply_to_email <em>(Optional)</em></td>\n<td>The reply to email that will appear on the double opt-in verification email. This can be customised as per your needs by providing the value for it.  <br />Leaving the field empty will be replaced by the default value, which is set from your 'Swift Digital Suite Account Email'.</td>\n</tr>\n<tr>\n<td>notify_subscription <em>(Optional)</em></td>\n<td>The nominated email address to which a subscription notification email is sent whenever a successful subscription has been made on the API.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"success-responses\">Success responses</h2>\n<p>When a 200 OK response is returned, the body request is 'success' with either of the following messages:</p>\n<ul>\n<li><p>The double opt-in verification email has been sent.</p>\n</li>\n<li><p>Thank you for subscribing.</p>\n</li>\n<li><p>Your subscription details are updated.</p>\n</li>\n</ul>\n<h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>fields</code> cannot be empty.</p>\n</li>\n<li><p>The value of <code>return_url</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>return_url</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>return_url</code>. Only <code>https</code> protocol is allowed.</p>\n</li>\n<li><p>The <code>double_opt_in_subject</code> is too long. It should have 255 characters or less.</p>\n</li>\n<li><p>The <code>double_opt_in_from_name</code> is too long. It should have 250 characters or less.</p>\n</li>\n<li><p><code>'email'</code> is not a valid email address.</p>\n</li>\n<li><p>Unable to subscribe. Please provide an <code>email</code>.</p>\n</li>\n<li><p>The value of <code>external_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>'date field'</code> . The date must be in the format dd/mm/yyyy.</p>\n</li>\n<li><p>The value of <code>'single choice field'</code> should either be <code>'single choice field option 1'</code> or <code>'single choice field option 2'</code>.</p>\n</li>\n<li><p>Invalid value provided for <code>country</code>. The <code>country</code> must be in code format like AU.</p>\n</li>\n<li><p>An unexpected error occurred. Please try again later.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","mailhouse","subscription","updateall"],"host":["https://v3.api.swiftdigital.com.au"],"query":[],"variable":[]}},"response":[{"id":"3f2a09cc-bf6b-41ce-a72a-4cc3719aed56","name":"SUCCESS MARKETING OR TRANSACTIONAL ACCOUNT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"Mr\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"1234567890\",\r\n        \"country\": \"AU\", //The country should be in code format.\r\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\r\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"https://www.swiftdigital.com.au\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Verify your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"doe@swiftdigital.com.au\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Swift Digital\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"doe@swiftdigital.com.au\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"The double opt-in verification email has been sent.\"\n    }\n}"},{"id":"92c01d45-ed7a-4e04-a53d-2c152314e3e5","name":"SUCCESS TRANSACTIONAL WITH EXTERNAL_ID ACCOUNT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"title\": \"Mr\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"email\": \"john.doe@swiftdigital.com.au\", //(Required) The email merge field and mandatory.\r\n        \"mobile\": \"1234567890\",\r\n        \"external_id\": \"2025-001\", //(Required) The external ID merge field and mandatory.\r\n        \"country\": \"AU\", //The country should be in code format.\r\n        \"COMPANY\": \"Swift Digital\", //A merge field sample for text custom field.\r\n        \"POSTCODE\": \"2000\", //A merge field sample for number custom field.\r\n        \"DATE_OF_BIRTH\": \"31/08/2001\", //A merge field sample for date custom field.\r\n        \"DEPARTMENT\": \"Development\" //A merge field sample for single choice custom field.\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"https://www.swiftdigital.com.au\", //(Required) The URL appearing after clicking verify button.\r\n    \"double_opt_in_subject\": \"Verify your subscription\", //(Optional) The subject line in the double opt-in email.\r\n    \"double_opt_in_from_email\": \"doe@swiftdigital.com.au\", //(Optional) The from email in the double opt-in email.\r\n    \"double_opt_in_from_name\": \"Swift Digital\", //(Optional) The from name in the double opt-in email.\r\n    \"double_opt_in_reply_to_email\": \"doe@swiftdigital.com.au\", //(Optional) The reply to email in the double opt-in email.\r\n    \"notify_subscription\": \"jimmy.doe@swiftdigital.com.au\" //(Optional) The email to receive the subscription notification email.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"The double opt-in verification email has been sent.\"\n    }\n}"},{"id":"53069f75-885a-4816-8f60-f8e972483b15","name":"ERROR","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fields\": { //(Required) The standard and custom field values of the subscriber.\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\"\r\n    },\r\n    \"group_ids\": [ //(Required) The unique ID associated with the mail group.\r\n        \"zzzzxx7593efr7120011\",\r\n        \"zzzzxx7593efr7120012\",\r\n        \"zzzzxx7593efr7120013\"\r\n    ],\r\n    \"return_url\": \"http://www.swiftdigital.com.au\" //(Required) The URL appearing after clicking verify button.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://v3.api.swiftdigital.com.au/request/mailhouse/subscription/join"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": {\n        \"email\": [\n            \"Unable to subscribe. Please provide an `email`.\"\n        ],\n        \"return_url\": [\n            \"Invalid value provided for `return_url`. Only `https` protocol is allowed.\"\n        ]\n    }\n}"}],"_postman_id":"2b105a62-5ca8-4aac-b876-e592aedda29c"}],"id":"8c7f9cfc-6f9f-4533-a964-b2cef3e71718","description":"<h2 id=\"subscription-overview\">Subscription Overview</h2>\n<p>The <strong>subscription API</strong> provides functionality to manage contact subscriptions to mail groups. It is designed to allow developers to integrate Swift Digital Suite mail group subscription management directly into applications, websites, or CRMS.</p>\n<h2 id=\"key-features-of-subscription\">Key Features of Subscription</h2>\n<ul>\n<li><p><strong>Seamless Subscription Management:</strong> Add new or update contact subscriptions to one more mail groups for targeted communications.</p>\n</li>\n<li><p><strong>Flexible Subscribe Data Handling:</strong> Stored detailed contact information including name, email, phone, and custom fields.</p>\n</li>\n<li><p><strong>Data Integrity:</strong> The API is using double opt-in ensuring the contact geniunely wants receive the email communications reducing the chances of accidental signs and minimizing the risk of spam complaints.</p>\n</li>\n<li><p><strong>Integration:</strong> The API supports easy integration into applications or websites with secure data transfer using REST.</p>\n</li>\n</ul>\n<p>In summary, this makes the subscription APIs a powerful tool for organisations that need to buld public facing subscription forms and managing those subscriptions within the Swift Digital Suite platform.</p>\n","_postman_id":"8c7f9cfc-6f9f-4533-a964-b2cef3e71718","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}}],"id":"d7d03254-f3a6-4cda-be01-808628697f54","description":"<p>The mail house module of the Swift Digital Suite platform is a powerful tool that handles the management and organisation of contacts and mail groups. It acts as a centralised hub for storing and managing contact information, allowing users to create, update, and organise their contacts efficiently.</p>\n<h3 id=\"mail-house-overview\">Mail House Overview</h3>\n<p>The mail house module is designed to manage a vast amount of contact data. It supports custom fields, segmentation, and mailing lists, making it an essential tool for personalised communication. The mail house features enable users to oversee their contact lists, ensuring that email campaigns reach the appropriate audience with the right message.</p>\n<h3 id=\"connection-with-contact\">Connection with Contact</h3>\n<p>A <strong>contact</strong> in the mail house refers to an individual or entity stored in your account on the Swift Digital Suite platform. Each contact record may include standard fields such as name, email, and mobile number, along with custom fields that are unique to your account. Contacts serve as the primary data points for communication and can be filtered, segmented, and grouped based on various criteria.</p>\n<p>For example, if you have a contact named John Doe, his information—including his title, first name, last name, email, and mobile number—will be stored in the mail house. Additionally, any custom fields specific to your account, such as \"Position\" or \"Company\", can also be attached to John's contact record.</p>\n<h3 id=\"connection-with-mail-group\">Connection with Mail Group</h3>\n<p>A <strong>mail group</strong> in a mail house is a collection of contacts organised for targeted email campaigns. Mail groups enable users to segment their audience based on specific criteria, such as demographics, behaviour, or custom fields. This approach ensures that communications are relevant and tailored to the recipients.</p>\n<p>For instance, if you want to send a promotional email to all contacts in your Swift Digital Suite account who are subscribed to a newsletter, you would first create a mail group that includes those contacts.</p>\n<h3 id=\"example-of-the-contact-and-mail-group-connection\">Example of the Contact and Mail Group Connection</h3>\n<p>For example, you are running a marketing campaign targeting VIP customers.</p>\n<ol>\n<li><p>You need to create a mail group named 'VIP Customers' in the mail house, which includes all contacts who have a custom field value of 'VIP'.</p>\n</li>\n<li><p>John Doe, being a VIP, would be part of this mail group.</p>\n</li>\n<li><p>The mail house module would then manage the distribution of emails specifically to the 'VIP Customers' mail group, and when you initiate the email campaign, all contacts within the mail group, including John Doe, will receive the email.</p>\n</li>\n</ol>\n<p>In summary, the Swift Digital Suite seamlessly integrates contact management and mail groups, enabling precise, personalised, and efficient communication strategies.</p>\n","_postman_id":"d7d03254-f3a6-4cda-be01-808628697f54","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}},{"name":"Events Desk","item":[{"name":"Registrant","item":[{"name":"registrant/list","id":"40b3df06-7729-49bf-9560-24b4d7acf6d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/registrant/list?from_date=<string>&to_date=<string>&folder_id=<number>","description":"<p>This API endpoint allows you to retrieve the list of all registrations from an event folder or in a date range on the EventsDesk module of your Swift Digital Suite platform. This includes the booking agent, guest, ticket, payment, CPD points, status, and event details. This helps you organise, manage, and review registrations from your events.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>from_date <em>(optional)</em></td>\n<td>The date when the event registrations start. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>to_date <em>(optional)</em></td>\n<td>The date when the event registrations end. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>folder_id <em>(optional)</em></td>\n<td>The unique ID associated with the event folder is essential for future operations, such as reading or updating the event information.  <br />The default folder has an ID of '0'.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>The value of <code>folder_id</code> cannot be empty.</p>\n</li>\n<li><p>Invalid value provided for <code>folder_id</code>.</p>\n</li>\n<li><p>The <code>folder_id</code> does not exist.</p>\n</li>\n<li><p>This value should be of epoch unix timestamp.</p>\n</li>\n<li><p>The value of <code>order_by</code> should be either <code>asc</code> or <code>desc</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","registrant","list"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Optional) The date when the event registrations start. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"from_date","value":"<string>"},{"description":{"content":"<p>(Optional) The date when the event registrations end. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"to_date","value":"<string>"},{"description":{"content":"<p>(Optional) The unique ID associated with the event folder.</p>\n","type":"text/plain"},"key":"folder_id","value":"<number>"}],"variable":[]}},"response":[{"id":"16a5c98a-79cf-4753-8cf1-56ec27b0a900","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/registrant/list?from_date=1735700971&to_date=1764558571&folder_id=0","host":["https://v3.api.swiftdigital.com.au"],"path":["request","registrant","list"],"query":[{"key":"from_date","value":"1735700971","description":"(Optional) The date when the event registrations start. This is in epoch unix timestamp."},{"key":"to_date","value":"1764558571","description":"(Optional) The date when the event registrations end. This is in epoch unix timestamp."},{"key":"folder_id","value":"0","description":"(Optional) The unique ID associated with the event folder."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"registrants\": [\n        {\n            \"ticket\": {\n                \"order_id\": \"XYET1TN\",\n                \"invoice_number\": \"1021-465001\",\n                \"register_stamp\": \"1186511001\",\n                \"evuid\": \"zzzzxx7593ixf1670013\",\n                \"guests\": 1,\n                \"total_cost\": \"3500\"\n            },\n            \"agent\": {\n                \"rguid\": \"zzzzxx7593uXq1340011\",\n                \"evpuid\": \"zzzzxx7593ypo1340011\",\n                \"status\": \"P\",\n                \"title\": \"\",\n                \"first_name\": \"John Doe\",\n                \"last_name\": \"Doe\",\n                \"email\": \"john.doe@swiftdigital.com.au\",\n                \"mobile\": \"\",\n                \"country\": \"\",\n                \"adhoc\": \"0\",\n                \"custom_fields\": [\n                    {\n                        \"field_name\": \"COMPANY\",\n                        \"field_value\": \"Swift Digital\"\n                    },\n                    {\n                        \"field_name\": \"POSITION\",\n                        \"field_value\": \"Manager\"\n                    }\n                ]\n            },\n            \"guests\": [\n                {\n                    \"rguid\": \"zzzzxx7593uXq1340012\",\n                    \"evpuid\": \"zzzzxx7593ypo1340012\",\n                    \"evuid\": \"zzzzxx7593ixf1670013\",\n                    \"status\": \"P\",\n                    \"title\": \"\",\n                    \"first_name\": \"Jane\",\n                    \"last_name\": \"Doe\",\n                    \"email\": \"jane.doe@swiftdigital.com.au\",\n                    \"mobile\": \"\",\n                    \"country\": \"\",\n                    \"ticket\": \"General Admission\",\n                    \"cost\": \"4500\",\n                    \"pax\": \"1\",\n                    \"cost_per_pax\": 4500,\n                    \"quantity\": \"1\",\n                    \"taxstatus\": \"Included\",\n                    \"payment_method\": \"F\",\n                    \"discountCode\": \"sd-discount\",\n                    \"discountMethod\": \"A\",\n                    \"discountAmount\": 1500,\n                    \"discounedtAmount\": 3000,\n                    \"cpdPoint\": \"2.5\",\n                    \"attended\": \"Y\",\n                    \"custom_fields\": [\n                        {\n                            \"field_name\": \"COMPANY\",\n                            \"field_value\": \"Swift Digital\"\n                        },\n                        {\n                            \"field_name\": \"POSITION\",\n                            \"field_value\": \"Employee\"\n                        },\n                        {\n                            \"field_name\": \"POSTCODE\",\n                            \"field_value\": \"2000\"\n                        },\n                        {\n                            \"field_name\": \"DATE_OF_BIRTH\",\n                            \"field_value\": \"31/08/2001\"\n                        },\n                        {\n                            \"field_name\": \"Department\",\n                            \"field_value\": \"Development\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"events\": [\n        {\n            \"evuid\": \"zzzzxx7593ixf1670013\",\n            \"event_name\": \"Marketing Promotion EOFY\",\n            \"status\": \"W\",\n            \"start_time\": \"1186511001\",\n            \"end_time\": \"1186511002\",\n            \"capacity\": \"0\",\n            \"folder_id\": \"0\",\n            \"folder_name\": \"Default\",\n            \"cpdPoints\": \"2.25\"\n        }\n    ]\n}"},{"id":"d38432f0-8960-4529-9fce-b4639a2b0223","name":"ERROR","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/registrant/list?folder_id=x1x1x1","host":["https://v3.api.swiftdigital.com.au"],"path":["request","registrant","list"],"query":[{"key":"folder_id","value":"x1x1x1","description":"(Optional) The unique ID associated with the event folder."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"folder_id\": [\n            \"The `folder_id` does not exist.\"\n        ]\n    }\n}"}],"_postman_id":"40b3df06-7729-49bf-9560-24b4d7acf6d5"}],"id":"a5e706b7-a0df-4c00-b076-8ccf61ae99b6","_postman_id":"a5e706b7-a0df-4c00-b076-8ccf61ae99b6","description":"","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}}],"id":"dd8f13ba-f16b-4c68-9795-b065d429adb3","_postman_id":"dd8f13ba-f16b-4c68-9795-b065d429adb3","description":"","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}},{"name":"Composer","item":[{"name":"Reports","item":[{"name":"composer/report/summary","id":"6aa0fa78-9698-4248-964e-0e009bd5e795","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://v3.api.swiftdigital.com.au/request/composer/report/summary?from_date=<integer>&to_date=<integer>","description":"<p>This API endpoint enables you to retrieve a list of all emails published within a specified date range on your Swift Digital Suite platform. This includes the email document details and publication report. This helps you organise and review the reporting data for performance tracking and analytics.</p>\n<h2 id=\"method\">Method</h2>\n<p>GET</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>from_date <em>(optional)</em></td>\n<td>The date when the emails are published starts. This is in epoch unix timestamp.</td>\n</tr>\n<tr>\n<td>to_date <em>(optional)</em></td>\n<td>The date when the emails are published ends. This is in epoch unix timestamp.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-responses\">Error responses</h2>\n<p>When a 400 Bad Request response is returned, the body may contain one or more of these possible errors:</p>\n<ul>\n<li><p>This value should be of epoch unix timestamp.</p>\n</li>\n<li><p>The value of <code>order_by</code> should be either <code>asc</code> or <code>desc</code>.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}},"urlObject":{"path":["request","composer","report","summary"],"host":["https://v3.api.swiftdigital.com.au"],"query":[{"description":{"content":"<p>(Optional) The date when the emails are published starts. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"from_date","value":"<integer>"},{"description":{"content":"<p>(Optional) The date when the emails are published ends. This is in epoch unix timestamp.</p>\n","type":"text/plain"},"key":"to_date","value":"<integer>"}],"variable":[]}},"response":[{"id":"2a64ffa5-8ac4-4d4d-a9a3-d1b0262d31c6","name":"SUCCESS","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://v3.api.swiftdigital.com.au/request/composer/report/summary?from_date=1735700971&to_date=1764558571","host":["https://v3.api.swiftdigital.com.au"],"path":["request","composer","report","summary"],"query":[{"key":"from_date","value":"1735700971","description":"(Optional) The date when the emails are published starts. This is in epoch unix timestamp."},{"key":"to_date","value":"1764558571","description":"(Optional) The date when the emails are published ends. This is in epoch unix timestamp."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"dateRange\": {\n        \"startDate\": 1735700971,\n        \"endDate\": 1764558571\n    },\n    \"edms\": [\n        {\n            \"documentID\": \"zzzz68b7psduo21xy00121\",\n            \"description\": \"\",\n            \"edmName\": \"Marketing Promotion EOFY Email\",\n            \"subjectLine\": \"Marketing Promotion EOFY\",\n            \"utm_details\": [\n                {\n                    \"utm_source\": \"marketing-promition-eofy\"\n                },\n                {\n                    \"utm_medium\": \"email\"\n                },\n                {\n                    \"utm_campaign\": \"marketing-promition\"\n                }\n            ],\n            \"folder\": \"Marketing Promotion Folder\",\n            \"Published\": {\n                \"firstPublished\": \"1186511001\",\n                \"lastPublished\": \"1186511001\"\n            },\n            \"webVersionURL\": \"https://www.example.com.au/\",\n            \"openedByDevice\": [\n                {\n                    \"system\": \"0\",\n                    \"total\": 100\n                }\n            ],\n            \"sent\": 17,\n            \"success\": 17,\n            \"bounced\": {\n                \"soft\": 0,\n                \"hard\": 0,\n                \"total\": 0\n            },\n            \"opened\": 1,\n            \"clicked\": {\n                \"unique\": 1,\n                \"total\": 1\n            },\n            \"unsubscribed\": 0,\n            \"publicationHistory\": [\n                {\n                    \"published\": \"1186511001\",\n                    \"sent\": 17,\n                    \"success\": 17,\n                    \"bounced\": 0,\n                    \"opened\": 1,\n                    \"clicked\": 1\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"6aa0fa78-9698-4248-964e-0e009bd5e795"}],"id":"9fec56b8-1ed7-4a7f-802f-85f9da4b3aed","_postman_id":"9fec56b8-1ed7-4a7f-802f-85f9da4b3aed","description":"","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}}],"id":"36529d56-4930-495c-903e-1f5166e5ba99","_postman_id":"36529d56-4930-495c-903e-1f5166e5ba99","description":"","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}},{"name":"Use cases","item":[{"name":"Use Case 1: Subscription Integration to Swift Digital Suite","item":[],"id":"739519cd-59ab-4838-b6dc-2acb4820722d","description":"<h3 id=\"overview\">Overview</h3>\n<p>A company that has subscription pages outside the Swift Digital Suite platform, like a subscription form on a website. When a website visitor subscribes to a newsletter or other communications, their contact information should automatically be captured and sent to Swift Digital Suite via the REST API. This ensures that all subscriber data is centralised, up-to-date, and ready for marketing campaigns.</p>\n<h3 id=\"website-subscription-form-integration-to-swift-digital-suite\">Website Subscription Form Integration to Swift Digital Suite</h3>\n<p>The subscriptions made on the website form are automatically sent to the Swift Digital Suite platform.</p>\n<h5 id=\"preconditions\">Preconditions</h5>\n<ul>\n<li><p>The website has a subscription form that captures at least the first name, last name, and email.</p>\n</li>\n<li><p>The website has valid API credentials for Swift Digital Suite (Client ID, Client Secret, and T3 Account ID).</p>\n</li>\n<li><p>API access to Swift Digital Suite is available and authenticated.</p>\n</li>\n<li><p>The domain of the website subscription form and the thank you page need to be whitelisted by Swift Digital Suite. A request for whitelisting has to be sent to <a href=\"https://mailto:api@swiftdigital.com.au\">api@swiftdigital.com.au</a></p>\n</li>\n</ul>\n<h5 id=\"postconditions\">Postconditions</h5>\n<ul>\n<li><p>The subscriber is added to the mail house module of your account in the Swift Digital Suite platform.</p>\n</li>\n<li><p>The subscriber may receive a welcome email depending on the workflow set.</p>\n</li>\n</ul>\n<h5 id=\"api-workflow\">API Workflow</h5>\n<ol>\n<li><p><strong>Subscriber Submits on the Subscription Form on the Website</strong></p>\n<ol>\n<li>Fields include: First Name, Last Name, Email, and optionally Phone, Preferences, and Tags.</li>\n</ol>\n</li>\n<li><p><strong>Website Validates Form Data</strong></p>\n<ol>\n<li>Checks required fields, valid email format, and optionally consent for marketing.</li>\n</ol>\n</li>\n<li><p><strong>Website calls the Swift Digital API to Authenticate</strong></p>\n<ol>\n<li><p>Call <code>POST /auth/token</code></p>\n</li>\n<li><p>The response includes <code>access_token</code></p>\n</li>\n<li><p>Reference: Swift Digital Suite API <a href=\"https://docs.v3.api.swiftdigital.com.au/#b4d9e84d-ee0b-450d-bf5f-1d8b58a2ec4c\">Auth/Token</a></p>\n</li>\n</ol>\n</li>\n<li><p><strong>API Request: Subscription/Join</strong></p>\n<ol>\n<li><p>Call <code>POST /mailhouse/subscription/join</code></p>\n</li>\n<li><p>The request body includes the first name, last name, email, custom fields, and mail groups.</p>\n</li>\n<li><p>Reference: Swift Digital Suite API <a href=\"https://docs.v3.api.swiftdigital.com.au/#03129599-81b7-49b7-9fb0-005ba9b4d269\">Subscription/Join</a></p>\n</li>\n</ol>\n</li>\n<li><p><strong>API Response: Subscription/Join</strong></p>\n<ol>\n<li><p>If successful, the API returns the message <code>The double opt-in verification email has been sent.</code></p>\n</li>\n<li><p>The double opt-in verification email is sent to the subscriber.</p>\n</li>\n<li><p>The subscriber has to confirm the subscription by clicking the verify email button on the double opt-in verification email.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Verify the Subscription</strong></p>\n<ol>\n<li><p>Shows a thank-you message and triggers a welcome email (if been set on the mail groups).</p>\n</li>\n<li><p>Only after clicking the verify email button on the double opt-in verification email is the subscriber added to the nominated mail group on the mail house.</p>\n</li>\n<li><p>The inputted subscriber details and selected mail group on the website form are reflected in your account on the Swift Digital Suite platform.</p>\n</li>\n</ol>\n</li>\n</ol>\n<img src=\"https://content.pstmn.io/9c9bdf36-0f05-4f73-b0c5-0830f2d4115c/U2NyZWVuc2hvdCAyMDI1LTA5LTA4IGF0IDE1LTUyLTIzIEFQSSB2MyBVc2UgQ2FzZXMgLSBBUEkgdjMgVXNlIENhc2VzLmRyYXdpby0yLnBkZi5wbmc=\" alt=\"Figure%205:%20Website%20Subscription%20Form%20Integration%20to%20Swift%20Digital%20Suite\" />","_postman_id":"739519cd-59ab-4838-b6dc-2acb4820722d","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}},{"name":"Use Case 2: CRM Contacts Sync to Swift Digital Suite","item":[],"id":"ff1760f7-0652-4263-b6d7-37609a14759f","description":"<h3 id=\"overview\">Overview</h3>\n<p>A company that uses a CRM system (e.g., Salesforce, Dynamics 365) to manage customer relationships and the Swift Digital Suite as the marketing automation platform (email campaigns, event management, surveys, etc.). To ensure consistent customer data across both platforms, the CRM should integrate with the Swift Digital Suite REST API for Contact management.</p>\n<h3 id=\"actors\">Actors</h3>\n<ul>\n<li><p><strong>CRM User:</strong> Sales or marketing staff managing customer data.</p>\n</li>\n<li><p><strong>CRM System</strong> (e.g., Salesforce, Dynamics 365)<strong>:</strong> Primary system of record for customer details.</p>\n</li>\n<li><p><strong>Swift Digital Suite API</strong>: Provides endpoints to create, update, and manage both contacts and mail groups.</p>\n</li>\n</ul>\n<h3 id=\"sync-new-and-update-existing-contacts-from-crm-to-swift-digital-suite-via-contact\">Sync New and Update Existing Contacts from CRM to Swift Digital Suite (via Contact)</h3>\n<p>The marketing staff manages contacts in the CRM application. Whenever a new contact is created or an existing contact is updated in the CRM, these updates are synced to the Swift Digital Suite platform.</p>\n<h5 id=\"api-workflow\">API Workflow</h5>\n<ol>\n<li><p><strong>Contact Creation or Update in CRM</strong></p>\n<ol>\n<li>A sales or marketing staff member creates or updates a contact in the CRM.</li>\n</ol>\n</li>\n<li><p><strong>API Request: Create/Update Contact</strong></p>\n<ol>\n<li><p>Call <code>POST /mailhouse/contact/create</code> or <code>POST /mailhouse/contact/update</code></p>\n</li>\n<li><p>The request body includes the mapped fields (e.g first name, last name, email, custom fields, mail groups)</p>\n</li>\n<li><p>Reference: Swift Digital Suite API <a href=\"https://docs.v3.api.swiftdigital.com.au/#55d6ad83-9939-461b-8869-97fbe6bb9c87\">Contact/Create</a> or <a href=\"https://docs.v3.api.swiftdigital.com.au/#07c6910e-a84d-4fe3-9cd7-36a362d8f1ed\">Contact/Update</a></p>\n</li>\n</ol>\n</li>\n<li><p><strong>API Response</strong></p>\n<ol>\n<li><p>If successful, the API returns the contact_id.</p>\n</li>\n<li><p>The contacts that were created or updated from the CRM are reflected in your account on the Swift Digital Suite platform.</p>\n</li>\n</ol>\n</li>\n</ol>\n<h5 id=\"api-alternate-workflow\">API Alternate Workflow</h5>\n<ul>\n<li><p><strong>Duplicate Contact Handling</strong></p>\n<ul>\n<li><p>If the contact already exists in Swift Digital Suite (found as a duplicate), the API may return an error or the contact details.</p>\n</li>\n<li><p>Integration should call the <strong>update endpoint</strong> (<code>/mailhouse/contact/update</code>) instead.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong></p>\n<ul>\n<li><p>API returns a validation error (e.g., invalid email).</p>\n</li>\n<li><p>Log the error and notify the user to correct the data.</p>\n</li>\n</ul>\n</li>\n</ul>\n<img src=\"https://content.pstmn.io/a727201d-87fb-45ba-af71-444f888185b9/U2NyZWVuc2hvdCAyMDI1LTA5LTA4IGF0IDE0LTIwLTIzIEFQSSB2MyBVc2UgQ2FzZXMgLSBBUEkgdjMgVXNlIENhc2VzLmRyYXdpby0xLnBkZi5wbmc=\" alt=\"Figure%203:%20Sync%20New%20and%20Update%20Existing%20Contacts%20from%20CRM%20to%20Swift%20Digital%20Suite%20(via%20Contact)\" />\n\n<h4 id=\"sync-list-of-contacts-from-crm-to-swift-digital-suite-mail-group-via-import\">Sync List of Contacts from CRM to Swift Digital Suite Mail Group (via Import)</h4>\n<p>The marketing staff creates a list of contacts in the CRM application. This list needs to be integrated into the Swift Digital Suite platform through a mail group.</p>\n<h5 id=\"api-workflow-1\">API Workflow</h5>\n<ol>\n<li><p><strong>Export the Contacts</strong></p>\n<ol>\n<li>The sales or marketing staff export the list of contacts from the CRM in CSV or ZIP format.</li>\n</ol>\n</li>\n<li><p><strong>API Request: Create Mail Group</strong></p>\n<ol>\n<li><p>Call <code>POST /mailhouse/mailgroup/create</code></p>\n</li>\n<li><p>The request body includes the name of the mail group, the folder, and whether the mail group is a test.</p>\n</li>\n<li><p>Reference: Swift Digital Suite API <a href=\"https://docs.v3.api.swiftdigital.com.au/#32b5e53c-b1e4-447c-9511-30c16fe33cae\">Mailgroup/Create</a></p>\n</li>\n</ol>\n</li>\n<li><p><strong>API Request: Create/Update Contact</strong></p>\n<ol>\n<li><p>Call <code>POST /mailhouse/import/csv</code> or <code>POST /mailhouse/import/zip</code></p>\n</li>\n<li><p>The CSV or ZIP file needs to be converted to BASE 64.</p>\n</li>\n<li><p>The request body includes the file content and mapped fields (e.g first name, last name, email, custom fields, mail groups)</p>\n</li>\n<li><p>Reference: Swift Digital Suite API <a href=\"https://docs.v3.api.swiftdigital.com.au/#3b02a528-40bd-4297-b683-192a07d4e52a\">Import/CSV</a> or <a href=\"https://docs.v3.api.swiftdigital.com.au/#1168bea1-2abd-486b-aa33-a72d762d571f\">Import/ZIP</a></p>\n</li>\n</ol>\n</li>\n<li><p><strong>API Response</strong></p>\n<ol>\n<li><p>If successful, the API returns the import_id.</p>\n</li>\n<li><p>The contacts that come from inside the list from the CRM are reflected on the specified mail group in your account on the Swift Digital Suite platform.</p>\n</li>\n</ol>\n</li>\n</ol>\n<h5 id=\"api-alternate-workflow-1\">API Alternate Workflow</h5>\n<ul>\n<li><p><strong>Error Handling</strong></p>\n<ul>\n<li><p>API returns a validation error (e.g., invalid mail group ID).</p>\n</li>\n<li><p>A comprehensive import report is generated in the Mail House &gt; Import/Export &gt; Import Queue section of your account on the Swift Digital Suite platform after the import process is completed.</p>\n</li>\n<li><p>The import report includes blank rows, invalid email addresses, invalid mobile, etc..</p>\n</li>\n</ul>\n</li>\n</ul>\n<img src=\"https://content.pstmn.io/4aae96fd-c815-4f25-80d4-e4bdeb73ba36/U2NyZWVuc2hvdCAyMDI1LTA5LTA4IGF0IDE0LTIxLTQxIEFQSSB2MyBVc2UgQ2FzZXMgLSBBUEkgdjMgVXNlIENhc2VzLmRyYXdpby0xLnBkZi5wbmc=\" alt=\"Figure%204:%20Sync%20List%20of%20Contacts%20from%20CRM%20to%20Swift%20Digital%20Suite%20Mail%20Group%20(via%20Import)\" />","_postman_id":"ff1760f7-0652-4263-b6d7-37609a14759f","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}}],"id":"ccecdac4-6157-4a8e-b583-6020fd75d3c9","_postman_id":"ccecdac4-6157-4a8e-b583-6020fd75d3c9","description":"","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","id":"3b902962-097b-4ae4-9c95-f9cb63c78c29","name":"Swift Digital Suite REST API v3","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{}},"event":[{"listen":"prerequest","script":{"id":"a6ba04ad-a165-49a7-b345-599782ed43f5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"64aab31e-2bfc-47aa-a4b1-5fd013203ff7","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://v3.api.swiftdigital.com.au"}]}