{"info":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","description":"<html><head></head><body><h2 id=\"authentication\">Authentication</h2>\n<p>API requests require <strong>Basic Authentication</strong> or <strong>Oauth</strong> authentication in addition to <strong>IP Whitelisting.</strong></p>\n<h3 id=\"ip-whitelisting\">IP Whitelisting</h3>\n<p>Only <strong>whitelisted IP addresses</strong> are enabled for interfacing with mPulse APIs. To get access, please reach out to your Account Representative.</p>\n<h3 id=\"basic-authentication\">Basic Authentication</h3>\n<p>Basic Authentication uses a username and password to authenticate API requests. Basic Auth credentials can be generated using Program Manager.</p>\n<h4 id=\"how-to-include-in-the-header\">How to Include in the Header</h4>\n<ul>\n<li><p><strong>Username</strong>: <code>user@example.com</code></p>\n</li>\n<li><p><strong>Password</strong>: <code>mypassword</code></p>\n</li>\n</ul>\n<ol>\n<li><p>Combine credentials</p>\n<ol>\n<li><a href=\"https://mailto:user@example.com\">user@example.com</a>:mypassword</li>\n</ol>\n</li>\n<li><p><strong>Encode combined credentials in Base64</strong></p>\n<ol>\n<li>Results in <code>YOUR_ACCESS_TOKEN</code>.</li>\n</ol>\n</li>\n<li><p>Include in header</p>\n<ol>\n<li><code>Authorization: Basic YOUR_ACCESS_TOKEN</code></li>\n</ol>\n</li>\n</ol>\n<hr>\n<h2 id=\"oauth-20-authentication\">OAuth 2.0 Authentication</h2>\n<p>OAuth 2.0 uses access tokens to authenticate API requests. To generate an Oauth token, review the Oauth section below.</p>\n<h3 id=\"how-to-include-in-the-header-1\">How to Include in the Header</h3>\n<p>Include your access token in the <code>Authorization</code> header using the <code>oauth</code> scheme.</p>\n<p><strong>Header</strong>:</p>\n<p><code>Authorization: oauth YOUR_ACCESS_TOKEN</code></p>\n<p><strong>Note</strong>: Replace <code>YOUR_ACCESS_TOKEN</code> with the actual access token obtained using the Oauth endpoint. Keep your access token secure and do not expose it publicly.</p>\n<hr>\n<h2 id=\"summary-of-headers\">Summary of Headers</h2>\n<ul>\n<li><p><code>Authorization: Basic base64(username:password)</code></p>\n</li>\n<li><p><code>Authorization: oauth YOUR_ACCESS_TOKEN</code></p>\n</li>\n</ul>\n<h2 id=\"contact-based-identifiers-vs-unique-member-id\">Contact-Based Identifiers vs. Unique Member ID</h2>\n<h3 id=\"contact-based-identifier-accounts\">Contact-Based Identifier Accounts</h3>\n<ul>\n<li><p>Use <strong><code>mobile_phone</code></strong>, <strong><code>email</code></strong>, or <strong><code>app_member_id</code></strong> as unique identifiers.</p>\n</li>\n<li><p>When creating or updating members, you can identify them using these fields or <strong><code>id</code></strong>.</p>\n</li>\n</ul>\n<h3 id=\"unique-member-id-accounts\">Unique Member ID Accounts</h3>\n<ul>\n<li><p>Use <strong><code>client_member_id</code></strong> as the unique identifier.</p>\n</li>\n<li><p>When creating or updating members, you can identify them using <strong><code>client_member_id</code></strong> or <strong><code>id</code></strong>.</p>\n</li>\n</ul>\n<p><strong>Note:</strong> In both account types, <strong><code>id</code></strong> (also referred to as Audience Member ID) can always be used to identify a member.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"19138020","collectionId":"1da6a725-34a8-4729-b8e4-85ef5a787934","publishedId":"2sAXqnePeg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"20252c","highlight":"009ED9"},"publishDate":"2024-12-12T05:44:44.000Z"},"item":[{"name":"Member API","item":[{"name":"Create or Update Member(s)","id":"eff56fd8-94e6-4368-a052-435e224e4d1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"members\": [\n        {\n            \"id\": \"<integer>\",\n            \"email\": \"<string>\",\n            \"mobile_phone\": \"<string>\",\n            \"first_name\": \"<string>\",\n            \"last_name\": \"<string>\",\n            \"gender\": \"<string>\",\n            \"birth_date\": \"<date>\",\n            \"land_line\": \"<string>\",\n            \"zip_code\": \"<string>\",\n            \"address1\": \"<string>\",\n            \"address2\": \"<string>\",\n            \"city\": \"<string>\",\n            \"state\": \"<string>\",\n            \"country\": \"<string>\",\n            \"business_phone\": \"<string>\",\n            \"fax\": \"<string>\",\n            \"company\": \"<string>\",\n            \"job\": \"<string>\",\n            \"app_member_id\": \"<string>\",\n            \"preferred_language\": \"<string>\",\n            \"preferred_timezone\": \"<string>\",\n            \"client_member_id\": \"<string>\",\n            \"custom_fields\": {},\n            \"useragent\": \"<string>\",\n            \"rm_enabled\": false,\n            \"subscriptions\": [\n                {\n                    \"list_id\": \"<integer>\",\n                    \"channels\": [\n                        \"sms\", \"ivr\", \"email\"\n                    ],\n                    \"disable_welcome_message\": false,\n                    \"force_subscribe\": false,\n                    \"action\" : \"subscribe\"\n                },\n                {\n                    \"list_id\": \"<integer>\",\n                    \"channels\": [\n                        \"ivr\"\n                    ],\n                    \"disable_welcome_message\": false,\n                    \"force_subscribe\": false,\n                    \"action\" : \"unsubscribe\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/members","description":"<h4 id=\"description\">Description</h4>\n<p><strong>POST</strong> <code>/api/v1/accounts/{account_id}/members</code></p>\n<p>Create or update member(s) in the specified account - including subscribing, unsubscribing, updating data, and any other data related to member information.</p>\n<h4 id=\"path-parameters\">Path Parameters</h4>\n<ul>\n<li><strong><code>account_id</code></strong> (string) <strong>Required</strong>: The ID of your account.</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><strong><code>members</code></strong> (array of objects) <strong>Required</strong>: An array of member objects to create or update.</li>\n</ul>\n<h5 id=\"member-object-fields\">Member Object Fields</h5>\n<ul>\n<li><p><strong>Identification Fields</strong> (depending on account type):</p>\n<ul>\n<li><p><strong>Contact-Based Identifier Accounts</strong>: Use one or more of the following:</p>\n<ul>\n<li><p><strong><code>email</code></strong> (string)</p>\n</li>\n<li><p><strong><code>mobile_phone</code></strong> (string)</p>\n</li>\n<li><p><strong><code>app_member_id</code></strong> (string)</p>\n</li>\n<li><p><strong><code>id</code></strong> (integer)</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Unique Member ID Accounts</strong>: Use one of the following:</p>\n<ul>\n<li><p><strong><code>client_member_id</code></strong> (string)</p>\n</li>\n<li><p><strong><code>id</code></strong> (integer)</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Standard Fields</strong>:</p>\n<ul>\n<li><p><strong><code>first_name</code></strong> (string)</p>\n</li>\n<li><p><strong><code>last_name</code></strong> (string)</p>\n</li>\n<li><p><strong><code>gender</code></strong> (string): Allowable values include <code>\"female\"</code>, <code>\"male\"</code>, <code>\"transgender\"</code>, <code>\"gender neutral\"</code>, <code>\"non-binary\"</code>, <code>\"agender\"</code>, <code>\"pangender\"</code>, <code>\"genderqueer\"</code>, <code>\"two-spirit\"</code>, <code>\"third gender\"</code>, <code>\"transgender male\"</code>, <code>\"transgender female\"</code>, <code>\"other\"</code>.</p>\n</li>\n<li><p><strong><code>birth_date</code></strong> (string): Date in <code>\"YYYY-MM-DD\"</code> format.</p>\n</li>\n<li><p><strong><code>preferred_language</code></strong> (string): Language name in lowercase (e.g., <code>\"english\"</code>, <code>\"spanish\"</code>).</p>\n</li>\n<li><p><strong><code>preferred_timezone</code></strong> (string): Timezone identifier (e.g., <code>\"America/Los_Angeles\"</code>).</p>\n</li>\n<li><p><strong><code>custom_fields</code></strong> (object): Key-value pairs for custom data. Custom fields must exist in the system.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Subscription Fields</strong>:</p>\n<ul>\n<li><p><strong><code>subscriptions</code></strong> (array of objects): Details of the member's subscriptions.</p>\n<ul>\n<li><p><strong><code>channels</code></strong> (array of strings) <strong>Required</strong>: Channels to subscribe to. Allowable values:</p>\n<ul>\n<li><p><code>\"sms\"</code></p>\n</li>\n<li><p><code>\"email\"</code></p>\n</li>\n<li><p><code>\"ivr\"</code></p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>disable_welcome_message</code></strong> (boolean): If <code>true</code>, disables the welcome message.</p>\n</li>\n<li><p><strong><code>force_subscribe</code></strong> (boolean): If <code>true</code>, forces the subscription even if previously unsubscribed.</p>\n</li>\n<li><p><strong><code>action</code></strong>(string) : If <code>subscribe</code> member will be subscribed, if <code>unsubscribe</code> member will be unsubscribed.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h5 id=\"example-request-body\">Example Request Body:</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"members\": [\n        {\n            \"client_member_id\": \"client123\",\n            \"email\": \"john.doe@example.com\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"gender\": \"Male\",\n            \"birth_date\": \"1990-01-01\",\n            \"preferred_language\": \"english\",\n            \"preferred_timezone\": \"America/Los_Angeles\",\n            \"rm_enabled\": false,\n            \"custom_fields\": {\n                \"membership_level\": \"Gold\",\n                \"referral_code\": \"ABC123\"\n            },\n            \"subscriptions\": [\n                {\n                    \"list_id\": 1001,\n                    \"channels\": [\"email\", \"sms\"],\n                    \"disable_welcome_message\": false,\n                    \"force_subscribe\": false,\n                    \"action\" : \"subscribe\"\n                }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>A JSON object containing an array of the created or updated member objects.A JSON object containing an array of the created or updated member objects. Each member object may include an <code>errors</code> array if there were any validation errors, and a <code>success</code> boolean indicating if the operation was successful for that member.</p>\n<h5 id=\"success-response-example\">Success Response Example</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"members\": [\n        {\n            \"id\": 133994543,\n            \"created_on\": \"2024-09-12T15:13:52.813387-07:00\",\n            \"last_modified_on\": \"2024-09-12T15:13:52.813387-07:00\",\n            \"email\": \"john.doe@example.com\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"gender\": \"male\",\n            \"birth_date\": \"1990-01-01\",\n            \"preferred_language\": \"english\",\n            \"preferred_timezone\": \"America/Los_Angeles\",\n            \"client_member_id\": \"client123\",\n            \"custom_fields\": {},\n            \"rm_enabled\": false,\n            \"subscriptions\": [\n                {\n                    \"list_id\": 22249,\n                    \"channels\": [\n                        {\n                            \"name\": \"email\",\n                            \"status\": \"ACTIVE\",\n                            \"status_reason\": \"subscribed\"\n                        },\n                        {\n                            \"name\": \"sms\",\n                            \"status\": null,\n                            \"status_reason\": \"not_list_enabled\"\n                        }\n                    ],\n                    \"disable_welcome_message\": false,\n                    \"force_subscribe\": false,\n                    \"action\": \"subscribe\"\n                },\n                {\n                    \"list_id\": 21692,\n                    \"channels\": [\n                        {\n                            \"name\": \"ivr\",\n                            \"status\": null,\n                            \"status_reason\": \"no_subscription_identifier\"\n                        }\n                    ],\n                    \"disable_welcome_message\": false,\n                    \"force_subscribe\": false,\n                    \"action\": \"subscribe\"\n                }\n            ],\n            \"errors\": null,\n            \"success\": true\n        }\n    ]\n}\n\n</code></pre>\n<h5 id=\"error-response-example\">Error Response Example</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"members\": [\n        {\n            \"id\": null,\n            \"created_on\": null,\n            \"last_modified_on\": null,\n            \"email\": \"john.doe@example.com\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"gender\": \"Anc\",\n            \"birth_date\": \"1990-01-0\",\n            \"preferred_language\": \"en\",\n            \"preferred_timezone\": \"America/os_Angeles\",\n            \"client_member_id\": \"client123\",\n            \"custom_fields\": {},\n            \"rm_enabled\": false,\n            \"subscriptions\": [],\n            \"errors\": [\n                {\n                    \"field\": \"gender\",\n                    \"message\": \"gender:Invalid value Anc. Valid options are female,male,transgender,gender neutral,non-binary,agender,pangender,genderqueer,two-spirit,third gender,transgender male,transgender female,other\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                },\n                {\n                    \"field\": \"birth_date\",\n                    \"message\": \"birth_date:Invalid date format with value 1990-01-0\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                },\n                {\n                    \"field\": \"preferred_language\",\n                    \"message\": \"preferred_language:Invalid value en. Valid options are english,spanish,(afan) oromo,...\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                },\n                {\n                    \"field\": \"custom_fields.membership_level\",\n                    \"message\": \"The field membership_level does not exist.\",\n                    \"error_code\": \"field_not_found\",\n                    \"is_failed\": true\n                },\n                {\n                    \"field\": \"preferred_timezone\",\n                    \"message\": \"preferred_timezone:Invalid value America/os_Angeles. Valid options are America/New_York, America/Chicago,...\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                }\n            ],\n            \"success\": false\n        }\n    ]\n}\n\n</code></pre>\n<h4 id=\"error-handling\">Error Handling</h4>\n<p>When validation errors occur, the API returns an <code>errors</code> array within each affected member object. Each error object contains:</p>\n<ul>\n<li><p><strong><code>field</code></strong> (string): The field that caused the error.</p>\n</li>\n<li><p><strong><code>message</code></strong> (string): A detailed error message.</p>\n</li>\n<li><p><strong><code>error_code</code></strong> (string): A code representing the error type.</p>\n</li>\n<li><p><strong><code>is_failed</code></strong> (boolean): Indicates if the operation failed due to this error.</p>\n</li>\n</ul>\n<p>The <code>success</code> field for the member will be <code>false</code> if any errors are present.</p>\n<h5 id=\"possible-error-codes\">Possible Error Codes</h5>\n<ul>\n<li><p><strong><code>list_not_exist</code></strong></p>\n<ul>\n<li>The provided list ID does not exist or is not associated with the current account.</li>\n</ul>\n</li>\n<li><p><strong><code>field_not_found</code></strong></p>\n<ul>\n<li>The specified field does not exist in the system.</li>\n</ul>\n</li>\n<li><p><strong><code>field_validation_failed</code></strong></p>\n<ul>\n<li><p>The field failed validation due to an invalid value or format.</p>\n<ul>\n<li><p>A required field may be missing.</p>\n</li>\n<li><p>An ID provided for a member may not be a number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>id_not_exist</code></strong></p>\n<ul>\n<li>The provided Member ID does not exist or is not associated with the current account.</li>\n</ul>\n</li>\n<li><p><strong><code>missing_identifier</code></strong></p>\n<ul>\n<li>The Member record lacks an identifier (e.g., legacy identifiers or UMI) recognized by the current account.</li>\n</ul>\n</li>\n<li><p><strong><code>unknown_validation_failure</code></strong></p>\n<ul>\n<li>A catch-all for unspecified validation failures not covered by other specific error codes.</li>\n</ul>\n</li>\n<li><p><strong><code>merge_error</code></strong></p>\n<ul>\n<li>Multiple identifiers provided cannot be consolidated into a single existing member record.</li>\n</ul>\n</li>\n</ul>\n<h5 id=\"subscription-errors\">Subscription Errors</h5>\n<p>In the <code>subscriptions</code> array, each subscription may contain channels with potential errors, indicated by the <code>status</code> and <code>status_reason</code> fields.</p>\n<p><strong>Possible</strong> <strong><code>status</code></strong> <strong>Values:</strong></p>\n<ul>\n<li><p><code>\"ACTIVE\"</code>: Subscription is active.</p>\n</li>\n<li><p><code>\"INACTIVE\"</code>: Subscription is inactive.</p>\n</li>\n<li><p><code>null</code>: Subscription does not exist for the member.</p>\n</li>\n</ul>\n<p><strong>Possible</strong> <strong><code>status_reason</code></strong> <strong>Values:</strong></p>\n<ul>\n<li><p><code>\"subscribed\"</code>: Successfully subscribed.</p>\n</li>\n<li><p><code>\"already_unsubscribed\"</code>: Member has already unsubscribed from this channel.</p>\n</li>\n<li><p><code>\"not_list_enabled\"</code>: The list does not support this channel.</p>\n</li>\n<li><p><code>\"no_subscription_identifier\"</code>: Missing required subscription identifier for this channel.</p>\n</li>\n</ul>\n<h5 id=\"subscription-error-example\">Subscription Error Example</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"list_id\": 22249,\n    \"channels\": [\n        {\n            \"name\": \"email\",\n            \"status\": \"INACTIVE\",\n            \"status_reason\": \"already_unsubscribed\"\n        },\n        {\n            \"name\": \"sms\",\n            \"status\": null,\n            \"status_reason\": \"not_list_enabled\"\n        }\n    ],\n    \"disable_welcome_message\": false,\n    \"force_subscribe\": false,\n    \"action\": \"subscribe\"\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","members"],"host":["members","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"5a78de7b-3b72-409e-9437-8f6f813a8b78","name":"Create or Update Member(s)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"members\": [\n        {\n            \"client_member_id\": \"client123\",\n            \"email\": \"john.doe@example.com\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"gender\": \"male\",\n            \"birth_date\": \"1990-01-01\",\n            \"preferred_language\": \"english\",\n            \"preferred_timezone\": \"America/Los_Angeles\",\n            \"rm_enabled\": false,\n            \"custom_fields\": {\n                \"membership_level\": \"Gold\"\n            },\n            \"subscriptions\": [\n                {\n                    \"list_id\": 1001,\n                    \"channels\": [\"email\"],\n                    \"disable_welcome_message\": false,\n                    \"force_subscribe\": false\n                }\n            ]\n        },\n        {\n            \"client_member_id\": \"client124\",\n            \"email\": \"jane.doe@example.com\",\n            \"first_name\": \"Jane\",\n            \"last_name\": \"Doe\",\n            \"gender\": \"unknown\",\n            \"birth_date\": \"1985-13-01\",  // Invalid date\n            \"preferred_language\": \"en\",  // Invalid language value\n            \"preferred_timezone\": \"America/Nowhere\",  // Invalid timezone\n            \"rm_enabled\": false,\n            \"custom_fields\": {\n                \"membership_level\": \"Silver\",\n                \"nonexistent_field\": \"Value\"  // Field does not exist\n            },\n            \"subscriptions\": [\n                {\n                    \"list_id\": 1002,\n                    \"channels\": [\"sms\"],\n                    \"disable_welcome_message\": false,\n                    \"force_subscribe\": false\n                }\n            ]\n        }\n    ]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/members"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"members\": [\n        {\n            \"id\": 133994543,\n            \"created_on\": \"2024-09-12T15:13:52.813387-07:00\",\n            \"last_modified_on\": \"2024-09-12T15:13:52.813387-07:00\",\n            \"email\": \"john.doe@example.com\",\n            \"mobile_phone\": null,\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"gender\": \"male\",\n            \"birth_date\": \"1990-01-01\",\n            \"land_line\": null,\n            \"zip_code\": null,\n            \"address1\": null,\n            \"address2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"country\": null,\n            \"business_phone\": null,\n            \"fax\": null,\n            \"company\": null,\n            \"job\": null,\n            \"app_member_id\": null,\n            \"app_name\": null,\n            \"mobile_os\": null,\n            \"map_id\": null,\n            \"preferred_language\": \"english\",\n            \"client_member_id\": \"client123\",\n            \"custom_fields\": {\n                \"membership_level\": \"Gold\"\n            },\n            \"useragent\": null,\n            \"rm_enabled\": false,\n            \"preferred_timezone\": \"America/Los_Angeles\",\n            \"subscriptions\": [\n                {\n                    \"list_id\": 1001,\n                    \"channels\": [\n                        {\n                            \"name\": \"email\",\n                            \"status\": \"ACTIVE\",\n                            \"status_reason\": \"subscribed\"\n                        }\n                    ],\n                    \"disable_welcome_message\": false,\n                    \"force_subscribe\": false,\n                    \"action\": \"subscribe\"\n                }\n            ],\n            \"errors\": null,\n            \"success\": true\n        },\n        {\n            \"id\": null,\n            \"created_on\": null,\n            \"last_modified_on\": null,\n            \"email\": \"jane.doe@example.com\",\n            \"mobile_phone\": null,\n            \"first_name\": \"Jane\",\n            \"last_name\": \"Doe\",\n            \"gender\": \"unknown\",\n            \"birth_date\": \"1985-13-01\",\n            \"land_line\": null,\n            \"zip_code\": null,\n            \"address1\": null,\n            \"address2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"country\": null,\n            \"business_phone\": null,\n            \"fax\": null,\n            \"company\": null,\n            \"job\": null,\n            \"app_member_id\": null,\n            \"app_name\": null,\n            \"mobile_os\": null,\n            \"map_id\": null,\n            \"preferred_language\": \"en\",\n            \"client_member_id\": \"client124\",\n            \"custom_fields\": {\n                \"membership_level\": \"Silver\",\n                \"nonexistent_field\": \"Value\"\n            },\n            \"useragent\": null,\n            \"rm_enabled\": false,\n            \"preferred_timezone\": \"America/Nowhere\",\n            \"subscriptions\": [\n                {\n                    \"list_id\": 1002,\n                    \"channels\": [\n                        {\n                            \"name\": \"sms\",\n                            \"status\": null,\n                            \"status_reason\": \"no_subscription_identifier\"\n                        }\n                    ],\n                    \"disable_welcome_message\": false,\n                    \"force_subscribe\": false,\n                    \"action\": \"subscribe\"\n                }\n            ],\n            \"errors\": [\n                {\n                    \"field\": \"gender\",\n                    \"message\": \"gender:Invalid value unknown. Valid options are female,male,transgender,gender neutral,non-binary,agender,pangender,genderqueer,two-spirit,third gender,transgender male,transgender female,other\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                },\n                {\n                    \"field\": \"birth_date\",\n                    \"message\": \"birth_date:Invalid date format with value 1985-13-01\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                },\n                {\n                    \"field\": \"preferred_language\",\n                    \"message\": \"preferred_language:Invalid value en. Valid options are english,spanish,(afan) oromo,abkhazian,afar,...\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                },\n                {\n                    \"field\": \"preferred_timezone\",\n                    \"message\": \"preferred_timezone:Invalid value America/Nowhere. Valid options are America/New_York,America/Chicago,...\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                },\n                {\n                    \"field\": \"custom_fields.nonexistent_field\",\n                    \"message\": \"The field nonexistent_field does not exist.\",\n                    \"error_code\": \"field_not_found\",\n                    \"is_failed\": true\n                }\n            ],\n            \"success\": false\n        }\n    ]\n}\n"}],"_postman_id":"eff56fd8-94e6-4368-a052-435e224e4d1e"},{"name":"Get Member","id":"f1c240b0-87c0-4a75-8fd5-46c353c185a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/members?member_ids=<integer>&member_ids=<integer>","description":"<p><strong>GET</strong> <code>/api/v1/accounts/{account_id}/members</code></p>\n<h4 id=\"description\">Description</h4>\n<p>Retrieve information for one or more members in the specified account.</p>\n<h4 id=\"path-parameters\">Path Parameters</h4>\n<ul>\n<li><strong><code>account_id</code></strong> (string) <strong>Required</strong>: The ID of your account.</li>\n</ul>\n<h4 id=\"query-parameters\">Query Parameters</h4>\n<ul>\n<li><p><strong><code>identifier</code></strong> (string) <em>Optional</em>: The type of identifier used in <code>member_ids</code>. Allowable values:</p>\n<ul>\n<li><p><code>\"id\"</code> (default)</p>\n</li>\n<li><p><code>\"client_member_id\"</code></p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>member_ids</code></strong> (string) <strong>Required</strong>: Provide up to 5 member identifiers as <i><b>separate</b></i> query parameters.</p>\n</li>\n</ul>\n<h4 id=\"retrieving-multiple-members\">Retrieving Multiple Members</h4>\n<p>To retrieve multiple members, you must pass multiple <code>member_ids</code> query parameters in the URL, with a maximum of up to 5.</p>\n<h4 id=\"identifying-members\">Identifying Members</h4>\n<ul>\n<li><p><strong>Contact-Based Identifier Accounts</strong>:</p>\n<ul>\n<li>Use <strong><code>identifier=id</code></strong> (default) and provide system-assigned member IDs.</li>\n</ul>\n</li>\n<li><p><strong>Unique Member ID Accounts</strong>:</p>\n<ul>\n<li>Use <strong><code>identifier=client_member_id</code></strong> and provide your own unique member IDs.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>A JSON object containing an array of member data and a <code>total</code> count.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": 131171889,\n            \"account_id\": 1992,\n            \"account_name\": \"Example Account\",\n            \"email\": \"john.doe@example.com\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"gender\": null,\n            \"birth_date\": \"1992-04-17\",\n            \"client_member_id\": \"client123\",\n            \"custom_fields\": {},\n            \"rm_enabled\": false,\n            \"created_on\": \"2024-07-22T14:08:57.653071-07:00\",\n            \"last_modified_on\": \"2024-09-12T15:13:52.813387-07:00\",\n            \"subscriptions\": [\n                {\n                    \"id\": 279541023,\n                    \"list_id\": 20083,\n                    \"sms_status\": \"INACTIVE\",\n                    \"email_status\": \"ACTIVE\",\n                    \"created_on\": \"2024-07-22T14:08:57.754545-07:00\",\n                    \"last_modified_on\": \"2024-07-23T07:30:18.902043-07:00\",\n                    \"list\": {\n                        \"id\": 20083,\n                        \"name\": \"Example List\",\n                        \"from_name\": \"Example Sender\",\n                        \"send_from\": \"no-reply@example.com\",\n                        \"reply_to\": \"support@example.com\",\n                        \"permission_reminder\": \"You are receiving this because you signed up...\",\n                        \"contact_address\": \"123 Example St, Anytown, USA\",\n                        \"keyword\": \"EXAMPLEKEYWORD\",\n                        \"description\": \"An example subscription list.\",\n                        \"shortcode\": \"12345\",\n                        \"shortcode_tokens\": {\n                            \"ACCOUNT_NAME\": \"Example Account\",\n                            \"MSGS\": \"5\",\n                            \"HELP_PHONE\": \"800-123-4567\",\n                            \"HELP_EMAIL\": \"support@example.com\",\n                            \"TIME_UNIT\": \"msg/mo\"\n                        },\n                        \"vcfcard\": \"\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"total\": 1\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","members"],"host":["members","mpulsemobile","com"],"query":[{"key":"member_ids","value":"<integer>"},{"key":"member_ids","value":"<integer>"}],"variable":[]}},"response":[{"id":"0e61ada9-07a7-4538-b2ce-5dace3d00b3f","name":"Get Member","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/members?member_ids=133994543","protocol":"https","host":["members","mpulsemobile","com"],"path":["api","v1","accounts","{{account_id}}","members"],"query":[{"key":"member_ids","value":"133994543"},{"key":"member_ids","value":"<integer>","disabled":true}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 133994543,\n            \"account_id\": 1992,\n            \"account_name\": \"Example Account\",\n            \"email\": \"john.doe@example.com\",\n            \"mobile_phone\": null,\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"gender\": \"male\",\n            \"birth_date\": \"1990-01-01\",\n            \"land_line\": null,\n            \"zip_code\": null,\n            \"address1\": null,\n            \"address2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"country\": null,\n            \"business_phone\": null,\n            \"fax\": null,\n            \"company\": null,\n            \"job\": null,\n            \"app_member_id\": null,\n            \"app_name\": null,\n            \"mobile_os\": null,\n            \"map_id\": null,\n            \"preferred_language\": \"english\",\n            \"client_member_id\": \"client123\",\n            \"deleted\": false,\n            \"custom_fields\": {\n                \"membership_level\": \"Gold\"\n            },\n            \"useragent\": null,\n            \"rm_enabled\": false,\n            \"preferred_timezone\": \"America/Los_Angeles\",\n            \"created_on\": \"2024-09-12T15:13:52.813387-07:00\",\n            \"last_modified_on\": \"2024-09-12T15:13:52.813387-07:00\",\n            \"subscriptions\": [\n                {\n                    \"id\": 279541023,\n                    \"list_id\": 1001,\n                    \"sms_status\": null,\n                    \"email_status\": \"ACTIVE\",\n                    \"secure_message_status\": null,\n                    \"pn_status\": null,\n                    \"ivr_status\": null,\n                    \"last_updated_channel\": \"email\",\n                    \"created_on\": \"2024-09-12T15:13:52.813387-07:00\",\n                    \"last_modified_on\": \"2024-09-12T15:13:52.813387-07:00\",\n                    \"list\": {\n                        \"id\": 1001,\n                        \"name\": \"Newsletter\",\n                        \"from_name\": \"Example Company\",\n                        \"send_from\": \"newsletter@example.com\",\n                        \"reply_to\": \"support@example.com\",\n                        \"permission_reminder\": \"You're receiving this because you signed up.\",\n                        \"contact_address\": \"123 Main St, Anytown, USA\",\n                        \"keyword\": \"NEWS\",\n                        \"description\": \"Monthly Newsletter\",\n                        \"shortcode\": \"12345\",\n                        \"shortcode_tokens\": {\n                            \"ACCOUNT_NAME\": \"Example Account\",\n                            \"MSGS\": \"1\",\n                            \"HELP_PHONE\": \"800-123-4567\",\n                            \"HELP_EMAIL\": \"support@example.com\",\n                            \"TIME_UNIT\": \"msg/mo\"\n                        },\n                        \"vcfcard\": \"\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"total\": 1\n}\n"}],"_postman_id":"f1c240b0-87c0-4a75-8fd5-46c353c185a5"}],"id":"66e83281-e66b-4bc0-b25f-af3dcce832ce","description":"<h2 id=\"introduction\">Introduction</h2>\n<p>The mPulse Member API allows you to manage members within your account. You can create, update, and retrieve member information, including their subscriptions to various channels such as SMS, Email, and IVR.</p>\n<h2 id=\"key-differences-with-the-audience-api\">Key Differences with the Audience API</h2>\n<p><strong>Support both identifier types</strong></p>\n<p>Member API supports accounts that leverage contact identifiers and unique member identifiers.</p>\n<p><strong>Field Name Differences</strong></p>\n<p><em>It should be noted that certain data elements are referenced and accessed differently than our legacy Audience API. The list below will continue to</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Audience API</strong></th>\n<th><strong>Member API (New)</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>memberid</td>\n<td>id</td>\n</tr>\n<tr>\n<td>firstname</td>\n<td>first_name</td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>last_name</td>\n</tr>\n<tr>\n<td>language</td>\n<td>preferred_language</td>\n</tr>\n<tr>\n<td>mobilephone</td>\n<td>mobile_phone</td>\n</tr>\n<tr>\n<td>clientmemberid</td>\n<td>client_member_id</td>\n</tr>\n<tr>\n<td>home_phone_number</td>\n<td>land_line</td>\n</tr>\n<tr>\n<td>zipcode</td>\n<td>zip_code</td>\n</tr>\n<tr>\n<td>appmemberid</td>\n<td>app_member_id</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Note: This list may not be exhaustive. When in doubt, reference this documentation for existing field standards. The standards on the Member API better match what is shown on Program Manager.</em></p>\n<p><strong>Accessing Custom Fields</strong></p>\n<p>In Audience API, custom fields are accessed through the <code>custom_data</code> object. In the new Member API, we retain the same name as one would expect and those fields are accessed through the <code>custom_fields</code> object.</p>\n","event":[{"listen":"prerequest","script":{"id":"0c27faeb-83c1-4438-b596-053c7f760269","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"8df67df3-3ce4-4e56-b912-29c6c133a90b","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"66e83281-e66b-4bc0-b25f-af3dcce832ce","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}},{"name":"Event API","item":[{"name":"Event Upload - One or Many Events","id":"40a2291b-0dee-4956-8424-db6153043557","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-API-Version","value":"2.0"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"body\": {\n      \"events\": {\n         \"name\": \"sample_event\",\n         \"event\": [\n         {\n            \"scheduled_on\": \"+00:00\",\n            \"timezone\": \"US/Pacific\",\n            \"evaluation_scope\": \"no_rule\",\n            \"client_member_id\": \"13105551212\",\n            \"sample_attribute\": \"diabetes\",\n            \"correlationid\": \"U123BZ7\"\n         },\n         {\n            \"scheduled_on\": \"+00:00\",\n            \"timezone\": \"US/Pacific\",\n            \"evaluation_scope\": \"no_rule\",\n            \"client_member_id\": \"412418261\",\n            \"sample_attribute\": \"high blood pressure\",\n            \"correlationid\": \"U123BZ9\"\n         }\n        ]\n      },\n      \"listid\": {{list_id}}\n   }\n}"},"url":"https://ms-api.mpulsemobile.com/account/{{account_id}}/uploadEvent","description":"<p><strong>POST</strong> <code>/account/{account_id}/uploadEvent</code></p>\n<p><strong>Base URL:</strong> <code>https://ms-api.mpulsemobile.com</code></p>\n<h2 id=\"request-headers\">Request Headers</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Required</th>\n<th>Values</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>X-Ms-Source</code></td>\n<td>yes</td>\n<td><code>api</code></td>\n<td>N/A</td>\n</tr>\n<tr>\n<td><code>X-Ms-Format</code></td>\n<td>yes</td>\n<td><code>json</code> or <code>xml</code></td>\n<td>N/A</td>\n</tr>\n<tr>\n<td><code>Authentication</code></td>\n<td>no</td>\n<td>Basic Auth (see Account team for your credentials )</td>\n<td>You must use either the <code>Authentication</code> header or the <code>Access-Token</code> header (see below)</td>\n</tr>\n<tr>\n<td><code>Access-Token</code></td>\n<td>no</td>\n<td><code>{ACCESS_TOKEN}</code></td>\n<td>If using OAuth for authentication, the value is <code>{ACCESS_TOKEN}</code>; see the <a href=\"https://mpulsemobile.atlassian.net/wiki/spaces/MPA/overview?preview=/491550/456491022/oauth%20documentation%20-%201-5-18.docx\">OAuth Documentation</a> for instructions on how to get a password using the OAuth Password Grant API</td>\n</tr>\n<tr>\n<td><code>X-Ms-API-Version</code></td>\n<td>yes</td>\n<td><code>2.0</code></td>\n<td>N/A</td>\n</tr>\n<tr>\n<td><code>X-Ms-Verbosity</code></td>\n<td>no</td>\n<td><code>simple</code> (default) or <code>full</code></td>\n<td><code>simple</code> response does not include original request; <code>full</code> includes original request</td>\n</tr>\n<tr>\n<td><code>X-Ms-Async</code></td>\n<td>no</td>\n<td><code>false</code> (default) or <code>true</code></td>\n<td>Sync processing allows for 20 stanzas per request; async processing allows up to 2,000 stanzas per request</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request Body</h2>\n<p>The request body should be a JSON object containing the event details and the target list ID.</p>\n<h3 id=\"root-object\">Root Object</h3>\n<ul>\n<li><strong><code>body</code></strong> (object) <strong>Required</strong>: The main container for the request.</li>\n</ul>\n<h4 id=\"body-object-fields\"><code>body</code> Object Fields</h4>\n<ul>\n<li><p><strong><code>events</code></strong> (object) <strong>Required</strong>: Contains the event name and event instances.</p>\n<ul>\n<li><p><strong><code>name</code></strong> (string) <strong>Required</strong>: The name of the event definition configured in your account.</p>\n</li>\n<li><p><strong><code>event</code></strong> (array of objects) <strong>Required</strong>: An array of event instances to process.</p>\n<ul>\n<li><p>Each event instance can include:</p>\n<ul>\n<li><p><strong><code>scheduled_on</code></strong> (string) <strong>Optional</strong>: The scheduled time for the event in <code>+HH:MM</code> format (e.g., <code>\"+00:00\"</code> for immediate execution).</p>\n</li>\n<li><p><strong><code>timezone</code></strong> (string) <strong>Optional</strong>: The timezone for scheduling (e.g., <code>\"US/Pacific\"</code>).</p>\n</li>\n<li><p><strong><code>evaluation_scope</code></strong> (string) <strong>Optional</strong>: The evaluation scope for rules. Default is <code>\"no_rule\"</code>.</p>\n</li>\n<li><p><strong>Member Identifiers</strong>: <strong>Required</strong>. Acceptable identifiers depend on your account type (see <a href=\"#member-identification\">Member Identification</a> for details).</p>\n</li>\n<li><p><strong>Custom Attributes</strong>: Any additional attributes relevant to the event (e.g., <code>\"sample_attribute\"</code>).</p>\n</li>\n<li><p><strong>Correlation ID (string) Optional:</strong> A special correlationid attribute can be passed per event instance, which is associated to every downstream action like MESSAGE_SENT, LINK_CLICKED, MESSAGE_RECEIVED etc. triggered due to this event execution.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>listid</code></strong> (integer) <strong>Required</strong>: The ID of the list associated with the event.</p>\n</li>\n</ul>\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"body\": {\n    \"events\": {\n      \"name\": \"sample_event\",\n      \"event\": [\n        {\n          \"scheduled_on\": \"+00:00\",\n          \"timezone\": \"US/Pacific\",\n          \"evaluation_scope\": \"no_rule\",\n          \"client_member_id\": \"client123\",\n          \"sample_attribute\": \"diabetes\",\n          \"correlationid\": \"U123BZ7\"\n        },\n        {\n          \"scheduled_on\": \"+00:00\",\n          \"timezone\": \"US/Pacific\",\n          \"evaluation_scope\": \"no_rule\",\n          \"client_member_id\": \"client124\",\n          \"sample_attribute\": \"high blood pressure\",\n          \"correlationid\": \"U123BZ9\"\n        }\n      ]\n    },\n    \"listid\": 12345\n  }\n}\n\n</code></pre>\n<h3 id=\"error-response-example\">Error Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"body\": {\n    \"results\": {\n      \"processed_event_instances\": \"0\",\n      \"scheduled_messages\": \"0\",\n      \"errors\": \"1\",\n      \"details\": {\n        \"events_error\": {\n          \"error_code\": \"ERR-EVNTS-001\",\n          \"error_message\": \"The 'event_name' provided in the request does not exist in the account.\"\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n<h3 id=\"error-response-structure\">Error Response Structure</h3>\n<p>When an error occurs, the response will include:</p>\n<ul>\n<li><p><strong><code>errors</code></strong>: The number of errors encountered.</p>\n</li>\n<li><p><strong><code>details</code></strong>:</p>\n<ul>\n<li><p><strong><code>events_error</code></strong> (object): Contains error details.</p>\n<ul>\n<li><p><strong><code>error_code</code></strong>: The specific error code.</p>\n</li>\n<li><p><strong><code>error_message</code></strong>: A descriptive message about the error.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"common-error-codes\">Common Error Codes</h3>\n<p>Below is a list of error codes that the Event Upload API may return, along with their descriptions:</p>\n<h4 id=\"general-errors\">General Errors</h4>\n<ul>\n<li><p><strong><code>ERR-EVNTS-000</code></strong>: The XML in the request could not be processed.</p>\n</li>\n<li><p><strong><code>ERR-EVNTS-001</code></strong>: The <code>event_name</code> provided in the request does not exist in the account.</p>\n</li>\n<li><p><strong><code>ERR-EVNTS-002</code></strong>: The <code>listid</code> tag is either missing or does not contain a value.</p>\n</li>\n<li><p><strong><code>ERR-EVNTS-003</code></strong>: The <code>listid</code> does not exist in the account.</p>\n</li>\n<li><p><strong><code>ERR-EVNTS-004</code></strong>: The <code>listid</code> exists in the account but is not active (i.e., it has been retired).</p>\n</li>\n<li><p><strong><code>ERR-EVNTS-011</code></strong>: The JSON in the request could not be processed.</p>\n</li>\n<li><p><strong><code>ERR-EVNTS-014</code></strong>: You passed a reserved character.</p>\n</li>\n</ul>\n<h4 id=\"event-instance-errors\">Event Instance Errors</h4>\n<ul>\n<li><p><strong><code>ERR-EVENT-000</code></strong>: The <code>scheduled_on</code> value provided is in the wrong format.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-001</code></strong>: The <code>scheduled_on</code> value provided is in the past.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-002</code></strong>: The <code>timezone</code> value provided is in the wrong format.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-003</code></strong>: The <code>evaluation_scope</code> value provided is not one of the accepted values.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-004</code></strong>: One or more required event attributes are missing.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-005</code></strong>: The value for the given event attribute is invalid.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-006</code></strong>: There are no active messages for the given event.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-007</code></strong>: There are no active messages for the given event with the given evaluation scope.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-008</code></strong>: The member in the event instance is either null or is not a valid member.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-010</code></strong>: Message ID [message_id] not scheduled: The member is not subscribed to the [channel] channel on this list.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-012</code></strong>: Message ID [message_id] not scheduled: Frequency limit for this member in this event instance has been reached.</p>\n</li>\n<li><p><strong><code>ERR-EVENT-013</code></strong>: Dialogue ID [dialogue_id] not scheduled: The member is not subscribed to the SMS channel on this list or the member does not lie in the segment.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["account","{{account_id}}","uploadEvent"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"7fca1a8b-a878-45d1-b7d0-77acf8d5aab3","name":"Event Upload - One or Many Events","originalRequest":{"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-API-Version","value":"2.0"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"events\": [\n        {\n            \"client_member_id\": \"client123\",\n            \"event_name\": \"appointment\",\n            \"event_date\": \"2024-09-12T15:13:52Z\",\n            \"properties\": {\n                \"appointment_id\": \"41342321\",\n                \"type\": \"checkup\"\n            }\n        },\n        {\n            \"client_member_id\": \"client124\",\n            \"event_name\": \"\",\n            \"event_date\": \"invalid-date\",\n            \"properties\": {\n                \"appointment_id\": \"41342321\",\n            }\n        }\n    ]\n}\n"},"url":"https://ms-api.mpulsemobile.com/account/{{account_id}}/uploadEvent"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"events\": [\n        {\n            \"event_id\": \"evt_123456789\",\n            \"client_member_id\": \"client123\",\n            \"event_name\": \"appointment\",\n            \"event_date\": \"2024-09-12T15:13:52Z\",\n            \"properties\": {\n                \"appointment_id\": \"41342321\",\n                \"type\": \"checkup\"\n            },\n            \"errors\": null,\n            \"success\": true\n        },\n        {\n            \"event_id\": null,\n            \"client_member_id\": \"client124\",\n            \"event_name\": \"\",\n            \"event_date\": \"invalid-date\",\n            \"properties\": {\n                \"item_id\": \"SKU67890\",\n                \"amount\": \"not-a-number\"\n            },\n            \"errors\": [\n                {\n                    \"field\": \"event_name\",\n                    \"message\": \"event_name is required.\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                },\n                {\n                    \"field\": \"event_date\",\n                    \"message\": \"event_date: Invalid date format.\",\n                    \"error_code\": \"field_validation_failed\",\n                    \"is_failed\": true\n                }\n            ],\n            \"success\": false\n        }\n    ]\n}\n"}],"_postman_id":"40a2291b-0dee-4956-8424-db6153043557"},{"name":"Event Upload Async","id":"46780621-a612-4f81-9942-9f2d7d7362d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-API-Version","value":"2.0"},{"key":"X-Ms-Async","value":"true","type":"text"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"body\": {\n      \"events\": {\n         \"name\": \"sample event\",\n         \"event\": {\n                \"scheduled_on\": \"+00:00\",\n                \"timezone\": \"US/Pacific\",\n                \"evaluation_scope\": \"all\",\n                \"memberid\": \"86793779\",\n                \"correlationid\": \"ABC567\"\n \n            } \n      },\n      \"listid\": 50806\n   }\n}","options":{"raw":{"language":"json"}}},"url":"https://ms-api.mpulsemobile.com/account/{{account_id}}/uploadEvent","description":"<h2 id=\"event-upload-async\"><strong>Event Upload Async</strong></h2>\n<p><strong>Base URL:</strong> <code>https://ms-api.mpulsemobile.com/account/{{account_id}}/uploadEvent</code></p>\n<p>Event Upload API when called with the header <code>X-Ms-Async</code> set to <code>true</code> will process events asynchronously. Rest of the request headers and payload remain the same as the regular non async version. If there are no errors, it will return a 200 OK response with a status URL having a unique request id.</p>\n<h4 id=\"sample-response\">Sample Response:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"body\": {\n    \"result\": {\n      \"status\": \"success\",\n      \"message\": \"Upload Event is being processed in background. Status of processing is available on given URL.\",\n      \"url\": \"https://ms-api.mpulse.io/account/1458/uploadEventStatus?requestId=1458851e963a977a455496bb412ea49d004e\"\n    }\n  }\n}\n\n</code></pre>\n<p>To know the final result of the upload, make a GET request to the status URL:</p>\n<p><code>https://ms-api.mpulse.io/account/1458/uploadEventStatus?requestId=1458851e963a977a455496bb412ea49d004e</code></p>\n<h4 id=\"sample-response-1\">Sample Response:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{{\n    \"body\": {\n        \"results\": {\n            \"status\": \"completed\",\n            \"processed_event_instances\": \"1\",\n            \"scheduled_messages\": \"0\",\n            \"errors\": \"1\",\n            \"details\": {\n                \"listid\": \"50806\",\n                \"events\": {\n                    \"event_definition_id\": \"15532\",\n                    \"event_definition_name\": \"sample event\",\n                    \"event\": {\n                        \"event_instance_request_index\": \"0\",\n                        \"correlationid\": \"ABC567\",\n                        \"memberid\": \"86793779\",\n                        \"event_instance_id\": \"798831\",\n                        \"scheduled_messages\": null,\n                        \"errors\": {\n                            \"error\": {\n                                \"error_code\": \"ERR-EVENT-006\",\n                                \"error_message\": \"There are no active messages for the given event.\"\n                            }\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"event-upload-status\">Event Upload Status</h4>\n<ul>\n<li><p><code>pending</code>: This status indicates that the event has been placed but has not yet been picked up for processing. It is expected that the event will not remain in this status for an extended period.</p>\n</li>\n<li><p><code>running</code>: The event has been picked up and is actively being processed</p>\n</li>\n<li><p><code>completed</code>: This status signifies that the event has finished processing, and no further actions are required.</p>\n</li>\n<li><p><code>not found</code>: The request ID could not be located. This may happen if:</p>\n<ul>\n<li><p>The request ID is invalid, or</p>\n</li>\n<li><p>The entry has expired and is no longer stored</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["account","{{account_id}}","uploadEvent"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"46780621-a612-4f81-9942-9f2d7d7362d6"}],"id":"4b2f2920-4208-4ef8-a980-c3fbad9c8278","description":"<p>The Event Upload API allows you to trigger events for members in your mPulse Mobile account. These events can schedule messages, update member attributes, and interact with workflows based on the event definitions configured in your account.</p>\n<p><strong>Headers:</strong></p>\n<ul>\n<li><p><code>Authorization</code>: Your API key.</p>\n</li>\n<li><p><code>Content-Type</code>: <code>application/json</code></p>\n</li>\n<li><p><code>X-Ms-Async</code>: <code>true</code> <em>(Required for requests with more than 100 events.)</em></p>\n</li>\n</ul>\n<h2 id=\"rate-limits\">Rate Limits</h2>\n<ul>\n<li><p>The Event Upload API is <strong>rate-limited at 100 requests per minute per account</strong>.</p>\n</li>\n<li><p>If you require a higher rate limit, please contact your account team.</p>\n</li>\n</ul>\n<h2 id=\"member-identification\">Member Identification</h2>\n<h3 id=\"account-types-and-acceptable-identifiers\">Account Types and Acceptable Identifiers</h3>\n<h4 id=\"contact-based-accounts\">Contact-Based Accounts</h4>\n<p>For accounts that use contact-based identifiers:</p>\n<ul>\n<li><p><strong>Acceptable Identifiers</strong>:</p>\n<ul>\n<li><p><strong><code>mobilephone</code></strong> (string)</p>\n</li>\n<li><p><strong><code>email</code></strong> (string)</p>\n</li>\n<li><p><strong><code>memberid</code></strong> (string)</p>\n</li>\n<li><p><strong><code>client_member_id</code></strong> (string)</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Note</strong>: You can use any of the above identifiers to identify members.</p>\n</li>\n</ul>\n<h4 id=\"umi-accounts\">UMI Accounts</h4>\n<p>For UMI (Unique Member Identifier) accounts:</p>\n<ul>\n<li><p><strong>Acceptable Identifiers</strong>:</p>\n<ul>\n<li><p><strong><code>client_member_id</code></strong> (string)</p>\n</li>\n<li><p><strong><code>memberid</code></strong> (string)</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Note</strong>: You must use <strong><code>client_member_id</code></strong> or <strong><code>memberid</code></strong> to identify members. Other identifiers such as <code>mobilephone</code> or <code>email</code> are not accepted.</p>\n</li>\n</ul>\n","_postman_id":"4b2f2920-4208-4ef8-a980-c3fbad9c8278","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}},{"name":"Event Upload API (XML)","item":[{"name":"Event Upload API - XML","item":[{"name":"Event Upload - Single Event","id":"63a430c8-87e5-4313-954e-6f53854f483b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Source","value":"api","type":"text"},{"key":"X-Ms-API-Version","value":"2.0","type":"text"},{"key":"Content-Type","value":"application/xml","type":"text"},{"key":"X-Ms-Format","value":"xml","type":"text"}],"body":{"mode":"raw","raw":"<body>\n\t<listid>{{list_id}}</listid>\n\t<events name=\"sample_event\">\n\t\t<event scheduled_on=\"+00:00\" timezone=\"US/Pacific\" evaluation_scope=\"no_rule\" sample_attribute=\"diabetes\">\n\t\t<mobilephone>13105551212</mobilephone>\n        <correlationid>ABC123<correlationid>\n\t\t</event>\n\t</events>\n</body>"},"url":"https://ms-api.mpulsemobile.com/account/{{account_id}}/uploadEvent","description":"<p>Makes a single event request for a single member.</p>\n","urlObject":{"protocol":"https","path":["account","{{account_id}}","uploadEvent"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"63a430c8-87e5-4313-954e-6f53854f483b"},{"name":"Event Upload - Multiple Events","id":"5876be21-5e8a-492a-8e3f-a300a28bec63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Source","value":"api","type":"text"},{"key":"X-Ms-API-Version","value":"2.0","type":"text"},{"key":"Content-Type","value":"application/xml","type":"text"},{"key":"X-Ms-Format","value":"xml","type":"text"}],"body":{"mode":"raw","raw":"<body>\n\t<listid>{{list_id}}</listid>\n\t<events name=\"sample_event\">\n\t\t<event scheduled_on=\"+00:00\" timezone=\"US/Pacific\" evaluation_scope=\"no_rule\" sample_attribute=\"diabetes\">\n\t\t\t<mobilephone>13105551212</mobilephone>\n            <correlationid>ABC123<correlationid>\n\t\t</event>\n\t\t<event scheduled_on=\"+00:00\" timezone=\"US/Pacific\" evaluation_scope=\"no_rule\" sample_attribute=\"high blood pressure\">\n\t\t\t<email>polly_patient@hotmail.com</email>\n            <correlationid>ABC456<correlationid>\n\t\t</event>\n\t</events>\n</body>"},"url":"https://ms-api.mpulsemobile.com/account/{{account_id}}/uploadEvent","description":"<p>Makes event requests for two or more members.</p>\n","urlObject":{"protocol":"https","path":["account","{{account_id}}","uploadEvent"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5876be21-5e8a-492a-8e3f-a300a28bec63"}],"id":"609a7473-d278-41ca-a249-78f045738b37","event":[{"listen":"prerequest","script":{"id":"8892826c-0157-49b6-be23-15f915e3c1d5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fbba3584-2c70-4ab3-9be8-8a04141fb4cc","type":"text/javascript","exec":[""]}}],"_postman_id":"609a7473-d278-41ca-a249-78f045738b37","description":"","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}}],"id":"58ef0750-98b1-432c-9a38-8d3e102974d2","description":"<h1 id=\"overview\">Overview</h1>\n<p>Events are defined in the mPulse Communication Console and can be used to trigger actions. Most commonly, this would be to launch one or more one-way messages from a Campaign or to start a conversation (Dialogue) with a member. Events can also be used to stop dialogues.  </p>\n<p>Events can be configured with attributes, and the attributes can be used for evaluation and matching to trigger messages or other items. Attributes can also be used for passing event-related or transient data along with the message or dialogue. For example, you may wish to send appointment-related information such as a provider name, a date, and a time of the appointment. This information does not need to be stored on the member profile as it's only related to this single instance of an appointment.  </p>\n<p>Events can be configured across lists, campaigns, and messages. You can use the same event on multiple messages in the same campaign. If you fire an event for a given member, s/he will receive however many messages are configured and active on however many channels s/he is subscribed to. In other words, please be careful when configuring events, messages, and dialogues.</p>\n<h1 id=\"request-headers\">Request Headers</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Required</th>\n<th>Values</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>X-Ms-Source</code></td>\n<td>yes</td>\n<td><code>api</code></td>\n<td>N/A</td>\n</tr>\n<tr>\n<td><code>X-Ms-Format</code></td>\n<td>yes</td>\n<td><code>json</code> or <code>xml</code></td>\n<td>N/A</td>\n</tr>\n<tr>\n<td><code>Authentication</code></td>\n<td>no</td>\n<td>Basic Auth (see Account team for your credentials )</td>\n<td>You must use either the <code>Authentication</code> header or the <code>Access-Token</code> header (see below)</td>\n</tr>\n<tr>\n<td><code>Access-Token</code></td>\n<td>no</td>\n<td><code>{ACCESS_TOKEN}</code></td>\n<td>If using OAuth for authentication, the value is <code>{ACCESS_TOKEN}</code>; see the <a href=\"https://mpulsemobile.atlassian.net/wiki/spaces/MPA/overview?preview=/491550/456491022/oauth%20documentation%20-%201-5-18.docx\">OAuth Documentation</a> for instructions on how to get a password using the OAuth Password Grant API</td>\n</tr>\n<tr>\n<td><code>X-Ms-API-Version</code></td>\n<td>yes</td>\n<td><code>2.0</code></td>\n<td>N/A</td>\n</tr>\n<tr>\n<td><code>X-Ms-Verbosity</code></td>\n<td>no</td>\n<td><code>simple</code> (default) or <code>full</code></td>\n<td><code>simple</code> response does not include original request; <code>full</code> includes original request</td>\n</tr>\n<tr>\n<td><code>X-Ms-Async</code></td>\n<td>no</td>\n<td><code>false</code> (default) or <code>true</code></td>\n<td>Sync processing allows for 20 stanzas per request; async processing allows up to 2,000 stanzas per request</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"parameters\">Parameters</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Scope</th>\n<th>Name/Object</th>\n<th>Required</th>\n<th>Accepted Values &amp; Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>body</code></td>\n<td><code>events</code></td>\n<td>yes</td>\n<td>Describes the event definition the request is for. You can only make requests for a single event definition</td>\n</tr>\n<tr>\n<td><code>events</code></td>\n<td><code>name</code></td>\n<td>yes</td>\n<td>The name of the event in the mPulse platform. It is not case sensitive</td>\n</tr>\n<tr>\n<td><code>events</code></td>\n<td><code>event</code></td>\n<td>yes</td>\n<td>Describes a single event for a single member. Multiple event objects can be included in a single request</td>\n</tr>\n<tr>\n<td><code>event</code></td>\n<td><code>scheduled_on</code></td>\n<td>yes</td>\n<td>Accepted formats: YYYY-MM-DD HH:MM or +HH:MM - supports scheduling at a specific date and time or relative to when the request is processed (+HH:MM)</td>\n</tr>\n<tr>\n<td><code>event</code></td>\n<td><code>timezone</code></td>\n<td>yes</td>\n<td>A valid timezone must be provided. See <a href=\"https://mpulsemobile.atlassian.net/wiki/spaces/MPA/overview?preview=/491550/71991308/Appendix%20II%20-%20Time%20Zone%20Values%20-%202017-01-10.pdf\">Accepted Timezone Values</a></td>\n</tr>\n<tr>\n<td><code>event</code></td>\n<td><code>evaluation_scope</code></td>\n<td>yes</td>\n<td><code>no_rule</code> or <code>with_rule</code> or <code>all</code>  <br />  <br /><code>no_rule</code> - uses only the event name when processing;  <br /><code>with_rule</code> - only messages with a trigger that specifies an event definition name and a rule based on an attribute that matches the event definition will be processed;  <br /><code>all</code> - all events will be processed</td>\n</tr>\n<tr>\n<td><code>event</code></td>\n<td><code>memberid</code> or <code>mobilephone</code> or <code>email</code> or <code>client_member_id</code></td>\n<td>yes</td>\n<td>Must include exactly one of the preceding identifiers; that member must exist in the system and be an active (non-deleted) member and subscribed to the list and channel specified in order to trigger an event/message</td>\n</tr>\n<tr>\n<td><code>event</code></td>\n<td><code>correlationid</code></td>\n<td>no</td>\n<td>Allows you to tag the event object for reporting; the correlation ID will show up in custom reporting for messages triggered from the event.</td>\n</tr>\n<tr>\n<td><code>event</code></td>\n<td><code>{event_attribute_name1}</code></td>\n<td>no</td>\n<td>Required if being used for triggering events based on matching rules and/or if you are using the event attribute in the token of a message</td>\n</tr>\n<tr>\n<td><code>body</code></td>\n<td><code>list_id</code></td>\n<td>yes</td>\n<td>Must be a valid list ID on your account. Members must be subscribed to that list in order to receive messages triggered by events.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"error-responses-400-ok\">Error Responses (400 OK)</h1>\n<p>These errors are provided at the highest level and indicate that the entire request has not been processed. You will only receive one error stanza at this level. The response is the same regardless of the value of the Full Verbosity header.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Message</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ERR-EVNTS-000</td>\n<td>The JSON or XML in the request could not be processed.</td>\n</tr>\n<tr>\n<td>ERR-EVNTS-001</td>\n<td>The <code>event_name</code> provided in the request does not exist in the account.</td>\n</tr>\n<tr>\n<td>ERR-EVNTS-002</td>\n<td>The <code>list_id</code> tag is either missing or does not contain a value.</td>\n</tr>\n<tr>\n<td>ERR-EVNTS-003</td>\n<td>The <code>list_id</code> does not exist in the account.</td>\n</tr>\n<tr>\n<td>ERR-EVNTS-004</td>\n<td>The <code>list_id</code> exists in the account, but it is not active/has been retired.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note that an Event Upload API call may succeed (200 OK), but that the dialogue it's starting (or stopping) or the one-way message it's triggering may still fail downstream. For example, an event may be scheduled for two days in the future, and the member may unsubscribe between the time the Event Upload API call was made and the event triggers.  </p>\n<h1 id=\"general-notes\">General Notes</h1>\n<p>To schedule an event immediately, make a request with <code>scheduled_on</code> set to <code>+00:00</code>, for example: <code>\"scheduled_on\": +\"00:00\"</code>  </p>\n<p>In this example, I have an event definition \"appointment_reminder\" with the attributes \"today\" and \"appointment_time.\" I want to set up my API call to only trigger appointments where the value of \"today\" equals \"true,\" and I have a campaign set up in Communication Console with a message that replaces the token <code>##EVENT.APPOINTMENT_TIME##</code> with the value in <code>appointment_time</code>. I would make an API call like the following to trigger a message to my member:  </p>\n<p><code>{   \"body\": {   \"events\": {   \"name\": \"sample_event\",   \"event\": {   \"scheduled_on\": \"+00:00\",   \"timezone\": \"US/Pacific\",   \"evaluation_scope\": \"with_rule\",   \"memberid\":1234567,   \"today\": \"true\",   \"appointment_time\": \"2:30pm\"   }   },   \"listid\": 1234   }   }</code></p>\n<h2 id=\"rate-limiting--number-of-stanzas-in-requests\">Rate Limiting &amp; Number of Stanzas in Requests</h2>\n<p>The Event Upload API is rate limited at 100 requests per minute per account. If this is not sufficient for your needs, please contact your account team to discuss.  </p>\n<p>You can perform actions on up to 2,000 members in a single request. You must have the <code>X-Ms-Async: true</code> header set.</p>\n","event":[{"listen":"prerequest","script":{"id":"0650285d-e132-4997-b1fb-2613c78b21ba","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bc4d959b-052d-450e-a528-4978e1977b9c","type":"text/javascript","exec":[""]}}],"_postman_id":"58ef0750-98b1-432c-9a38-8d3e102974d2","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}},{"name":"DNC APIs","item":[{"name":"SMS","item":[{"name":"Review SMS DNC List","id":"aad4649e-e395-4b79-a31f-bcb0c38d3156","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/sms?limit=25&offset=0","description":"<p>Retrieves a paginated list of phone numbers currently on the SMS <strong>Do Not Contact (DNC)</strong> list for the specified account.</p>\n<h3 id=\"query-parameters\"><strong>Query Parameters</strong></h3>\n<ul>\n<li><p><strong><code>limit</code></strong> <em>(optional, integer, default:</em> <code>_100_</code><em>)</em></p>\n<ul>\n<li><p>Specifies the number of records to return.</p>\n</li>\n<li><p>Maximum allowed value is <code>1000</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>offset</code></strong> <em>(optional, integer, default:</em> <code>_0_</code><em>)</em></p>\n<ul>\n<li><p>Specifies the number of records to skip for pagination.</p>\n</li>\n<li><p>Use this to retrieve additional records beyond the initial set.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"sample-response\">Sample Response:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": 23,\n            \"account_id\": 1458,\n            \"phone_number\": \"14027011112\",\n            \"created_on\": \"2022-02-04T21:28:13.504276Z\"\n        },\n        {\n            \"id\": 626,\n            \"account_id\": 1458,\n            \"phone_number\": \"19134878181\",\n            \"created_on\": \"2022-01-28T16:29:42.117731Z\"\n        },\n        {\n            \"id\": 3648,\n            \"account_id\": 1458,\n            \"phone_number\": \"16604732211\",\n            \"created_on\": \"2023-05-19T14:44:55.963239Z\"\n        },\n        {\n            \"id\": 3649,\n            \"account_id\": 1458,\n            \"phone_number\": \"16604732212\",\n            \"created_on\": \"2023-05-19T14:44:56.853639Z\"\n        },\n        {\n            \"id\": 7585,\n            \"account_id\": 1458,\n            \"phone_number\": \"19811490950\",\n            \"created_on\": \"2023-11-15T13:39:36.958449Z\"\n        }\n    ],\n    \"limit\": 5,\n    \"offset\": 0,\n    \"total\": 38231\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","block","sms"],"host":["members","mpulsemobile","com"],"query":[{"key":"limit","value":"25"},{"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"1a70584a-3fa5-4aad-b63a-af9e94eb46c8","name":"Review SMS DNC List","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/sms?limit=25&offset=0","protocol":"https","host":["members","mpulsemobile","com"],"path":["api","v1","accounts","{{account_id}}","block","sms"],"query":[{"key":"limit","value":"25"},{"key":"offset","value":"0"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 23,\n            \"account_id\": 1458,\n            \"phone_number\": \"14055511112\",\n            \"created_on\": \"2022-02-04T13:28:13.504276-08:00\"\n        },\n        {\n            \"id\": 9999,\n            \"account_id\": 1458,\n            \"phone_number\": \"12345678900\",\n            \"created_on\": \"2025-03-21T12:00:00.000000-07:00\"\n        }\n    ],\n    \"limit\": 25,\n    \"offset\": 0,\n    \"total\": 2\n}\n"}],"_postman_id":"aad4649e-e395-4b79-a31f-bcb0c38d3156"},{"name":"Add to SMS DNC","id":"201d21e2-6734-4962-a877-2dc2e7e209e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  \"19891918541\", \n  \"12183039902\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/sms","description":"<p>Adds an array of phone numbers to the SMS Do Not Contact (DNC) list, preventing SMS messages from being sent to them.</p>\n<h3 id=\"sample-success-response\">Sample Success Response:</h3>\n<p>status code: 202</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"success\",\n    \"msg\": \"Block Request Accepted\"\n}\n\n</code></pre>\n<h3 id=\"sample-error-response-invalid-phone-number\">Sample Error Response (invalid phone number):</h3>\n<p>status code: 422</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"detail\": [\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                0\n            ],\n            \"msg\": \"Value error, Phone number is invalid - 9891918541\",\n            \"input\": \"9891918541\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        },\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                1\n            ],\n            \"msg\": \"Value error, Phone number is invalid - 2183039902\",\n            \"input\": \"2183039902\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","block","sms"],"host":["members","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"d93bcff5-ec75-4671-8151-9d9f76c4da0f","name":"Add to SMS DNC","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  \"19095552412\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/sms"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"msg\": \"Block Request Accepted\"\n}"}],"_postman_id":"201d21e2-6734-4962-a877-2dc2e7e209e3"},{"name":"Remove from SMS DNC","id":"7c80c55e-5a4b-45e3-94e4-029171b0937d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    \"19891918541\",\n    \"12183039902\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/unblock/sms","description":"<p>Removes an array of phone numbers from the SMS DNC list, allowing SMS messages to be sent to them again.</p>\n<h3 id=\"sample-success-response\">Sample Success Response:</h3>\n<p>status code: 202</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"success\",\n    \"msg\": \"Unblock Request Accepted\"\n}\n\n</code></pre>\n<h3 id=\"sample-error-response-invalid-phone-number\">Sample Error Response (invalid phone number):</h3>\n<p>status code: 422</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"detail\": [\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                0\n            ],\n            \"msg\": \"Value error, Phone number is invalid - 9891918540\",\n            \"input\": \"9891918541\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","unblock","sms"],"host":["members","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"269af1e2-9efc-4fad-9759-06ab6304a744","name":"Unblock from SMS DNC","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  \"19095552412\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/unblock/sms"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"msg\": \"Unblock Request Accepted\"\n}"}],"_postman_id":"7c80c55e-5a4b-45e3-94e4-029171b0937d"}],"id":"036878e4-9cf0-46ec-bd98-895abfd665cb","description":"<p>The <strong>SMS DNC API</strong> allows customers to manage a <strong>Do Not Contact (DNC)</strong> list for SMS communications within their <strong>mPulse</strong> account. By adding phone numbers to this list, all SMS messages to those numbers are blocked. Similarly, removing a number from the list allows SMS communications to resume.</p>\n","_postman_id":"036878e4-9cf0-46ec-bd98-895abfd665cb","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}},{"name":"IVR","item":[{"name":"Review IVR DNC List","id":"c00125c4-24e5-481d-a550-6243b5f6284d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/ivr?limit=25&offset=0","description":"<p>Retrieves a paginated list of phone numbers currently on the IVR <strong>Do Not Contact (DNC)</strong> list for the specified account.</p>\n<h3 id=\"query-parameters\"><strong>Query Parameters</strong></h3>\n<ul>\n<li><p><strong><code>limit</code></strong> <em>(optional, integer, default:</em> <code>_100_</code><em>)</em></p>\n<ul>\n<li><p>Specifies the number of records to return.</p>\n</li>\n<li><p>Maximum allowed value is <code>1000</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>offset</code></strong> <em>(optional, integer, default:</em> <code>_0_</code><em>)</em></p>\n<ul>\n<li><p>Specifies the number of records to skip for pagination.</p>\n</li>\n<li><p>Use this to retrieve additional records beyond the initial set.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"sample-response\">Sample Response:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": 23,\n            \"account_id\": 1458,\n            \"phone_number\": \"14027011112\",\n            \"created_on\": \"2022-02-04T21:28:13.504276Z\"\n        },\n        {\n            \"id\": 626,\n            \"account_id\": 1458,\n            \"phone_number\": \"19134878181\",\n            \"created_on\": \"2022-01-28T16:29:42.117731Z\"\n        },\n        {\n            \"id\": 3648,\n            \"account_id\": 1458,\n            \"phone_number\": \"16604732211\",\n            \"created_on\": \"2023-05-19T14:44:55.963239Z\"\n        },\n        {\n            \"id\": 3649,\n            \"account_id\": 1458,\n            \"phone_number\": \"16604732212\",\n            \"created_on\": \"2023-05-19T14:44:56.853639Z\"\n        },\n        {\n            \"id\": 7585,\n            \"account_id\": 1458,\n            \"phone_number\": \"19811490950\",\n            \"created_on\": \"2023-11-15T13:39:36.958449Z\"\n        }\n    ],\n    \"limit\": 5,\n    \"offset\": 0,\n    \"total\": 38231\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","block","ivr"],"host":["members","mpulsemobile","com"],"query":[{"key":"limit","value":"25"},{"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"b868c695-d298-4418-8d56-620b9a592c02","name":"Review SMS DNC List","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/ivr?limit=25&offset=0","protocol":"https","host":["members","mpulsemobile","com"],"path":["api","v1","accounts","{{account_id}}","block","ivr"],"query":[{"key":"limit","value":"25"},{"key":"offset","value":"0"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 23,\n            \"account_id\": 1458,\n            \"phone_number\": \"14055511112\",\n            \"created_on\": \"2022-02-04T13:28:13.504276-08:00\"\n        },\n        {\n            \"id\": 9999,\n            \"account_id\": 1458,\n            \"phone_number\": \"12345678900\",\n            \"created_on\": \"2025-03-21T12:00:00.000000-07:00\"\n        }\n    ],\n    \"limit\": 25,\n    \"offset\": 0,\n    \"total\": 2\n}\n"}],"_postman_id":"c00125c4-24e5-481d-a550-6243b5f6284d"},{"name":"Add to IVR DNC","id":"e8d29d3a-49a4-4633-924e-195c77aad897","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    \"9891918541\",\n    \"2183039902\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/ivr","description":"<p>Adds an array of phone numbers to the IVR DNC list, blocking IVR calls sent to that member.</p>\n<h3 id=\"sample-success-response\">Sample Success Response:</h3>\n<p>status code: 202</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"success\",\n    \"msg\": \"Block Request Accepted\"\n}\n\n</code></pre>\n<h3 id=\"sample-error-response-invalid-phone-number\">Sample Error Response (invalid phone number):</h3>\n<p>status code: 422</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"detail\": [\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                0\n            ],\n            \"msg\": \"Value error, Phone number is invalid - 9891918541\",\n            \"input\": \"9891918541\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        },\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                1\n            ],\n            \"msg\": \"Value error, Phone number is invalid - 2183039902\",\n            \"input\": \"2183039902\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","block","ivr"],"host":["members","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"6761d618-dc97-4576-9215-b25b8855392c","name":"Add to IVR DNC","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  \"19095552412\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/sms"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"msg\": \"Block Request Accepted\"\n}"}],"_postman_id":"e8d29d3a-49a4-4633-924e-195c77aad897"},{"name":"Remove from IVR DNC","id":"621ef1ea-4883-461c-a8dd-b8cf377159c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    \"19891918541\",\n    \"12183039902\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/unblock/ivr","description":"<p>Removes an array of phone numbers to the IVR DNC list, allowing calls to be sent to that number.</p>\n<h3 id=\"sample-success-response\">Sample Success Response:</h3>\n<p>status code: 202</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"success\",\n    \"msg\": \"Unblock Request Accepted\"\n}\n\n</code></pre>\n<h3 id=\"sample-error-response-invalid-phone-number\">Sample Error Response (invalid phone number):</h3>\n<p>status code: 422</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"detail\": [\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                0\n            ],\n            \"msg\": \"Value error, Phone number is invalid - 9891918540\",\n            \"input\": \"9891918541\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","unblock","ivr"],"host":["members","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"0388b0af-a22c-452d-9ca4-a5600c525113","name":"Add to IVR DNC","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  \"19095552412\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/unblock/ivr"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"msg\": \"Unblock Request Accepted\"\n}"}],"_postman_id":"621ef1ea-4883-461c-a8dd-b8cf377159c8"}],"id":"fef2e49a-a4d3-4644-a271-8a98a6fd9ded","description":"<p>The <strong>IVR DNC API</strong> allows customers to manage a <strong>Do Not Contact (DNC)</strong> list for IVR communications within their <strong>mPulse</strong> account. By adding phone numbers to this list, all IVR calls to those numbers are blocked. Similarly, removing a number from the list allows IVR communications to resume.</p>\n","_postman_id":"fef2e49a-a4d3-4644-a271-8a98a6fd9ded","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}},{"name":"Email","item":[{"name":"Review Email DNC List","id":"eece99d5-5f24-41d3-8a71-2c3bd3090a0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/email?limit=25&offset=0","description":"<p>Retrieves a paginated list of email addresses currently on the email <strong>Do Not Contact (DNC)</strong> list for the specified account.</p>\n<h3 id=\"query-parameters\"><strong>Query Parameters</strong></h3>\n<ul>\n<li><p><strong><code>limit</code></strong> <em>(optional, integer, default:</em> <code>_100_</code><em>)</em></p>\n<ul>\n<li><p>Specifies the number of records to return.</p>\n</li>\n<li><p>Maximum allowed value is <code>1000</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>offset</code></strong> <em>(optional, integer, default:</em> <code>_0_</code><em>)</em></p>\n<ul>\n<li><p>Specifies the number of records to skip for pagination.</p>\n</li>\n<li><p>Use this to retrieve additional records beyond the initial set.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"sample-response\">Sample Response:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": 9830,\n            \"account_id\": 1458,\n            \"email\": \"test_email_pulse2@yopmail.com\",\n            \"created_on\": \"2023-11-15T14:10:36.242818Z\"\n        },\n        {\n            \"id\": 9831,\n            \"account_id\": 1458,\n            \"email\": \"sam1458test@yopmail.com\",\n            \"created_on\": \"2023-11-15T16:43:56.698079Z\"\n        },\n        {\n            \"id\": 10748,\n            \"account_id\": 1458,\n            \"email\": \"mish_a9@yopmail.com\",\n            \"created_on\": \"2024-08-01T21:43:51.917842Z\"\n        },\n        {\n            \"id\": 10914,\n            \"account_id\": 1458,\n            \"email\": \"test_email_pulse2_12345@yopmail.com\",\n            \"created_on\": \"2025-01-17T06:45:19.386712Z\"\n        },\n        {\n            \"id\": 10922,\n            \"account_id\": 1458,\n            \"email\": \"1234\",\n            \"created_on\": \"2025-01-17T07:36:26.171227Z\"\n        }\n    ],\n    \"limit\": 5,\n    \"offset\": 0,\n    \"total\": 60047\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","block","email"],"host":["members","mpulsemobile","com"],"query":[{"key":"limit","value":"25"},{"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"9a2315b9-5663-4052-bde8-6b44085fa495","name":"Review Email DNC List","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/email?limit=25&offset=0","protocol":"https","host":["members","mpulsemobile","com"],"path":["api","v1","accounts","{{account_id}}","block","email"],"query":[{"key":"limit","value":"25"},{"key":"offset","value":"0"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1001,\n            \"account_id\": 1458,\n            \"email\": \"fakeuser1@example.com\",\n            \"created_on\": \"2025-03-21T12:00:00.000000-07:00\"\n        },\n        {\n            \"id\": 1002,\n            \"account_id\": 1458,\n            \"email\": \"blockedemail@example.com\",\n            \"created_on\": \"2025-03-21T12:05:30.000000-07:00\"\n        }\n    ],\n    \"limit\": 25,\n    \"offset\": 0,\n    \"total\": 2\n}\n"}],"_postman_id":"eece99d5-5f24-41d3-8a71-2c3bd3090a0a"},{"name":"Add to Email DNC","id":"6a5dd022-24de-41e6-b3e1-e9c53d169fd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    \"nakul.sharma@emids.com\",\n    \"yifan.shen@mpulse.com\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/email","description":"<p>Adds an array of email addresses to the Email DNC list, blocking emails from being sent to that address.</p>\n<h3 id=\"sample-success-response\">Sample Success Response:</h3>\n<p>status code: 202</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"success\",\n    \"msg\": \"Block Request Accepted\"\n}\n\n</code></pre>\n<h3 id=\"sample-error-response-invalid-email\">Sample Error Response (invalid email):</h3>\n<p>status code: 422</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"detail\": [\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                0\n            ],\n            \"msg\": \"Value error, Email is invalid - nakul.sharma@emids\",\n            \"input\": \"nakul.sharma@emids\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        },\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                1\n            ],\n            \"msg\": \"Value error, Email is invalid - asas@yifan.shen@mpulse.com\",\n            \"input\": \"asas@yifan.shen@mpulse.com\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","block","email"],"host":["members","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"7516b8ca-fc03-4567-aa6a-3884e90f0960","name":"Add to Email DNC","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  \"fakeemail@email.com\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/block/email"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"msg\": \"Block Request Accepted\"\n}"}],"_postman_id":"6a5dd022-24de-41e6-b3e1-e9c53d169fd2"},{"name":"Remove from Email DNC","id":"63d15c0d-48a9-4128-9472-e551e44e957a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    \"nakul.sharma@emids.com\",\n    \"yifan.shen@mpulse.com\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/unblock/email","description":"<p>Removes an array of email addresses from the Email DNC list, allowing emails to be sent to that email address on the given account.</p>\n<h3 id=\"sample-success-response\">Sample Success Response:</h3>\n<p>status code: 202</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"success\",\n    \"msg\": \"Unblock Request Accepted\"\n}\n\n</code></pre>\n<h3 id=\"sample-error-response-invalid-email\">Sample Error Response (invalid email):</h3>\n<p>status code: 422</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"detail\": [\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                0\n            ],\n            \"msg\": \"Value error, Email is invalid - nakul.sharma@emids\",\n            \"input\": \"nakul.sharma@emids\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        },\n        {\n            \"type\": \"value_error\",\n            \"loc\": [\n                \"body\",\n                1\n            ],\n            \"msg\": \"Value error, Email is invalid - asas@yifan.shen@mpulse.com\",\n            \"input\": \"asas@yifan.shen@mpulse.com\",\n            \"ctx\": {\n                \"error\": {}\n            }\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","unblock","email"],"host":["members","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"774b994e-250e-4438-a648-700639d016d9","name":"Add to Email DNC","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  \"19095552412\"\n]","options":{"raw":{"language":"json"}}},"url":"https://members.mpulsemobile.com/api/v1/accounts/{{account_id}}/unblock/email"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"msg\": \"Unblock Request Accepted\"\n}"}],"_postman_id":"63d15c0d-48a9-4128-9472-e551e44e957a"}],"id":"137eb847-20d1-46eb-b7ce-bea20e2778e4","description":"<p>The <strong>Email DNC API</strong> allows customers to manage a <strong>Do Not Contact (DNC)</strong> list for Email communications within their <strong>mPulse</strong> account. By adding email addresses to this list, all emails to those email addresses are blocked. Similarly, removing an email from the list allows email communications to resume.</p>\n","_postman_id":"137eb847-20d1-46eb-b7ce-bea20e2778e4","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}}],"id":"c7de82f1-b456-4d52-8447-074ea4ed37ad","description":"<h2 id=\"introduction\">Introduction</h2>\n<p>The mPulse Mobile DNC (Do Not Contact) APIs allow customers to programmatically manage their organization’s DNC list for SMS, Email, and IVR. These APIs ensure compliance with member communication preferences and regulatory frameworks by blocking outbound messages to specific contact identifiers.</p>\n<p>Once an identifier (e.g., phone number or email) is added to a DNC list, any messages sent through mPulse to that identifier are automatically suppressed. This applies across all programs and campaigns in the account.</p>\n<h2 id=\"channels-supported\">Channels Supported</h2>\n<ul>\n<li><p><strong>SMS Block API</strong></p>\n</li>\n<li><p><strong>Email Block API</strong></p>\n</li>\n<li><p><strong>IVR Block API</strong></p>\n</li>\n</ul>\n<p>Each channel has its own endpoint and supports the same set of operations: retrieving entries, adding entries, removing entries, and handling bulk requests.</p>\n","_postman_id":"c7de82f1-b456-4d52-8447-074ea4ed37ad","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}},{"name":"Oauth 2.0","item":[{"name":"Obtain Oauth Token","id":"ea166134-b204-42ee-9f7c-8f50ebc90cbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"YOUR_CLIENT_ID\",\n    \"client_secret\": \"YOUR_CLIENT_SECRET\"\n}","options":{"raw":{"language":"json"}}},"url":"https://auth.mpulsemobile.com/oauth/token","description":"<h3 id=\"request-headers\">Request Headers</h3>\n<ul>\n<li><code>Content-Type: application/json</code></li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>Provide your <code>client_id</code> and <code>client_secret</code> in JSON format. You can obtain your <code>client_id</code> and <code>client_secret</code> from your mPulse implemention team.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"client_id\": \"YOUR_CLIENT_ID\",\n    \"client_secret\": \"YOUR_CLIENT_SECRET\"\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p>A successful response will include an <code>access_token</code> and other relevant information:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"client_id\": \"7081b7c7-4c4b-41b8-96b9-2901a3224fd3\",\n    \"account_id\": 1992,\n    \"issued_at\": 1728320449,\n    \"expires_at\": 1728324049,\n    \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXmsK-qcFqE3ybz23xbdiWceYN1FrkF2j9LbxG6X7dGVA\"\n}\n\n</code></pre><p><strong>Response Parameters:</strong></p>\n<ul>\n<li><p><code>client_id</code>: Your client identifier.</p>\n</li>\n<li><p><code>account_id</code>: Your account identifier.</p>\n</li>\n<li><p><code>issued_at</code>: The timestamp when the token was issued (in Unix epoch time).</p>\n</li>\n<li><p><code>expires_at</code>: The timestamp when the token will expire (in Unix epoch time).</p>\n</li>\n<li><p><code>access_token</code>: The token to be used for authenticating API requests.</p>\n</li>\n</ul>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth","token"],"host":["auth","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea166134-b204-42ee-9f7c-8f50ebc90cbe"},{"name":"Verify Oauth Token","id":"458ed1cd-a8e5-4d5b-9e55-d0cc7a39d133","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"access_token\": \"YOUR_ACCESS_TOKEN\",\n    \"ip_address\": \"YOUR_WHITELISTED_IP_ADDRESS\",\n    \"account_id\": \"YOUR_ACCOUNT_ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://auth.mpulsemobile.com/oauth/authorize","description":"<p>After obtaining the access token, you can verify its validity at any time.</p>\n<h3 id=\"request-headers\">Request Headers</h3>\n<ul>\n<li><code>Content-Type: application/json</code></li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>Provide your <code>access_token</code>, <code>ip_address</code>, and <code>account_id</code>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"access_token\": \"YOUR_ACCESS_TOKEN\",\n    \"ip_address\": \"YOUR_IP_ADDRESS\",\n    \"account_id\": \"YOUR_ACCOUNT_ID\"\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p>A successful response will confirm the validity of your token:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"issued_at\": 1728320449,\n    \"expires_at\": 1728324049\n}\n\n</code></pre>\n<p><strong>Response Parameters:</strong></p>\n<ul>\n<li><p><code>success</code>: Indicates whether the token is valid (<code>true</code>or <code>false</code>).</p>\n</li>\n<li><p><code>issued_at</code>: The timestamp when the token was issued.</p>\n</li>\n<li><p><code>expires_at</code>: The timestamp when the token will expire.</p>\n</li>\n</ul>\n","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth","authorize"],"host":["auth","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"458ed1cd-a8e5-4d5b-9e55-d0cc7a39d133"}],"id":"7e625087-80e3-484f-89ed-75a73d7b4bdf","description":"<p>You can access our APIs using Oauth 2.0 alongside basic authentication.</p>\n<p>OAuth 2.0 is an industry-standard protocol for authorization that allows applications to obtain access to user accounts on an HTTP service. This guide will help you:</p>\n<ul>\n<li><p>Obtain an access token using your <code>client_id</code> and <code>client_secret</code>.</p>\n<ul>\n<li>This information will be provided by your mPulse Implementation team.</li>\n</ul>\n</li>\n<li><p>Verify the validity of your access token.</p>\n</li>\n<li><p>Use the access token to authenticate API requests.</p>\n</li>\n</ul>\n","_postman_id":"7e625087-80e3-484f-89ed-75a73d7b4bdf","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}},{"name":"Callbacks","item":[{"name":"Member","item":[{"name":"ADD (v3.0)","item":[],"id":"c5dc1a2a-14b2-47f1-afde-209b0219ef43","description":"<h2 id=\"purpose\">Purpose</h2>\n<p><code>ADD</code> fires whenever <strong>a new member record is created in your account</strong> and is pushed to your registered callback (webhook) URL. It delivers key profile details so downstream systems can immediately begin messaging, personalization, or data-sync workflows.</p>\n<h2 id=\"payload-structure\">Payload Structure</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>member_id</code></td>\n<td>integer</td>\n<td>Internal system ID (immutable).</td>\n</tr>\n<tr>\n<td><code>client_member_id</code></td>\n<td>string</td>\n<td>Your external reference / foreign key.</td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>Optional; can be empty.</td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>Optional; can be empty.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Validated email if supplied.</td>\n</tr>\n<tr>\n<td><code>mobile_phone_number</code></td>\n<td>string</td>\n<td>E.164 format recommended (e.g., <code>+19096143073</code>).</td>\n</tr>\n<tr>\n<td><code>carrier</code></td>\n<td>string</td>\n<td>Detected or user-supplied mobile carrier.</td>\n</tr>\n<tr>\n<td><code>api_username</code></td>\n<td>string</td>\n<td>Credential that initiated the create call.</td>\n</tr>\n<tr>\n<td><code>action</code></td>\n<td>string</td>\n<td>Constant = <code>\"ADD\"</code>.</td>\n</tr>\n<tr>\n<td><code>request_datetime</code></td>\n<td>string</td>\n<td>UTC or provided timezone in <code>YYYY-MM-DD HH:MM:SS TZ</code> format.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"example-payloads\">Example Payloads</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"member_id\": 152819911,\n  \"email\": \"fake@email.com\",\n  \"first_name\": \"Kyle\",\n  \"last_name\": \"Blanchard\",\n  \"mobile_phone_number\": \"19095551234\",\n  \"client_member_id\": \"oalskc9y12e3on12\",\n  \"carrier\": \"AT&amp;T\",\n  \"api_username\": \"Sales Engineering Demo\",\n  \"action\": \"ADD\",\n  \"request_datetime\": \"2025-05-17 14:28:57 MST\"\n}\n\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;member_id&gt;152819914&lt;/member_id&gt;\n    &lt;email&gt;bklcnahbw@email.com&lt;/email&gt;\n    &lt;first_name&gt;John&lt;/first_name&gt;\n    &lt;last_name&gt;Doe&lt;/last_name&gt;\n    &lt;client_member_id&gt;asqw1412&lt;/client_member_id&gt;\n    &lt;api_username&gt;Account Demo&lt;/api_username&gt;\n    &lt;action&gt;ADD&lt;/action&gt;\n    &lt;request_datetime&gt;2025-05-17 14:30:02 MST&lt;/request_datetime&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"a37d5c57-4eaa-4487-9dcc-9dc842242b86","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"9b20db30-fe2f-4fc9-9b8b-d61dd3c82800","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"c5dc1a2a-14b2-47f1-afde-209b0219ef43"},{"name":"UPDATE (v2.0)","item":[],"id":"bd7ccb6b-844c-44b2-a4e4-4cb3267665f5","description":"<h2 id=\"purpose\">Purpose</h2>\n<p><code>UPDATE</code> notifies your system whenever <strong>an existing member record's data changes</strong>—whether custom field or standard field.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>member_id</code></td>\n<td>integer</td>\n<td>Internal ID.</td>\n</tr>\n<tr>\n<td><code>client_member_id</code></td>\n<td>string</td>\n<td>Your external reference.</td>\n</tr>\n<tr>\n<td><code>first_name</code> / <code>last_name</code></td>\n<td>string</td>\n<td>Present only if changed.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Present only if changed.</td>\n</tr>\n<tr>\n<td><code>mobile_phone_number</code></td>\n<td>string</td>\n<td>Present only if changed (E.164).</td>\n</tr>\n<tr>\n<td><code>carrier</code></td>\n<td>string</td>\n<td>Present if updated or newly discovered.</td>\n</tr>\n<tr>\n<td></td>\n<td><em>variable</em></td>\n<td>Any number of additional keys fields can appear—exact names come from the user-defined custom schema and are included <strong>only when that field was created or updated</strong> in this event.  <br />  <br /><em>Note - when updating from UI, fields may be considered \"updated\" even without changing the value.</em>  <br />  <br />Examples: <code>appointment_type</code>, <code>preferred_language</code>, <code>risk_score</code>, etc.</td>\n</tr>\n<tr>\n<td><code>action</code></td>\n<td>string</td>\n<td><code>\"UPDATE\"</code>.</td>\n</tr>\n<tr>\n<td><code>request_datetime</code></td>\n<td>string</td>\n<td>Timestamp with timezone.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"json\">JSON</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"member_id\": 152819911,\n  \"client_member_id\": \"oalskc9y12e3on12\",\n  \"email\": \"fake@email.com\",\n  \"mobile_phone_number\": \"19095555521\",\n  \"carrier\": \"AT&amp;T\",\n  \"appointment_date\": \"2025-05-22\",\n  /* ─── Custom fields (names vary per tenant) ─── */\n  \"appointment_type\": \"Mammogram\",\n  \"exists\": \"True\",\n  \"selected_channel\": \"none\",\n  \"selected_topic\": \"none\",\n  \"preferred_language\": \"es\",\n  \"risk_score\": 7.6,\n  /* ───────────────────────────────────────────── */\n  \n  \"action\": \"UPDATE\",\n  \"request_datetime\": \"2025-05-17 14:38:02 MST\"\n}\n\n</code></pre>\n<h3 id=\"xml\">XML</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;member_id&gt;152819911&lt;/member_id&gt;\n    &lt;client_member_id&gt;oalskc9y12e3on12&lt;/client_member_id&gt;\n    &lt;email&gt;fake@email.com&lt;/email&gt;\n    &lt;mobile_phone_number&gt;19095552142&lt;/mobile_phone_number&gt;\n    &lt;carrier&gt;AT&amp;amp;T&lt;/carrier&gt;\n    &lt;appointment_date&gt;2025-05-22&lt;/appointment_date&gt;\n    &lt;!-- ── Custom fields (names vary per tenant) ── --&gt;\n    &lt;appointment_type&gt;Mammogram&lt;/appointment_type&gt;\n    &lt;exists&gt;True&lt;/exists&gt;\n    &lt;selected_channel&gt;none&lt;/selected_channel&gt;\n    &lt;selected_topic&gt;none&lt;/selected_topic&gt;\n    &lt;preferred_language&gt;es&lt;/preferred_language&gt;\n    &lt;risk_score&gt;7.6&lt;/risk_score&gt;\n    &lt;!-- ─────────────────────────────────────────── --&gt;\n    &lt;action&gt;UPDATE&lt;/action&gt;\n    &lt;request_datetime&gt;2025-05-17 14:38:02 MST&lt;/request_datetime&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n","_postman_id":"bd7ccb6b-844c-44b2-a4e4-4cb3267665f5","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"BULKADD (v2.0)","item":[],"id":"a35677bd-5b64-4efc-ba5f-795e02676295","description":"<h2 id=\"purpose\">Purpose</h2>\n<p>The <code>BULKADD</code> callback is an <strong>asynchronous response</strong> issued when a bulk member add/update request is processed via the <strong>Audience API</strong> with the header <code>X-Ms-Async=true</code>. This callback includes <strong>successes, failures, metadata, and error details</strong> for each individual member submitted in the request.</p>\n<h2 id=\"xml-example\">XML Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;msg&gt;\n    &lt;REQUEST_ID&gt;Z62942438-53b6-437e-a68b-c238389e09ec&lt;/REQUEST_ID&gt;\n    &lt;HTTP_STATUS&gt;202&lt;/HTTP_STATUS&gt;\n    &lt;RESPONSE&gt;\n      &lt;body&gt;\n        &lt;results&gt;\n          &lt;success&gt;1&lt;/success&gt;\n          &lt;failure&gt;1&lt;/failure&gt;\n        &lt;/results&gt;\n        &lt;xml_errors /&gt;\n        &lt;members&gt;\n          &lt;member&gt;\n            &lt;id&gt;\n              &lt;mobilephone&gt;17147579780&lt;/mobilephone&gt;\n              &lt;memberid&gt;111173385&lt;/memberid&gt;\n              &lt;clientmemberid&gt;MP000111333X&lt;/clientmemberid&gt;\n            &lt;/id&gt;\n            &lt;result&gt;success&lt;/result&gt;\n            &lt;profile&gt;\n              &lt;DATEADDED&gt;2025-05-17 08:08 PDT&lt;/DATEADDED&gt;\n              &lt;FIRSTNAME&gt;John&lt;/FIRSTNAME&gt;\n              &lt;LASTNAME&gt;Doe&lt;/LASTNAME&gt;\n              &lt;MOBILEPHONE&gt;17147579780&lt;/MOBILEPHONE&gt;\n              &lt;CLIENTMEMBERID&gt;MP000111333X&lt;/CLIENTMEMBERID&gt;\n              &lt;REMENALED&gt;False&lt;/REMENALED&gt;\n            &lt;/profile&gt;\n          &lt;/member&gt;\n          &lt;member&gt;\n            &lt;id&gt;\n              &lt;mobilephone&gt;14076009177&lt;/mobilephone&gt;\n              &lt;memberid&gt;111173385&lt;/memberid&gt;\n            &lt;/id&gt;\n            &lt;result&gt;failure&lt;/result&gt;\n            &lt;member_errors&gt;\n              &lt;member_error&gt;\n                &lt;code&gt;MS-ERR-0803&lt;/code&gt;\n                &lt;message&gt;Invalid parameter value&lt;/message&gt;\n                &lt;detail&gt;\n                  &lt;parameter&gt;clientmemberid&lt;/parameter&gt;\n                  &lt;value&gt;MP000111333X&lt;/value&gt;\n                  &lt;reason&gt;not_unique&lt;/reason&gt;\n                &lt;/detail&gt;\n              &lt;/member_error&gt;\n            &lt;/member_errors&gt;\n          &lt;/member&gt;\n        &lt;/members&gt;\n      &lt;/body&gt;\n    &lt;/RESPONSE&gt;\n    &lt;ACTION&gt;BULKADD&lt;/ACTION&gt;\n  &lt;/msg&gt;\n&lt;/body&gt;\n\n</code></pre>\n","_postman_id":"a35677bd-5b64-4efc-ba5f-795e02676295","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}}],"id":"f6d0c172-864e-43b9-8060-23d05e1c696d","_postman_id":"f6d0c172-864e-43b9-8060-23d05e1c696d","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"SMS","item":[{"name":"SUB (v3.1)","item":[],"id":"11f659f9-a164-4e66-8e45-8dcc7c184e69","description":"<h2 id=\"purpose\">Purpose</h2>\n<p>The <code>SUB</code> callback notifies your system when <strong>a member opts in to receive SMS communications</strong> for a specific list. This can happen via keyword, web form, or other configured entry points. Version 3.1 introduces <strong>list-level filtering</strong> and <strong>API inclusion/exclusion logic</strong>, offering more granular control over which subscriptions trigger callbacks.</p>\n<h2 id=\"payload-structure\">Payload Structure</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobile_phone_number</code></td>\n<td>string</td>\n<td>E.164 format preferred (e.g., <code>+19096143073</code>)</td>\n</tr>\n<tr>\n<td><code>list_id</code></td>\n<td>integer</td>\n<td>The unique ID of the SMS list the member subscribed to</td>\n</tr>\n<tr>\n<td><code>member_id</code></td>\n<td>integer</td>\n<td>Internal system ID for the member</td>\n</tr>\n<tr>\n<td><code>client_member_id</code></td>\n<td>string</td>\n<td>Your external reference key</td>\n</tr>\n<tr>\n<td><code>request_datetime</code></td>\n<td>string</td>\n<td>Timestamp of the event with timezone</td>\n</tr>\n<tr>\n<td><code>correlation_id</code></td>\n<td>string or null</td>\n<td>Used to correlate with original requests (may be null)</td>\n</tr>\n<tr>\n<td><code>api_username</code></td>\n<td>string or null</td>\n<td>The user that performed the API-triggered opt-in (null if opt-in came from self-service or keyword)</td>\n</tr>\n<tr>\n<td><code>action</code></td>\n<td>string</td>\n<td>Always <code>\"SUB\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"example-payloads\">Example Payloads</h2>\n<h3 id=\"json\">JSON</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"mobile_phone_number\": \"19095555182\",\n  \"list_id\": 32918,\n  \"member_id\": 152819914,\n  \"client_member_id\": \"asqw1412\",\n  \"request_datetime\": \"2025-05-17 14:58:38.874518 MST\",\n  \"correlation_id\": null,\n  \"api_username\": null,\n  \"action\": \"SUB\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"xml\">XML</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;mobile_phone_number&gt;190955521431&lt;/mobile_phone_number&gt;\n    &lt;list_id&gt;33092&lt;/list_id&gt;\n    &lt;member_id&gt;152819914&lt;/member_id&gt;\n    &lt;client_member_id&gt;asqw1412&lt;/client_member_id&gt;\n    &lt;request_datetime&gt;2025-05-17 14:59:05.584413 MST&lt;/request_datetime&gt;\n    &lt;correlation_id /&gt;\n    &lt;api_username /&gt;\n    &lt;action&gt;SUB&lt;/action&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n","_postman_id":"11f659f9-a164-4e66-8e45-8dcc7c184e69","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"UNSUB (v3.1)","item":[],"id":"f527dcc5-4402-493f-a41f-c80c5b04afef","description":"<h2 id=\"purpose\">Purpose</h2>\n<p>The <code>UNSUB</code> callback notifies your system when <strong>a member opts out of receiving SMS communications</strong> for a specific list. This may happen via keyword (e.g., STOP), link-click, or other configured unsubscribe workflows.</p>\n<p>Version 3.1 supports:</p>\n<ul>\n<li><p><strong>List-specific callback configuration</strong></p>\n</li>\n<li><p><strong>Excluding or including API-originated opt-outs</strong></p>\n</li>\n</ul>\n<h2 id=\"payload-structure\">Payload Structure</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobile_phone_number</code></td>\n<td>string</td>\n<td>Member’s phone in E.164 format</td>\n</tr>\n<tr>\n<td><code>list_id</code></td>\n<td>integer</td>\n<td>The SMS list the member opted out from</td>\n</tr>\n<tr>\n<td><code>member_id</code></td>\n<td>integer</td>\n<td>Internal system ID for the member</td>\n</tr>\n<tr>\n<td><code>client_member_id</code></td>\n<td>string</td>\n<td>External reference ID</td>\n</tr>\n<tr>\n<td><code>request_datetime</code></td>\n<td>string</td>\n<td>Timestamp of unsubscribe with sub-second precision</td>\n</tr>\n<tr>\n<td><code>correlation_id</code></td>\n<td>string or null</td>\n<td>Used for attribution or campaign tracking</td>\n</tr>\n<tr>\n<td><code>api_username</code></td>\n<td>string or null</td>\n<td>Populated only if opt-out occurred via authenticated API call</td>\n</tr>\n<tr>\n<td><code>action</code></td>\n<td>string</td>\n<td>Always <code>\"UNSUB\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"example-payloads\">Example Payloads</h2>\n<h3 id=\"json\">JSON</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"mobile_phone_number\": \"15554443333\",\n  \"list_id\": 44221,\n  \"member_id\": 918273645,\n  \"client_member_id\": \"xzy123clientref\",\n  \"request_datetime\": \"2025-05-17 15:02:09.239690 MST\",\n  \"correlation_id\": null,\n  \"api_username\": null,\n  \"action\": \"UNSUB\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"xml\">XML</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;mobile_phone_number&gt;15554443333&lt;/mobile_phone_number&gt;\n    &lt;list_id&gt;44221&lt;/list_id&gt;\n    &lt;member_id&gt;918273645&lt;/member_id&gt;\n    &lt;client_member_id&gt;xzy123clientref&lt;/client_member_id&gt;\n    &lt;request_datetime&gt;2025-05-17 15:02:39.741578 MST&lt;/request_datetime&gt;\n    &lt;correlation_id /&gt;\n    &lt;api_username /&gt;\n    &lt;action&gt;UNSUB&lt;/action&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n","_postman_id":"f527dcc5-4402-493f-a41f-c80c5b04afef","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"MT (v1.0)","item":[],"id":"1056f6db-0e70-4ae9-9c46-4810fd61536c","description":"<h2 id=\"purpose\">Purpose</h2>\n<p>The <code>MT</code> (Mobile-Terminated) callback notifies your system <strong>whenever an outgoing SMS message is sent to a consumer</strong>. It provides full delivery context—message content, shortcode, segment count, and tracking metadata.</p>\n<ul>\n<li><p>Fully supports message send notifications</p>\n</li>\n<li><p>No retry status or delivery receipt—this is fire-on-send only</p>\n</li>\n<li><p>List-based filtering and usage-based licensing required for scale</p>\n</li>\n</ul>\n<h2 id=\"payload-structure\">Payload Structure</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>timestamp</code></td>\n<td>string</td>\n<td>When the message was sent (<code>YYYY-MM-DD HH:MM:SS TZ</code>)</td>\n</tr>\n<tr>\n<td><code>tracking_id</code></td>\n<td>integer</td>\n<td>Unique identifier for this send event</td>\n</tr>\n<tr>\n<td><code>audience_member_id</code></td>\n<td>integer</td>\n<td>Internal ID of the recipient</td>\n</tr>\n<tr>\n<td><code>message_id</code></td>\n<td>integer or null</td>\n<td>Internal ID if known (null for dynamic/unbatched messages)</td>\n</tr>\n<tr>\n<td><code>phone_number</code></td>\n<td>string</td>\n<td>Recipient's phone number</td>\n</tr>\n<tr>\n<td><code>shortcode</code></td>\n<td>integer</td>\n<td>Shortcode used to send the message</td>\n</tr>\n<tr>\n<td><code>account_id</code></td>\n<td>integer</td>\n<td>ID of the sending account</td>\n</tr>\n<tr>\n<td><code>list_id</code></td>\n<td>integer</td>\n<td>List associated with this message send</td>\n</tr>\n<tr>\n<td><code>correlation_id</code></td>\n<td>string or null</td>\n<td>Optional value for mapping to a campaign, journey, or external event</td>\n</tr>\n<tr>\n<td><code>segment_count</code></td>\n<td>integer</td>\n<td>Number of SMS segments used</td>\n</tr>\n<tr>\n<td><code>carrier</code></td>\n<td>string or null</td>\n<td>Carrier if resolved (may be null)</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>The exact text sent to the consumer</td>\n</tr>\n<tr>\n<td><code>action</code></td>\n<td>string</td>\n<td>Constant = <code>\"MT\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"example-payloads\">Example Payloads</h2>\n<h3 id=\"json\">JSON</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"timestamp\": \"2025-05-17 15:07:15 MST\",\n  \"tracking_id\": 1177520876,\n  \"audience_member_id\": 152819914,\n  \"message_id\": null,\n  \"phone_number\": \"15556667777\",\n  \"shortcode\": 98908,\n  \"account_id\": 1267,\n  \"list_id\": 12189,\n  \"correlation_id\": null,\n  \"segment_count\": 1,\n  \"carrier\": \"T-Mobile\",\n  \"content\": \"Track Outcome Demo v2 - Initial -- Reply YES or NO\",\n  \"action\": \"MT\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"xml-spoofed-example\">XML (Spoofed Example)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;timestamp&gt;2025-05-17 15:08:15 MST&lt;/timestamp&gt;\n    &lt;tracking_id&gt;1177520896&lt;/tracking_id&gt;\n    &lt;audience_member_id&gt;152819914&lt;/audience_member_id&gt;\n    &lt;message_id /&gt;\n    &lt;phone_number&gt;15556667777&lt;/phone_number&gt;\n    &lt;shortcode&gt;98908&lt;/shortcode&gt;\n    &lt;account_id&gt;1267&lt;/account_id&gt;\n    &lt;list_id&gt;12189&lt;/list_id&gt;\n    &lt;correlation_id /&gt;\n    &lt;segment_count&gt;1&lt;/segment_count&gt;\n    &lt;carrier&gt;T-Mobile&lt;/carrier&gt;\n    &lt;content&gt;Track Outcome Demo v2 - Initial -- Reply YES or NO&lt;/content&gt;\n    &lt;action&gt;MT&lt;/action&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n","_postman_id":"1056f6db-0e70-4ae9-9c46-4810fd61536c","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"MO (v2.0)","item":[],"id":"f85c2468-e1c3-46aa-85f7-ad9802729975","description":"<h2 id=\"purpose\">Purpose</h2>\n<p>The <code>MO</code> (Mobile-Originated) callback informs your system whenever <strong>a member replies to a message</strong> or sends an inbound SMS or MMS to your shortcode. This callback enables real-time response tracking, campaign logic, and data collection for interactive programs.</p>\n<h2 id=\"payload-structure\">Payload Structure</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>short_code</code></td>\n<td>string</td>\n<td>The shortcode that received the message</td>\n</tr>\n<tr>\n<td><code>mobile_phone_number</code></td>\n<td>string</td>\n<td>Sender’s phone number in E.164 format</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>Raw text message content</td>\n</tr>\n<tr>\n<td><code>carrier</code></td>\n<td>string</td>\n<td>Sender’s mobile carrier</td>\n</tr>\n<tr>\n<td><code>mms_urls</code></td>\n<td>array</td>\n<td>If an MMS was sent, includes array of media URLs; empty for SMS</td>\n</tr>\n<tr>\n<td><code>received_datetime</code></td>\n<td>string</td>\n<td>Timestamp when message was received</td>\n</tr>\n<tr>\n<td><code>mo_id</code></td>\n<td>integer</td>\n<td>Unique ID for this inbound message</td>\n</tr>\n<tr>\n<td><code>list_id</code></td>\n<td>integer</td>\n<td>List associated with the interaction (if configured)</td>\n</tr>\n<tr>\n<td><code>campaign_id</code></td>\n<td>integer or null</td>\n<td>Populated if part of a tracked campaign</td>\n</tr>\n<tr>\n<td><code>message_id</code></td>\n<td>integer or null</td>\n<td>Outbound message ID this is a response to (if known)</td>\n</tr>\n<tr>\n<td><code>correlation_id</code></td>\n<td>string or null</td>\n<td>Optional trace key from the originating journey</td>\n</tr>\n<tr>\n<td><code>client_member_id</code></td>\n<td>string</td>\n<td>External reference ID</td>\n</tr>\n<tr>\n<td><code>member_id</code></td>\n<td>integer</td>\n<td>Internal member ID</td>\n</tr>\n<tr>\n<td><code>action</code></td>\n<td>string</td>\n<td>Always <code>\"MO\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"example-payloads\">Example Payloads</h2>\n<h3 id=\"json\">JSON</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"short_code\": \"98908\",\n  \"mobile_phone_number\": \"15554443333\",\n  \"content\": \"Yes, I’d like more info.\",\n  \"carrier\": \"T-Mobile\",\n  \"mms_urls\": [],\n  \"received_datetime\": \"2025-05-17 15:11:19.325093 MST\",\n  \"mo_id\": 61530944,\n  \"list_id\": 12189,\n  \"campaign_id\": null,\n  \"message_id\": null,\n  \"correlation_id\": null,\n  \"client_member_id\": \"xzy123clientref\",\n  \"member_id\": 918273645,\n  \"action\": \"MO\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"xml\">XML</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;short_code&gt;98908&lt;/short_code&gt;\n    &lt;mobile_phone_number&gt;15554443333&lt;/mobile_phone_number&gt;\n    &lt;content&gt;Yep, sounds good&lt;/content&gt;\n    &lt;carrier&gt;T-Mobile&lt;/carrier&gt;\n    &lt;mms_urls /&gt;\n    &lt;received_datetime&gt;2025-05-17 15:11:52.153435 MST&lt;/received_datetime&gt;\n    &lt;mo_id&gt;61530947&lt;/mo_id&gt;\n    &lt;list_id&gt;12189&lt;/list_id&gt;\n    &lt;campaign_id /&gt;\n    &lt;message_id /&gt;\n    &lt;correlation_id /&gt;\n    &lt;client_member_id&gt;xzy123clientref&lt;/client_member_id&gt;\n    &lt;member_id&gt;918273645&lt;/member_id&gt;\n    &lt;action&gt;MO&lt;/action&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n","_postman_id":"f85c2468-e1c3-46aa-85f7-ad9802729975","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"DR (v3.0)","item":[],"id":"0ed7c766-116d-4ae6-a449-8cb0b9894b96","description":"<h2 id=\"purpose\">Purpose</h2>\n<p>The <code>DR</code> (Delivery Report) callback is used to inform your system about <strong>the delivery outcome of an outgoing SMS message</strong>. It provides structured status and reason codes, message tracking info, and identifies the source of the delivery response (carrier or gateway).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaign_id</td>\n<td>ID of the campaign this message belongs to.</td>\n</tr>\n<tr>\n<td>request_datetime</td>\n<td>Timestamp when DR was received. Format: <code>YYYY-MM-DD HH:MM:SS.ssssss TZD</code>.</td>\n</tr>\n<tr>\n<td>action</td>\n<td>Always <code>\"DR\"</code></td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>ID of the associated MT message.</td>\n</tr>\n<tr>\n<td>list_id</td>\n<td>Associated list ID (only included if list-level DR is enabled).</td>\n</tr>\n<tr>\n<td>report_details</td>\n<td>Wrapper for delivery metadata.</td>\n</tr>\n<tr>\n<td>mobile_phone_number</td>\n<td>Recipient's phone number.</td>\n</tr>\n<tr>\n<td>status_code</td>\n<td>High-level status:  <br />• 2: Deleted  <br />• 3: Undelivered  <br />• 4: Rejected  <br />• 5: Unknown  <br />• 6: Expired</td>\n</tr>\n<tr>\n<td>reason_code</td>\n<td>Detailed result corresponding to SMPP codes</td>\n</tr>\n<tr>\n<td>status_text</td>\n<td>Raw carrier/gateway report string.</td>\n</tr>\n<tr>\n<td>client_member_id</td>\n<td>External identifier (e.g., MRN, internal CRM ID).</td>\n</tr>\n<tr>\n<td>member_id</td>\n<td>Internal mPulse Member ID.</td>\n</tr>\n<tr>\n<td>report_from</td>\n<td>Source of DR: <code>\"CARRIER\"</code> or <code>\"SMS-GATEWAY\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"json-example\">JSON Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"body\": {\n    \"campaign_id\": 88221,\n    \"request_datetime\": \"2025-05-17 15:18:42.123456 MST\",\n    \"action\": \"DR\",\n    \"message_id\": 1177520876,\n    \"list_id\": 12189,\n    \"report_details\": {\n      \"mobile_phone_number\": \"15556667777\",\n      \"status_code\": 3,\n      \"reason_code\": 0,\n      \"status_text\": \"id:16cd06005e123456 sub:001 dlvrd:001 submit date:1704041534 done date:1704041534 stat:UNDELIV err:000 Text:N/A\",\n      \"client_member_id\": \"external-111\",\n      \"member_id\": 152819914,\n      \"report_from\": \"CARRIER\"\n    }\n  }\n}\n\n</code></pre>\n<hr />\n<h2 id=\"xml-example\">XML Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;campaign_id&gt;88221&lt;/campaign_id&gt;\n    &lt;request_datetime&gt;2025-05-17 15:18:42.123456 MST&lt;/request_datetime&gt;\n    &lt;action&gt;DR&lt;/action&gt;\n    &lt;message_id&gt;1177520876&lt;/message_id&gt;\n    &lt;list_id&gt;12189&lt;/list_id&gt;\n    &lt;report_details&gt;\n      &lt;mobile_phone_number&gt;15556667777&lt;/mobile_phone_number&gt;\n      &lt;status_code&gt;3&lt;/status_code&gt;\n      &lt;reason_code&gt;0&lt;/reason_code&gt;\n      &lt;status_text&gt;\n        id:16cd06005e123456 sub:001 dlvrd:001 submit date:1704041534 done date:1704041534 stat:UNDELIV err:000 Text:N/A\n      &lt;/status_text&gt;\n      &lt;client_member_id&gt;external-111&lt;/client_member_id&gt;\n      &lt;member_id&gt;152819914&lt;/member_id&gt;\n      &lt;report_from&gt;CARRIER&lt;/report_from&gt;\n    &lt;/report_details&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n","_postman_id":"0ed7c766-116d-4ae6-a449-8cb0b9894b96","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"BOUNCE (v3.0)","item":[],"id":"4cbbc341-3517-4548-a407-11f18958a879","description":"<h2 id=\"purpose\">Purpose</h2>\n<p>The <code>BOUNCE</code> callback in version 3.0 provides detailed notifications when a <strong>message fails to deliver</strong> due to a <strong>hard</strong> or <strong>soft</strong> bounce. This version includes bounce type classification and is configurable to include:</p>\n<ul>\n<li><p>Only <strong>HARD bounces</strong> (permanent delivery failure)</p>\n</li>\n<li><p>Only <strong>SOFT bounces</strong> (temporary issues)</p>\n</li>\n<li><p>Or <strong>both</strong></p>\n</li>\n</ul>\n<h2 id=\"json\">JSON</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"body\": {\n    \"message\": {\n      \"mobile_phone_number\": \"15558889999\",\n      \"short_code\": \"57889\",\n      \"client_member_id\": \"tester_9912\",\n      \"bounced_on_datetime\": \"2025-05-17 15:35:45\",\n      \"member_id\": 88991234,\n      \"message_id\": 129998,\n      \"bounce_type\": \"HARD\",  // or \"SOFT\"\n      \"action\": \"BOUNCE\"\n    }\n  }\n}\n\n</code></pre>\n<hr />\n<h2 id=\"xml\">XML</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;mobile_phone_number&gt;15558889999&lt;/mobile_phone_number&gt;\n    &lt;short_code&gt;57889&lt;/short_code&gt;\n    &lt;client_member_id&gt;tester_9912&lt;/client_member_id&gt;\n    &lt;bounced_on_datetime&gt;2025-05-17 15:35:45&lt;/bounced_on_datetime&gt;\n    &lt;member_id&gt;88991234&lt;/member_id&gt;\n    &lt;message_id&gt;129998&lt;/message_id&gt;\n    &lt;bounce_type&gt;HARD&lt;/bounce_type&gt; \n    &lt;action&gt;BOUNCE&lt;/action&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n","_postman_id":"4cbbc341-3517-4548-a407-11f18958a879","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}}],"id":"17de0448-b5b2-4588-b10f-54a5f8e7685b","_postman_id":"17de0448-b5b2-4588-b10f-54a5f8e7685b","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"EMAIL","item":[{"name":"EMAIL SUB (v2.0)","item":[],"id":"c47d04bd-9b99-45bb-9041-5ba751f1f71e","description":"<h3 id=\"description\">Description</h3>\n<p>Triggered when a member <strong>subscribes to an email list</strong>, regardless of whether via API, import, or UI. Can be configured to only trigger for specific lists.</p>\n<p>Possible values for source: API | CLICK_EMAIL_LINK | CSV_UPLOAD | EDITOR_CHANGE</p>\n<h3 id=\"json-example\">JSON Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email_address\": \"john.doe@gmail.com\",\n  \"audience_member_id\": 8100892,\n  \"client_member_id\": \"MP000111777\",\n  \"sent_from_email_address\": \"noreply@mpulsemobile.com\",\n  \"request_timestamp\": \"2025-05-17 12:15:34.422611-07:00\",\n  \"correlation_id\": \"123GHJ\", \n  \"source_type\": \"API\",\n  \"list_id\": 3322,\n  \"action\": \"EMAIL SUB\"\n}\n\n</code></pre>\n<h3 id=\"xml-example\">XML Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;email_address&gt;john.doe@gmail.com&lt;/email_address&gt;\n    &lt;audience_member_id&gt;8100892&lt;/audience_member_id&gt;\n    &lt;client_member_id&gt;MP000111777&lt;/client_member_id&gt;\n    &lt;sent_from_email_address&gt;noreply@mpulsemobile.com&lt;/sent_from_email_address&gt;\n    &lt;request_timestamp&gt;2025-05-17 12:15:34.422611-07:00&lt;/request_timestamp&gt;\n    &lt;source_type&gt;API&lt;/source_type&gt;\n    &lt;correlation_id&gt;123GHJ&lt;/correlation_id&gt;\n    &lt;list_id&gt;3322&lt;/list_id&gt;\n    &lt;action&gt;EMAIL SUB&lt;/action&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n<hr />\n","_postman_id":"c47d04bd-9b99-45bb-9041-5ba751f1f71e","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"EMAIL UNSUB (v2.0)","item":[],"id":"7bff8087-7513-4504-ac6c-d1de3d717ca3","description":"<h2 id=\"email-unsubscribe-callback-email-unsub--v20\">Email Unsubscribe Callback (EMAIL UNSUB) – v2.0</h2>\n<h3 id=\"description\">Description</h3>\n<p>Fires when a member <strong>unsubscribes from email communication</strong> from a specific list.</p>\n<p>Possible values for source: API | CLICK_EMAIL_LINK | CSV_UPLOAD | EDITOR_CHANGE | HARD_BOUNCE | EXCESSIVE_SOFT_BOUNCE</p>\n<h3 id=\"json-example\">JSON Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email_address\": \"john.doe@gmail.com\",\n  \"audience_member_id\": 8100892,\n  \"client_member_id\": \"MP000111777\",\n  \"sent_from_email_address\": \"noreply@mpulsemobile.com\",\n  \"request_timestamp\": \"2025-05-17 12:22:01.235122-07:00\",\n  \"source_type\": \"CLICK_EMAIL_LINK\",\n  \"correlation_id\": \"123GHJ\",\n  \"list_id\": 3322,\n  \"action\": \"EMAIL UNSUB\"\n}\n\n</code></pre>\n<h3 id=\"xml-example\">XML Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;body&gt;\n  &lt;message&gt;\n    &lt;email_address&gt;john.doe@gmail.com&lt;/email_address&gt;\n    &lt;audience_member_id&gt;8100892&lt;/audience_member_id&gt;\n    &lt;client_member_id&gt;MP000111777&lt;/client_member_id&gt;\n    &lt;sent_from_email_address&gt;noreply@mpulsemobile.com&lt;/sent_from_email_address&gt;\n    &lt;request_timestamp&gt;2025-05-17 12:22:01.235122-07:00&lt;/request_timestamp&gt;\n    &lt;source_type&gt;CLICK_EMAIL_LINK&lt;/source_type&gt;\n    &lt;correlation_id&gt;123GHJ&lt;/correlation_id&gt;\n    &lt;list_id&gt;3322&lt;/list_id&gt;\n    &lt;action&gt;EMAIL UNSUB&lt;/action&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre>\n","_postman_id":"7bff8087-7513-4504-ac6c-d1de3d717ca3","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}},{"name":"EMAIL OPEN (v2.0)","item":[],"id":"779d9097-e012-477a-93d5-83367b760218","description":"<h3 id=\"description\">Description</h3>\n<p>Occurs <strong>each time an email is opened</strong>, enabling engagement tracking.</p>\n<h3 id=\"json-example\">JSON Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email_address\": \"john.doe@gmail.com\",\n  \"audience_member_id\": 8100892,\n  \"client_member_id\": \"MP000111777\",\n  \"sent_from_email_address\": \"noreply@mpulsemobile.com\",\n  \"timestamp\": \"2025-05-17 13:00:11.429133-07:00\",\n  \"message_id\": 81763,\n  \"list_id\": 3322,\n  \"email_sent_id\": 1790636,\n  \"correlation_id\": null,\n  \"action\": \"EMAIL OPEN\"\n}\n\n</code></pre>\n<h3 id=\"xml-example\">XML Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;body&gt;\n  &lt;message&gt;\n    &lt;email_address&gt;john.doe@gmail.com&lt;/email_address&gt;\n    &lt;audience_member_id&gt;8100892&lt;/audience_member_id&gt;\n    &lt;client_member_id&gt;MP000111777&lt;/client_member_id&gt;\n    &lt;sent_from_email_address&gt;noreply@mpulsemobile.com&lt;/sent_from_email_address&gt;\n    &lt;timestamp&gt;2025-05-17 13:00:11.429133-07:00&lt;/timestamp&gt;\n    &lt;message_id&gt;81763&lt;/message_id&gt;\n    &lt;list_id&gt;3322&lt;/list_id&gt;\n    &lt;email_sent_id&gt;1790636&lt;/email_sent_id&gt;\n    &lt;correlation_id /&gt;\n    &lt;action&gt;EMAIL OPEN&lt;/action&gt;\n  &lt;/message&gt;\n&lt;/body&gt;\n\n</code></pre><hr />\n","_postman_id":"779d9097-e012-477a-93d5-83367b760218","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}}],"id":"11eb6c4f-5885-42e7-85e6-a7007de23f3a","_postman_id":"11eb6c4f-5885-42e7-85e6-a7007de23f3a","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","name":"Callbacks","type":"folder"}}}],"id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23","description":"<h2 id=\"introduction\">Introduction</h2>\n<p>Callbacks are <em>real-time webhook events</em> that Program Manager fires whenever a key action occurs — for example, a member subscribes to an SMS list, an email bounces, or a member opts out. Instead of pulling reports or waiting for overnight files, your downstream systems receive the event <strong>instantly</strong>, letting you:</p>\n<ul>\n<li><p><strong>Sync data in near-real-time</strong> → update CRMs, EHRs, data lakes, etc.</p>\n</li>\n<li><p><strong>Create dynamic integration</strong> → enroll a member in a new program, open a ticket, send a confirmation message.</p>\n</li>\n</ul>\n<p>You can manage callback endpoints:</p>\n<ul>\n<li><p><strong>Self-service</strong> – <em>Program Manager UI</em> (requires a Program Manager licence).</p>\n</li>\n<li><p><strong>Managed</strong> – the <strong>mPulse team</strong> can create, change, or disable callbacks on your behalf (may require additional license)</p>\n</li>\n</ul>\n<h3 id=\"supported-authentication-methods\">Supported Authentication Methods</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Method</th>\n<th>How it works</th>\n<th>When to use</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>OAuth 2.0</strong> (Client-Credentials)</td>\n<td>Program Manager fetches a bearer token from your auth server and attaches <code>Authorization: Bearer</code> to every POST.</td>\n<td>Best for enterprise APIs that rotate tokens automatically.</td>\n</tr>\n<tr>\n<td><strong>Static Bearer</strong></td>\n<td>You supply a long-lived bearer token; Program Manager sends it unchanged.</td>\n<td>Quick to set up when you already have an API gateway expecting bearer tokens.</td>\n</tr>\n<tr>\n<td><strong>Basic Auth</strong></td>\n<td>Program Manager Base64-encodes <code>username:password</code> → <code>Authorization: Basic …</code>.</td>\n<td>Simple servers or tools that still rely on HTTP Basic.</td>\n</tr>\n<tr>\n<td><strong>None</strong></td>\n<td>No <code>Authorization</code> header is sent.</td>\n<td>Public endpoints (dev / test) or IP-allow-listed servers.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"payload-formats\">Payload Formats</h3>\n<p>Program Manager can serialise every callback in <strong>two interchangeable formats</strong>:</p>\n<ol>\n<li><p><strong>JSON</strong></p>\n</li>\n<li><p><strong>XML</strong></p>\n</li>\n</ol>\n<p>Specify the desired format per endpoint via the UI or support ticket.</p>\n<h3 id=\"timeouts-and-retries\">Timeouts and Retries</h3>\n<p>In the case of a 4xx error, the callback will be marked as failed.</p>\n<p>In the case of a 5xx error, we will try to repost up to five (5) times. There will be a 60-second timeout between each attempt. If the callback does notsuccessfully post after the fifth try, it will be marked as failed.</p>\n<p>Failed callbacks can be retrieved using the <em><strong>Callback Report API</strong></em></p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ae05737e-481a-4e41-ba93-220da1f070da","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"3445ca20-2164-498a-aca7-4b604da7b9e7","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"7b222963-88b2-4f9d-8fad-f95bdcf6af23"},{"name":"Audience API","item":[{"name":"Audience API - JSON","item":[{"name":"GET Member Information","id":"736a7a66-f83d-4bb9-b0a1-1e99e86978fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"GET","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Api-Version","value":"2.0","type":"text"}],"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?clientmemberid={{client_member_id}}","description":"<p>Retrieve member information by identifier. Will return entire member record if found.</p>\n<p>Searches are exact match. If searching for a dependent, you must use memberid.</p>\n<p>Append as query string to API request, i.e. ?mobilephone=13105551212</p>\n<p>Using X-Ms-Async-cb will return a report id</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>memberid</code></td>\n<td>mPulse audience member id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>mobilephone</code></td>\n<td>Phone number</td>\n<td>XXXXXXXXXXX (11-digit number), XXXXXXXXXX (10-digit number), XXX-XXX-XXXX, 1-XXX-XXX-XXXX</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>Valid email address</td>\n<td>N/A</td>\n</tr>\n<tr>\n<td><code>clientmemberid</code></td>\n<td>client member id</td>\n<td>N/A</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>app member id</td>\n<td>N/A</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[{"description":{"content":"<p>Can use a variety of identifiers. In this case we are using client_member_id.</p>\n","type":"text/plain"},"key":"clientmemberid","value":"{{client_member_id}}"}],"variable":[]}},"response":[{"id":"05a24689-3bf3-4471-85bc-e53595480d66","name":"GET Member Information - Success","originalRequest":{"method":"GET","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"User-Agent","value":""},{"key":"X-Ms-Async-cb","value":"true","description":"This is an optional header. The header should be enabled only when querying for audience members greater than 35K. This header is used in conjunction with X-Ms-Audience-Get","type":"default","disabled":true},{"key":"X-Ms-Audience-Get","value":"audience","type":"default","disabled":true}],"url":{"raw":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?clientmemberid={{client_member_id}}","protocol":"https","host":["ms-api","mpulsemobile","com"],"path":["accounts","{{account_id}}","members"],"query":[{"key":"clientmemberid","value":"{{client_member_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 18:19:21 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"653"},{"key":"Connection","value":"keep-alive"},{"key":"Etag","value":"\"bbcf6b5d7531539eb39d2890c1bc0ee4a40e10fb\""},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": \"120842548\",\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"RMENABLED\": false,\n                        \"PREFERREDLANGUAGE\": \"Spanish\",\n                        \"CITY\": \"Anaheim\",\n                        \"CLIENTMEMBERID\": \"629941357\",\n                        \"ADDRESS1\": \"123 Fake Street\",\n                        \"LASTNAME\": \"Member\",\n                        \"COUNTRY\": \"United States\",\n                        \"EMAIL\": \"fakeemail@email.com\",\n                        \"DATEADDED\": \"2024-02-01\",\n                        \"BIRTHDATE\": \"1988-01-13\",\n                        \"FAVORITE_COLOR\": \"Blue\",\n                        \"SEGMENT_5\": \"Segment Criteria\",\n                        \"TESTFIELD\": \"Example Single Line\",\n                        \"PHARM\": \"Pharmacy Name\",\n                        \"GSD_TEST\": \"TRUE\",\n                        \"BPD_TEST\": \"TRUE\",\n                        \"STATE\": \"California\",\n                        \"FIRSTNAME\": \"Sample\",\n                        \"ZIP\": \"92805\",\n                        \"MOBILEPHONE\": \"19095550123\"\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"42c01fba-9644-477e-a614-35af838a7f50","name":"GET Member Information - Fail","originalRequest":{"method":"GET","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"User-Agent","value":"","disabled":true},{"key":"X-Ms-Async-cb","value":"true","description":"This is an optional header. The header should be enabled only when querying for audience members greater than 35K. This header is used in conjunction with X-Ms-Audience-Get","type":"default","disabled":true},{"key":"X-Ms-Audience-Get","value":"audience","type":"default","disabled":true}],"url":{"raw":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?clientmemberid=","protocol":"https","host":["ms-api","mpulsemobile","com"],"path":["accounts","{{account_id}}","members"],"query":[{"key":"clientmemberid","value":"","description":"Can use a variety of identifiers. In this case we are using client_member_id."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 19:15:46 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"168"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"errors\": {\n            \"json_error\": {\n                \"code\": \"MS-ERR-251\",\n                \"message\": \"Member with clientmemberid:  not found\",\n                \"detail\": {}\n            }\n        }\n    }\n}"}],"_postman_id":"736a7a66-f83d-4bb9-b0a1-1e99e86978fa"},{"name":"GET Member Subscription Statuses","id":"50fa2d86-2258-4a56-8135-8b29df225cfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"GET","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Get","value":"subscriptions"},{"key":"X-Ms-Api-Version","value":"2.1","description":"<p>Allowed Values: 1.1 and 2.1.  Version 2.1 has updates to standardize JSON responses. Please note using the version 2.1 will require updates on the API clients to handle the change in the JSON response structure.</p>\n","type":"default"}],"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?q=<body><member><clientmemberid>{{client_member_id}}</clientmemberid></member></body>","description":"<p>Retrieves member subscription statuses<br />\nCan look up by query {q}; append to end of URL as query parameter.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Find By</th>\n<th>{q}</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Client Member ID</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;clientmemberid&gt;{CLIENT_MEMBER_ID}&lt;/clientmemberid&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>Mobile Phone Number</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;mobilephone&gt;{MOBILE_PHONE_NUMBER}&lt;/mobilephone&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>Email Address</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;email&gt;{EMAIL_ADDRESS}&lt;/email&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>App Member ID</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;appmemberid&gt;{APP_MEMBER_ID}&lt;/appmemberid&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[{"key":"q","value":"<body><member><clientmemberid>{{client_member_id}}</clientmemberid></member></body>"},{"disabled":true,"key":"mobilephone","value":"{{mobile_phone}}"}],"variable":[]}},"response":[{"id":"3108316e-1cc7-407b-8b57-9be9d5ccbbec","name":"GET Member Subscription Statuses - Success","originalRequest":{"method":"GET","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Get","value":"subscriptions"},{"key":"X-Ms-Api-Version","value":"2.1","description":"Allowed Values: 1.1 and 2.1.  Version 2.1 has updates to standardize JSON responses. Please note using the version 2.1 will require updates on the API clients to handle the change in the JSON response structure.","type":"default"}],"url":{"raw":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?q=<body><member><clientmemberid>{{client_member_id}}</clientmemberid></member></body>","protocol":"https","host":["ms-api","mpulsemobile","com"],"path":["accounts","{{account_id}}","members"],"query":[{"key":"q","value":"<body><member><clientmemberid>{{client_member_id}}</clientmemberid></member></body>"},{"key":"mobilephone","value":"{{mobile_phone}}","type":"text","disabled":true}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 21:26:44 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"476"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"list\": [\n                        {\n                            \"listid\": \"11023\",\n                            \"subscriptions\": {\n                                \"sms\": {\n                                    \"status\": \"INACTIVE\",\n                                    \"on_gprl\": \"false\"\n                                }\n                            }\n                        },\n                        {\n                            \"listid\": \"16159\",\n                            \"subscriptions\": {\n                                \"sms\": {\n                                    \"status\": \"ACTIVE\",\n                                    \"on_gprl\": \"false\"\n                                },\n                                \"email\": {\n                                    \"status\": \"PENDING\"\n                                },\n                                \"ivr\": {\n                                    \"status\": \"INACTIVE\"\n                                }\n                            }\n                        }\n                    ],\n                    \"id\": {\n                        \"memberid\": \"120842548\",\n                        \"email\": \"fakeemail@email.com\",\n                        \"mobilephone\": \"19096143073\",\n                        \"clientmemberid\": \"629941357\"\n                    }\n                }\n            }\n        ],\n        \"errors\": null\n    }\n}"},{"id":"c3c5850a-b623-4457-98b9-676dfabf5cd7","name":"GET Member Subscription Statuses - Failure","originalRequest":{"method":"GET","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Get","value":"subscriptions"},{"key":"X-Ms-Api-Version","value":"2.1","description":"Allowed Values: 1.1 and 2.1.  Version 2.1 has updates to standardize JSON responses. Please note using the version 2.1 will require updates on the API clients to handle the change in the JSON response structure.","type":"default"}],"url":{"raw":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?q=<body><member><clientmemberid>{{client_member_id}}</clientmemberid></member></body>","protocol":"https","host":["ms-api","mpulsemobile","com"],"path":["accounts","{{account_id}}","members"],"query":[{"key":"q","value":"<body><member><clientmemberid>{{client_member_id}}</clientmemberid></member></body>"},{"key":"mobilephone","value":"{{mobile_phone}}","type":"text","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 21:28:41 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"285"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"member_errors\": {\n                        \"member_error\": {\n                            \"code\": \"MS-ERR-003\",\n                            \"message\": \"Invalid parameter value\",\n                            \"detail\": {\n                                \"parameter\": \"clientmemberid\",\n                                \"value\": \"629941357adsasd\",\n                                \"reason\": \"no_member\"\n                            }\n                        }\n                    }\n                }\n            }\n        ],\n        \"errors\": null\n    }\n}"}],"_postman_id":"50fa2d86-2258-4a56-8135-8b29df225cfc"},{"name":"Get Report API","id":"af03e44d-e5b1-4090-8848-48d2eca80016","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[{"key":"X-Ms-Source","value":"api","type":"default"}],"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members/file/{{file_request_id}}","description":"<p>The endpoint generates a audience member report based on the file request id.</p>\n<p>The file request id is generated by running the Get Member Information with X-Ms-Async-cb set to true.</p>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members","file","{{file_request_id}}"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"af03e44d-e5b1-4090-8848-48d2eca80016"},{"name":"Create Member","event":[{"listen":"test","script":{"id":"ff3c91c0-90c6-4d8d-821d-eabe85a6c8c2","exec":["let jsonData = JSON.parse(responseBody);","","pm.environment.set(\"member_id\", jsonData.body.members[0].member.id.memberid);"],"type":"text/javascript","packages":{}}}],"id":"a583ae89-89d6-486e-9211-9b9924e885e1","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n\t\t\"member\": { \n\t\t\t\"firstname\": \"Kevin\",\n\t\t\t\"lastname\": \"McGrath\",\n\t\t\t\"zipcode\":\"90210\",\n\t\t\t\"email\": \"kevin.mcgrath@yopmail.com\",\n\t\t\t\"mobilephone\": \"18186893185\",\n\t\t\t\"clientmemberid\": \"PP-33883821c\",\n\t\t\t\"appmemberid\": \"app238383828\"\n\t    }\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Create a member.</p>\n<p>In order to add a member to the mPulse system, the member must have at least one valid contact method/identifier. The identifier must be unique to the account (unless your account is enabled for the Shared Contact feature.)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"sample-success-response\">Sample Success Response:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"kevin.mcgrath@yopmail.com\",\n                        \"mobilephone\": \"18186893185\",\n                        \"appmemberid\": \"app238383828\",\n                        \"memberid\": 86795317,\n                        \"clientmemberid\": \"PP-33883821c\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"EMAIL\": \"kevin.mcgrath@yopmail.com\",\n                        \"DATEADDED\": \"2025-09-03 06:10 PDT\",\n                        \"RMENABLED\": false,\n                        \"ZIP\": \"90210\",\n                        \"MOBILEPHONE\": \"18186893185\",\n                        \"LASTNAME\": \"McGrath\",\n                        \"APPMEMBERID\": \"app238383828\",\n                        \"CLIENTMEMBERID\": \"PP-33883821c\",\n                        \"TESTMEMBER\": false,\n                        \"FIRSTNAME\": \"Kevin\"\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<p>Errors due to wrong payload will result in a failure to add the member. Some sample error responses are provided below:</p>\n<h4 id=\"a-member-with-the-provided-email-already-exists\">A member with the provided email already exists:</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"nakul.sharma@emids.com\",\n                        \"mobilephone\": \"18186793181\",\n                        \"appmemberid\": \"app238383822\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": \"IDENTIFIERS\",\n                                    \"value\": \"email: nakul.sharma@emids.com, sms: 18186793181, app_member_id: app238383822, clientmemberid: PP-33883821x\",\n                                    \"reason\": \"not_unique\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"mobile-phone-is-invalid\">Mobile phone is invalid:</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"garmin.forerunner@emids.com\",\n                        \"appmemberid\": \"app238383822\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": \"MOBILEPHONE\",\n                                    \"value\": \"6789042\",\n                                    \"reason\": \"invalid_format\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"no-identifier-provided\">No Identifier provided:</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-001\",\n                                \"message\": \"A required field is missing\",\n                                \"detail\": {\n                                    \"parameter\": [\n                                        \"mobilephone\",\n                                        \"email\",\n                                        \"appmemberid\"\n                                    ]\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a583ae89-89d6-486e-9211-9b9924e885e1"},{"name":"Create Member & Subscribe","event":[{"listen":"test","script":{"id":"cffa5925-f8d3-41a2-b821-033e1289b946","exec":["let jsonData = JSON.parse(responseBody);","","pm.environment.set(\"member_id\", jsonData.body.members[0].member.id.memberid);","var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Email</th>","        <th>Member ID</th>","        <th>Result</th>","        <th>Error Code</th>","        <th>Error Message</th>","        <th>Parameter</th>","        <th>Value</th>","        <th>Reason</th>","        <th>Status</th>","    </tr>","    ","    {{#each response.body.members}}","        <tr>","            <td>{{member.id.email}}</td>","            <td>{{member.id.memberid}}</td>","            <td>{{member.result}}</td>","            <td>{{member.member_errors.[0].member_error.code}}</td>","            <td>{{member.member_errors.[0].member_error.message}}</td>","            <td>{{member.member_errors.[0].member_error.detail.parameter}}</td>","            <td>{{member.member_errors.[0].member_error.detail.value}}</td>","            <td>{{member.member_errors.[0].member_error.detail.reason}}</td>","            <td>{{member.subscriptions.email.status}}</td>","        </tr>","    {{/each}}","</table>","`;","","function constructVisualizerPayload() {","    return { response: pm.response.json() }","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ceb0ded9-8454-4596-84af-168c4954aaf5","exec":[""],"type":"text/javascript","packages":{}}}],"id":"fdad5cdd-e4bb-470a-a35f-0c073f508ff3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n\t        \"firstname\": \"Peter\",\n\t        \"lastname\": \"Patient\",\n\t        \"zipcode\":\"92805\",\n\t        \"clientmemberid\": \"PP-33883823x\",\n            \"email\" : \"peterpatient@email.com\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}\n\n"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Create a single member &amp; subscribe to a list for the channels indicated.</p>\n<p>The list given in <code>listid</code> must exist; it must have the channel(s) enabled; and the user must have a valid identifier/contact method for that channel in order to be subscribed. For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"sample-success-response\">Sample Success Response:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"garmin.forerunner@emids.com\",\n                        \"memberid\": 86795316\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"EMAIL\": \"garmin.forerunner@emids.com\",\n                        \"DATEADDED\": \"2025-09-03 06:06 PDT\",\n                        \"RMENABLED\": false,\n                        \"ZIP\": \"90210\",\n                        \"LASTNAME\": \"Forerunner\",\n                        \"TESTMEMBER\": false,\n                        \"FIRSTNAME\": \"Garmin\"\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<p>Errors due to wrong payload will result in a failure to add the member. Some sample error responses are provided below:</p>\n<h4 id=\"invalid-listid\">Invalid listid:</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"errors\": {\n            \"json_error\": {\n                \"code\": \"MS-ERR-003\",\n                \"message\": \"Invalid parameter value\",\n                \"detail\": {\n                    \"parameter\": \"listid\",\n                    \"value\": \"7892344\",\n                    \"reason\": \"no_list\"\n                }\n            }\n        }\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"e54b1d21-42b4-48e1-9785-b1ab408d2748","name":"Create Member & Subscribe - Success","originalRequest":{"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n\t        \"firstname\": \"Peter\",\n\t        \"lastname\": \"Patient\",\n\t        \"zipcode\":\"90210\",\n\t        \"clientmemberid\": \"PP-33883823x\",\n            \"email\" : \"peterpatient@email.com\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}\n\n"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:23:42 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"449"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"peterpatient@email.com\",\n                        \"memberid\": 129440937,\n                        \"clientmemberid\": \"PP-33883823x\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"FIRSTNAME\": \"Peter\",\n                        \"LASTNAME\": \"Patient\",\n                        \"RMENABLED\": false,\n                        \"CLIENTMEMBERID\": \"PP-33883823x\",\n                        \"DATEADDED\": \"2024-06-24 20:23 PDT\",\n                        \"ZIP\": \"90210\",\n                        \"EMAIL\": \"peterpatient@email.com\"\n                    },\n                    \"subscriptions\": {\n                        \"email\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"7f64ad01-1ac8-4029-8c1a-e994df783684","name":"Create Member & Subscribe - Failure","originalRequest":{"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n\t        \"firstname\": \"Polly\",\n\t        \"lastname\": \"Patient\",\n\t        \"zipcode\":\"90210\",\n\t        \"mobilephone\": \"13105551212\",\n\t        \"clientmemberid\": \"PP-33883821x\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}\n\n"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:20:43 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"491"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"polly.patient@hotmail.com\",\n                        \"mobilephone\": \"13105551212\",\n                        \"appmemberid\": \"app238383822\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": \"IDENTIFIERS\",\n                                    \"value\": \"email: polly.patient@hotmail.com, sms: 13105551212, app_member_id: app238383822, clientmemberid: PP-33883821x\",\n                                    \"reason\": \"not_unique\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}"},{"id":"c38d1a69-e657-49cf-921d-286bab298e00","name":"Create Member & Subscribe - Bad Number","originalRequest":{"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n\t        \"firstname\": \"Peter\",\n\t        \"lastname\": \"Patient\",\n\t        \"zipcode\":\"90210\",\n\t        \"mobilephone\": \"19095550413\",\n\t        \"clientmemberid\": \"PP-33883822x\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}\n\n"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:22:41 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"333"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19095550413\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": \"MOBILEPHONE\",\n                                    \"value\": \"19095550413\",\n                                    \"reason\": \"UNSUPPORTED_CARRIER\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"fdad5cdd-e4bb-470a-a35f-0c073f508ff3"},{"name":"Create Multiple Members & Subscribe","event":[{"listen":"test","script":{"id":"cffa5925-f8d3-41a2-b821-033e1289b946","exec":["let jsonData = JSON.parse(responseBody);","","pm.environment.set(\"member_id\", jsonData.body.members[0].member.id.memberid);"],"type":"text/javascript"}}],"id":"ef94c4c2-3719-4604-b1a0-5943adbe60b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": [\n    \t\t{ \n\t\t        \"firstname\": \"Polly\",\n\t\t        \"lastname\": \"Patient\",\n\t\t        \"zipcode\":\"90210\",\n\t\t        \"email\": \"polly.patient@hotmail.com\",\n\t\t        \"mobilephone\": \"18186793181\",\n\t\t        \"clientmemberid\": \"PP-33883821xxxx\",\n\t\t        \"appmemberid\": \"app2xxx38383822\"\n\t    \t},\n\t    \t{\n\t    \t\t\"firstname\": \"Mikey\",\n\t    \t\t\"lastname\": \"Member\",\n\t    \t\t\"zipcode\": 91604,\n\t    \t\t\"mobilephone\": \"13105551313\"\n\t    \t}\n\t    ],\n    \t\"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Create and subscribe multiple members to a list for the channels indicated.</p>\n<p>The list given in <code>listid</code> must exist; it must have the channel(s) enabled; and the user must have a valid identifier/contact method for that channel in order to be subcribed. For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"sample-request-with-success-response\">Sample request with success response:</h4>\n<p><code>status code: 200</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 2,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"robbie.member2@yopmail.com\",\n                        \"mobilephone\": \"18186794582\",\n                        \"appmemberid\": \"app2xxx38383823\",\n                        \"memberid\": 86795319,\n                        \"clientmemberid\": \"PP-33883821xxxy\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"EMAIL\": \"robbie.member2@yopmail.com\",\n                        \"DATEADDED\": \"2025-09-03 06:16 PDT\",\n                        \"RMENABLED\": false,\n                        \"ZIP\": \"90210\",\n                        \"MOBILEPHONE\": \"18186794582\",\n                        \"LASTNAME\": \"Member\",\n                        \"APPMEMBERID\": \"app2xxx38383823\",\n                        \"CLIENTMEMBERID\": \"PP-33883821xxxy\",\n                        \"TESTMEMBER\": false,\n                        \"FIRSTNAME\": \"Robbie\"\n                    },\n                    \"subscriptions\": {\n                        \"email\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"appmemberid\": {\n                            \"status\": \"SUBSCRIBED\"\n                        }\n                    }\n                }\n            },\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"13105551414\",\n                        \"memberid\": 86795320\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"DATEADDED\": \"2025-09-03 06:16 PDT\",\n                        \"MOBILEPHONE\": \"13105551414\",\n                        \"RMENABLED\": false,\n                        \"ZIP\": \"91604\",\n                        \"LASTNAME\": \"Member\",\n                        \"TESTMEMBER\": false,\n                        \"FIRSTNAME\": \"Mikey\"\n                    },\n                    \"subscriptions\": {\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"sample-request-with-partial-success\">Sample Request with partial success:</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"robbie.member@yopmail.com\",\n                        \"mobilephone\": \"18186794581\",\n                        \"appmemberid\": \"app2xxx38383822\",\n                        \"memberid\": 86795318,\n                        \"clientmemberid\": \"PP-33883821xxxx\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"EMAIL\": \"robbie.member@yopmail.com\",\n                        \"DATEADDED\": \"2025-09-03 06:14 PDT\",\n                        \"RMENABLED\": false,\n                        \"ZIP\": \"90210\",\n                        \"MOBILEPHONE\": \"18186794581\",\n                        \"LASTNAME\": \"Member\",\n                        \"APPMEMBERID\": \"app2xxx38383822\",\n                        \"CLIENTMEMBERID\": \"PP-33883821xxxx\",\n                        \"TESTMEMBER\": false,\n                        \"FIRSTNAME\": \"Robbie\"\n                    },\n                    \"subscriptions\": {\n                        \"email\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"appmemberid\": {\n                            \"status\": \"SUBSCRIBED\"\n                        }\n                    }\n                }\n            },\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"13105551313\",\n                        \"memberid\": 84344406\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": \"mobile_phone\",\n                                    \"value\": \"13105551313\",\n                                    \"reason\": \"not_unique\"\n                                }\n                            }\n                        },\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": \"mobilephone\",\n                                    \"value\": \"13105551313\",\n                                    \"reason\": \"not_unique\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef94c4c2-3719-4604-b1a0-5943adbe60b8"},{"name":"Create & Subscribe New Member; Subscribe Existing Member","event":[{"listen":"test","script":{"id":"72a77a7d-bd7e-429d-a7ac-03dc64f16071","type":"text/javascript","exec":["let jsonData = JSON.parse(responseBody);","","pm.environment.set(\"member_id\", jsonData.body.members[0].member.id.memberid);"]}}],"id":"9bdc72ad-2d38-4ec8-9e30-fec766a5a584","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n\t        \"firstname\": \"Polly\",\n\t        \"lastname\": \"Patient\",\n\t        \"zipcode\":\"90210\",\n\t        \"email\": \"polly.patient@hotmail.com\",\n\t        \"mobilephone\": \"13105551212\",\n\t        \"clientmemberid\": \"PP-33883821x\",\n\t        \"appmemberid\": \"app238383822\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Create a single member &amp; subscribe to a list for channels listed; subscribe an existing member to a list for the channels listed.</p>\n<p>The header <code>X-Ms-Ignore-Error-For-Existing-Members</code> must be <code>true</code> for this to work.</p>\n<p>The list given in listid must exist; it must have the channel(s) enabled; and the user must have a valid identifier for that channel in order to be subcribed. For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9bdc72ad-2d38-4ec8-9e30-fec766a5a584"},{"name":"Create & Subscribe New Member; Subscribe or Resubscribe Existing Member","event":[{"listen":"test","script":{"id":"7b9a1339-3520-4fae-9794-b7b7a7f543a4","type":"text/javascript","exec":["let jsonData = JSON.parse(responseBody);","","pm.environment.set(\"member_id\", jsonData.body.members[0].member.id.memberid);"]}}],"id":"3ba6c43d-492e-4646-bd63-6991ef0efead","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true"},{"key":"X-Ms-Force-Subscribe-Member","value":"true"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n\t        \"firstname\": \"Polly\",\n\t        \"lastname\": \"Patient\",\n\t        \"zipcode\":\"90210\",\n\t        \"email\": \"polly.patient@hotmail.com\",\n\t        \"mobilephone\": \"13105551212\",\n\t        \"clientmemberid\": \"PP-33883821x\",\n\t        \"appmemberid\": \"app238383822\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Create a single member &amp; subscribe to a list for the channels listed; subscribe or resubscribe an existing member.</p>\n<p>The headers <code>X-Ms-Ignore-Error-For-Existing-Members</code> and <code>X-Ms-Force-Subscribe-Member</code> should be provided.</p>\n<p>The list given in listid must exist; it must have the channel(s) enabled; and the user must have a valid identifier for that channel in order to be subcribed. For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ba6c43d-492e-4646-bd63-6991ef0efead"},{"name":"Update Member (All Fields)","event":[{"listen":"test","script":{"id":"6a7c4e23-32e0-4724-bb8f-105fd6a1d675","exec":[""],"type":"text/javascript","packages":{}}}],"id":"c24adf84-8f31-425f-b2c4-5dfdd864dd2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"body\": {\n    \"member\": \n      { \n        \"clientmemberid\" : {{client_member_id}},\n        \"firstname\": \"Change Firstame\",\n        \"lastname\": \"Change Lastname\"\n      }\n  }\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Will update member</p>\n<p><strong>Warning:</strong> This will overwrite all member profile fields given as parameters and <em>null</em> out any non-included fields (except audience member ID).</p>\n<p>Must find member by <code>mobilephone</code>, <code>email</code>, or <code>appmember ID</code>.</p>\n<h4 id=\"sample-success-response\">Sample success response:</h4>\n<p><code>status code: 200</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"nakul.sharma@emids.com\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"EMAIL\": \"nakul.sharma@emids.com\",\n                        \"DATEADDED\": \"2025-09-01 00:36 PDT\",\n                        \"RMENABLED\": false,\n                        \"LASTNAME\": \"Change Lastname\",\n                        \"TESTMEMBER\": false,\n                        \"FIRSTNAME\": \"Change Firstame\",\n                        \"MEMBERID\": 86793779\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h2 id=\"sample-error-responses\">Sample Error Responses:</h2>\n<h4 id=\"member-not-found-with-identifier-given-in-request\">Member not found with identifier given in request:</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"bahee.notfound@mpulse.com\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-001\",\n                                \"message\": \"A required field is missing\",\n                                \"detail\": {\n                                    \"reason\": \"no_member\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"two-identifiers-belonging-to-different-members\">Two Identifiers belonging to different members:</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"kevin.mcgrath@yopmail.com\",\n                        \"mobilephone\": \"13105551414\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": \"email\",\n                                    \"value\": \"kevin.mcgrath@yopmail.com\",\n                                    \"reason\": \"not_unique\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"fd32eb94-02c3-426f-975e-a919c8650899","name":"Update Member (All Fields) - Success","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"body\": {\n    \"member\": \n      { \n        \"clientmemberid\" : {{client_member_id}},\n        \"mobilephone\" : {{mobile_phone}},\n        \"firstname\": \"Change Firstame\",\n        \"lastname\": \"Change Lastname\"\n      }\n  }\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:46:09 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"385"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19095553073\",\n                        \"clientmemberid\": \"629941357\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"CLIENTMEMBERID\": \"629941357\",\n                        \"FIRSTNAME\": \"Change Firstame\",\n                        \"DATEADDED\": \"2024-02-01 10:53 PST\",\n                        \"LASTNAME\": \"Change Lastname\",\n                        \"RMENABLED\": false,\n                        \"MOBILEPHONE\": \"19095553073\",\n                        \"MEMBERID\": 120842548\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"5e42481d-2ce1-4c1b-a93d-9eeb0d425cdf","name":"Update Member (All Fields) - Failure","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"body\": {\n    \"member\": \n      { \n        \"clientmemberid\" : {{client_member_id}},\n        \"firstname\": \"Change Firstame\",\n        \"lastname\": \"Change Lastname\"\n      }\n  }\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:46:38 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"352"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"clientmemberid\": \"629941357\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-001\",\n                                \"message\": \"A required field is missing\",\n                                \"detail\": {\n                                    \"parameter\": [\n                                        \"email\",\n                                        \"mobilephone\",\n                                        \"appmemberid\"\n                                    ],\n                                    \"message\": \"Specify at least one parameter\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"c24adf84-8f31-425f-b2c4-5dfdd864dd2b"},{"name":"Update Member (Included Fields Only)","event":[{"listen":"test","script":{"id":"6a7c4e23-32e0-4724-bb8f-105fd6a1d675","exec":[""],"type":"text/javascript","packages":{}}}],"id":"e509ada7-47af-4011-9ddb-4c45224edf45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Update","value":"included_fields_only","description":"<p>If included and set to included_fields_only only update the fields in the provided request</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n\t\t\"member\": { \n\t        \"client_member_id\" : {{client_member_id}},\n            \"mobilephone\" : {{mobile_phone}},\n\t        \"firstname\": \"Fname Change\",\n\t        \"lastname\": \"Lname Change\",\n            \"favorite_color\" : \"blue\"\n    \t}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Update member</p>\n<p>Will only update fields included in the request. <em>Will not nullify fields not included in the request. The header X-Ms-Update should be set to 'included_fields_only'</em></p>\n<p>Can update by <code>memberid</code>, <code>mobilephone</code>, <code>email</code>, <code>clientmemberid</code>, <code>appmemberid</code></p>\n<h4 id=\"sample-success-response\">Sample success response:</h4>\n<p><code>status code: 200</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"kevin.mcgrath@yopmail.com\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"EMAIL\": \"kevin.mcgrath@yopmail.com\",\n                        \"DATEADDED\": \"2025-09-03 06:10 PDT\",\n                        \"MOBILEPHONE\": \"18186893185\",\n                        \"ZIP\": \"90210\",\n                        \"RMENABLED\": false,\n                        \"LASTNAME\": \"McGrath new last name\",\n                        \"APPMEMBERID\": \"app238383828\",\n                        \"CLIENTMEMBERID\": \"PP-33883821c\",\n                        \"TESTMEMBER\": false,\n                        \"FIRSTNAME\": \"Kevin new first name\",\n                        \"MEMBERID\": 86795317\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"0b47c2c4-e6a4-493b-8ff8-0d67325671af","name":"Update Member (Included Fields Only) - Success","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Update","value":"included_fields_only","description":"If included and set to included_fields_only only update the fields in the provided request"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n\t\t\"member\": { \n\t        \"client_member_id\" : {{client_member_id}},\n            \"mobilephone\" : {{mobile_phone}},\n\t        \"firstname\": \"Fname Change\",\n\t        \"lastname\": \"Lname Change\",\n            \"favorite_color\" : \"blue\"\n    \t}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:50:10 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"374"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19095553073\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"RMENABLED\": false,\n                        \"FIRSTNAME\": \"Fname Change\",\n                        \"DATEADDED\": \"2024-02-01 10:53 PST\",\n                        \"CLIENTMEMBERID\": \"629941357\",\n                        \"MOBILEPHONE\": \"19095553073\",\n                        \"FAVORITE_COLOR\": \"blue\",\n                        \"LASTNAME\": \"Lname Change\",\n                        \"MEMBERID\": 120842548\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"819ef6e4-d2a8-4af3-b1eb-16da83332359","name":"Update Member (Included Fields Only) - Failure","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Update","value":"included_fields_only","description":"If included and set to included_fields_only only update the fields in the provided request"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n\t\t\"member\": { \n\t        \"client_member_id\" : {{client_member_id}},\n\t        \"firstname\": \"Fname Change\",\n\t        \"lastname\": \"Lname Change\",\n            \"favorite_color\" : \"blue\"\n    \t}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:51:13 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"237"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-001\",\n                                \"message\": \"A required field is missing\",\n                                \"detail\": {\n                                    \"reason\": \"no_member\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"e509ada7-47af-4011-9ddb-4c45224edf45"},{"name":"Update Member (Delta)","event":[{"listen":"test","script":{"id":"6a7c4e23-32e0-4724-bb8f-105fd6a1d675","exec":[""],"type":"text/javascript","packages":{}}}],"id":"a53f5f94-369f-45da-8264-88471aa6eb27","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Update","value":"delta"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n\t\t\"member\": { \n\t    \t\"client_member_id\": {{client_member_id}},\n            \"mobilephone\" : {{mobile_phone}},\n\t    \t\"gender\": \"male\",\n            \"favorite_color\" : \"blue\"\n\t    }\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Update member; only updates fields that are null or different than proposed value.</p>\n<p>Can look up member by one of:</p>\n<p><code>email</code>, <code>mobile_phone</code>, <code>app_member_id</code>, <code>client_member_id</code></p>\n<h4 id=\"sample-success-response-only-last-name-and-email-provided-in-request\">Sample success response (only last name and email provided in request):</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"kevin.mcgrath@yopmail.com\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"EMAIL\": \"kevin.mcgrath@yopmail.com\",\n                        \"DATEADDED\": \"2025-09-03 06:10 PDT\",\n                        \"RMENABLED\": false,\n                        \"LASTNAME\": \"McGrath\",\n                        \"TESTMEMBER\": false,\n                        \"MEMBERID\": 86795317\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"6356b3c2-cc4b-47af-9b3f-5e4f859e4420","name":"Update Member (Delta) - Success","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Update","value":"delta"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n\t\t\"member\": { \n\t    \t\"client_member_id\": {{client_member_id}},\n            \"mobilephone\" : {{mobile_phone}},\n\t    \t\"gender\": \"male\",\n            \"favorite_color\" : \"blue\"\n\t    }\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:52:48 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"304"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19096143073\"\n                    },\n                    \"result\": \"success\",\n                    \"profile\": {\n                        \"DATEADDED\": \"2024-02-01 10:53 PST\",\n                        \"RMENABLED\": false,\n                        \"MOBILEPHONE\": \"19096143073\",\n                        \"GENDER\": \"Male\",\n                        \"FAVORITE_COLOR\": \"blue\",\n                        \"MEMBERID\": 120842548\n                    }\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"a53f5f94-369f-45da-8264-88471aa6eb27"},{"name":"Create & Subscribe New Member; Update & Subscribe or Resubscribe Existing Member","event":[{"listen":"test","script":{"id":"3847c8cd-4c5f-454a-90e1-70142715f3f5","type":"text/javascript","exec":["let jsonData = JSON.parse(responseBody);","","pm.environment.set(\"member_id\", jsonData.body.members[0].member.id.memberid);"]}}],"id":"434f9d68-aca2-492e-9b81-21b95768d6b7","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true"},{"key":"X-Ms-Force-Subscribe-Member","value":"true"},{"key":"X-Ms-Audience-Update","value":"upsert"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n\t        \"firstname\": \"Polly\",\n\t        \"lastname\": \"Patient\",\n\t        \"zipcode\":\"90210\",\n\t        \"email\": \"polly.patient@hotmail.com\",\n\t        \"mobilephone\": \"13105551212\",\n\t        \"clientmemberid\": \"PP-33883821x\",\n\t        \"appmemberid\": \"app238383822\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<ul>\n<li><p>Creates &amp; Subscribes a new Member</p>\n</li>\n<li><p>Updates and Subscribes an existing Member</p>\n</li>\n<li><p>Updates and Re-Subscribes an existing Member</p>\n</li>\n</ul>\n<p>The list given in listid must exist; it must have the channel(s) enabled; and the user must have a valid identifier for that channel in order to be subcribed. For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.  </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"434f9d68-aca2-492e-9b81-21b95768d6b7"},{"name":"Resubscribe Member","event":[{"listen":"test","script":{"id":"dc2cddcc-838a-4941-947b-aa0ec41721b1","exec":["tests[\"Status code is success\"] = responseCode.code >= 200 && responseCode.code < 300;"],"type":"text/javascript","packages":{}}}],"id":"77581388-b4f2-41f1-9921-1ee27643a030","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Audience-Update","value":"resub","description":"<p>Used for PUT endpoint to determine what actions should be taken on Member update. update, upsert, delta, sub, unsub, or resub</p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n        \t\"mobilephone\": \"{{mobile_phone}}\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Updates a Member's subscription status from \"Unsubscribed\" to \"Subscribed\"</p>\n<p>The header <code>X-Ms-Audience-Update</code> should have a value of <code>resub</code></p>\n<p>The list given in listid must exist; it must have the channel(s) enabled; and the user must have a valid identifier for that channel in order to be subcribed. For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"sample-success-response\">Sample success response:</h4>\n<p><code>status code: 200</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"18186794582\",\n                        \"memberid\": 86795319\n                    },\n                    \"result\": \"success\",\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"sample-error-response-member-is-already-subscribed\">Sample error response (member is already subscribed):</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"18186794582\",\n                        \"memberid\": 86795319\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-125\",\n                                \"message\": \"Cannot resubscribe member to the ivr channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"ivr\",\n                                    \"value\": \"18186794582\",\n                                    \"reason\": \"already_subscribed\"\n                                }\n                            }\n                        },\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-124\",\n                                \"message\": \"Cannot resubscribe member to the sms channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"mobilephone\",\n                                    \"value\": \"18186794582\",\n                                    \"reason\": \"already_subscribed\"\n                                }\n                            }\n                        }\n                    ],\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"7ddac405-852e-41c1-8612-736359494e62","name":"Resubscribe Member - Success","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Audience-Update","value":"resub","description":"Used for PUT endpoint to determine what actions should be taken on Member update. update, upsert, delta, sub, unsub, or resub"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n        \t\"mobilephone\": \"{{mobile_phone}}\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:57:55 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"237"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19095553073\",\n                        \"memberid\": 120842548\n                    },\n                    \"result\": \"success\",\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"af0a96e3-0792-4f00-9f18-2faadf9a6ef8","name":"Resubscribe Member - Fail","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Audience-Update","value":"resub","description":"Used for PUT endpoint to determine what actions should be taken on Member update. update, upsert, delta, sub, unsub, or resub"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n        \t\"mobilephone\": \"{{mobile_phone}}\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:56:49 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"666"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19095553073\",\n                        \"memberid\": 120842548\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-125\",\n                                \"message\": \"Cannot resubscribe member to the ivr channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"ivr\",\n                                    \"value\": \"19096143073\",\n                                    \"reason\": \"already_subscribed\"\n                                }\n                            }\n                        },\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-124\",\n                                \"message\": \"Cannot resubscribe member to the sms channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"mobilephone\",\n                                    \"value\": \"19096143073\",\n                                    \"reason\": \"already_subscribed\"\n                                }\n                            }\n                        }\n                    ],\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"77581388-b4f2-41f1-9921-1ee27643a030"},{"name":"Unsubscribe Member","event":[{"listen":"test","script":{"id":"dc2cddcc-838a-4941-947b-aa0ec41721b1","exec":["tests[\"Status code is success\"] = responseCode.code >= 200 && responseCode.code < 300;"],"type":"text/javascript"}}],"id":"812e1647-39b8-4c34-b121-7fcb6e790c09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Update","value":"unsub"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n        \t\"mobilephone\": \"13105551212\"\n    \t},\n    \"listid\": {{list_id}}\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Unsubscribes a Member from one or more channels on a specific list. One list per request.</p>\n<p>The <code>X-Ms-Audience-Update</code> header must have a value of <code>unsub</code></p>\n<p>The list given in listid must exist; it must have the channel(s) enabled; the user must have a valid identifier for that channel, and the user must currently be subscribed to that channel in order to be unsubcribed. For example, the list must have SMS enabled and the user must have a valid phone number and already be subscribed to be unsusbcribed for SMS.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"sample-success-response\">Sample success response:</h4>\n<p><code>status code: 200</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"18186794582\",\n                        \"memberid\": 86795319\n                    },\n                    \"result\": \"success\",\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"INACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"INACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"sample-error-response-member-is-already-unsubscribed\">Sample Error Response (member is already unsubscribed):</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"18186794582\",\n                        \"memberid\": 86795319\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-130\",\n                                \"message\": \"Cannot unsubscribe member from the ivr channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"ivr\",\n                                    \"value\": \"18186794582\",\n                                    \"reason\": \"subscription_not_active\"\n                                }\n                            }\n                        },\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-129\",\n                                \"message\": \"Cannot unsubscribe member from the sms channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"mobilephone\",\n                                    \"value\": \"18186794582\",\n                                    \"reason\": \"subscription_not_active\"\n                                }\n                            }\n                        }\n                    ],\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"INACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"INACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"c7193ae3-8374-4735-ab66-0de21ec089ba","name":"Unsubscribe Member - Success","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Update","value":"unsub","description":"Used for PUT endpoint to determine what actions should be taken on Member update. update, upsert, delta, sub, unsub, or resub"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n        \t\"mobilephone\": \"{{mobile_phone}}\"\n    \t},\n    \"listid\": {{list_id}}\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:57:17 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"241"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19095553073\",\n                        \"memberid\": 120842548\n                    },\n                    \"result\": \"success\",\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"INACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"INACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"dfb70278-316a-4d24-9fa6-90d143d26298","name":"Unsubscribe Member - Fail","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Update","value":"unsub","description":"Used for PUT endpoint to determine what actions should be taken on Member update. update, upsert, delta, sub, unsub, or resub"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n        \t\"mobilephone\": \"{{mobile_phone}}\"\n    \t},\n    \"listid\": {{list_id}}\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:57:39 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"684"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19095553073\",\n                        \"memberid\": 120842548\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-130\",\n                                \"message\": \"Cannot unsubscribe member from the ivr channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"ivr\",\n                                    \"value\": \"19096143073\",\n                                    \"reason\": \"subscription_not_active\"\n                                }\n                            }\n                        },\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-129\",\n                                \"message\": \"Cannot unsubscribe member from the sms channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"mobilephone\",\n                                    \"value\": \"19096143073\",\n                                    \"reason\": \"subscription_not_active\"\n                                }\n                            }\n                        }\n                    ],\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"INACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"INACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"812e1647-39b8-4c34-b121-7fcb6e790c09"},{"name":"Subscribe Member","event":[{"listen":"test","script":{"id":"dc2cddcc-838a-4941-947b-aa0ec41721b1","exec":["tests[\"Status code is success\"] = responseCode.code >= 200 && responseCode.code < 300;"],"type":"text/javascript"}}],"id":"4f1bd582-32c8-472f-8b8c-dc0f3096176b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true"},{"key":"X-Ms-Update","value":"included_fields_only"},{"key":"X-Ms-Audience-Update","value":"sub","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n        \t\"mobilephone\": \"18186793181\"\n    \t},\n    \"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Audience API - subscribe a member to a single list. The member must already exist in the account.</p>\n<p>The header <code>X-Ms-Audience-Update</code> should have a value of <code>sub</code></p>\n<p>The list given in listid must exist; it must have the channel(s) enabled; and the user must have a valid identifier for that channel in order to be subcribed. For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"sample-success-response\">Sample success response:</h4>\n<p><code>status code: 200</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"13105551414\",\n                        \"memberid\": 86795320\n                    },\n                    \"result\": \"success\",\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"sample-error-responsemember-was-unsubscribed-previously-instead-of-sub-use-resub-in-this-scenario\">Sample error response(member was unsubscribed previously, instead of sub, use resub in this scenario):</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"18186794582\",\n                        \"memberid\": 86795319\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-113\",\n                                \"message\": \"Cannot subscribe member to the sms channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"mobilephone\",\n                                    \"value\": \"18186794582\",\n                                    \"reason\": \"unsubscribed_sms\"\n                                }\n                            }\n                        },\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-114\",\n                                \"message\": \"Cannot subscribe member to the ivr channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"ivr\",\n                                    \"value\": \"18186794582\",\n                                    \"reason\": \"unsubscribed_ivr\"\n                                }\n                            }\n                        }\n                    ],\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"INACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"INACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"sample-error-response-no-member-found-with-given-identifier\">Sample error response (no member found with given identifier):</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"15674323459\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": \"mobilephone\",\n                                    \"value\": \"15674323459\",\n                                    \"reason\": \"no_member\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"17fca53d-e6ff-487c-a678-5a4c27bf6a8c","name":"Subscribe Member - Success","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true","description":"If a Member already exists with the given information, do not fail request."},{"key":"X-Ms-Update","value":"included_fields_only","description":"If included and set to included_fields_only only update the fields provided in the request"},{"key":"X-Ms-Audience-Update","value":"sub","description":"Used for PUT endpoint to determine what actions should be taken on Member update. update, upsert, delta, sub, unsub, or resub","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n        \t\"mobilephone\": \"{{mobile_phone}}\"\n    \t},\n    \"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:54:23 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"237"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19095553073\",\n                        \"memberid\": 120842548\n                    },\n                    \"result\": \"success\",\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"753f55f1-f67b-4168-9ae9-8b80f2821e21","name":"Subscribe Member - Fail","originalRequest":{"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true","description":"If a Member already exists with the given information, do not fail request."},{"key":"X-Ms-Update","value":"included_fields_only","description":"If included and set to included_fields_only only update the fields provided in the request"},{"key":"X-Ms-Audience-Update","value":"sub","description":"Used for PUT endpoint to determine what actions should be taken on Member update. update, upsert, delta, sub, unsub, or resub","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n    \t\"member\": { \n        \t\"mobilephone\": \"{{mobile_phone}}\"\n    \t},\n    \"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:54:55 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"662"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"19096143073\",\n                        \"memberid\": 120842548\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-113\",\n                                \"message\": \"Cannot subscribe member to the sms channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"mobilephone\",\n                                    \"value\": \"19096143073\",\n                                    \"reason\": \"already_subscribed\"\n                                }\n                            }\n                        },\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-114\",\n                                \"message\": \"Cannot subscribe member to the ivr channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"ivr\",\n                                    \"value\": \"19096143073\",\n                                    \"reason\": \"already_subscribed\"\n                                }\n                            }\n                        }\n                    ],\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"ACTIVE\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"4f1bd582-32c8-472f-8b8c-dc0f3096176b"},{"name":"Subscribe Member to List w/ Double-Opt In & Send Welcome Msg","event":[{"listen":"test","script":{"id":"dc2cddcc-838a-4941-947b-aa0ec41721b1","type":"text/javascript","exec":["tests[\"Status code is success\"] = responseCode.code >= 200 && responseCode.code < 300;"]}}],"id":"da268128-bce7-4cd3-86a4-38c74892031c","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true"},{"key":"X-Ms-Update","value":"included_fields_only"},{"key":"X-Ms-List-Confirm","value":"true"},{"key":"Send-Welcome-Message","value":"true"},{"key":"X-Ms-Audience-Update","value":"sub"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n\t\t\"member\": { \n    \t\t\"memberid\": {{member_id}},\n        \t\"email\": \"polly.patient@hotmail.com\"\n    \t},\n    \t\"listid\": {{list_id}}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Subscribe a member to a list with double-opt in and send welcome message. Member must exist in the account.</p>\n<p>The list must have double optin enabled for the respective channel and <code>X-Ms-List-Confirm</code> and <code>Send-Welcome-Message</code> headers must be provided with a value of <code>true</code>.</p>\n<p>The list given in listid must exist; it must have the channel(s) enabled; and the user must have a valid identifier for that channel in order to be subcribed. For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"sample-success-response-request-with-mobilephone-list-had-sms-with-double-optin-enabled\">Sample success response (request with mobilephone, list had sms with double optin enabled):</h4>\n<p><code>status code: 200</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"18133654432\",\n                        \"memberid\": 86795000\n                    },\n                    \"result\": \"success\",\n                    \"subscriptions\": {\n                        \"sms\": {\n                            \"status\": \"PENDING\"\n                        },\n                        \"ivr\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"sample-error-responsechannel-not-enabled-on-list\">Sample error response(channel not enabled on list):</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"nakul.sharma@emids.com\",\n                        \"memberid\": 86793779\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-106\",\n                                \"message\": \"Cannot subscribe member to the email channel of the list\",\n                                \"detail\": {\n                                    \"parameter\": \"email\",\n                                    \"value\": \"nakul.sharma@emids.com\",\n                                    \"reason\": \"email_channel_not_supported\"\n                                }\n                            }\n                        }\n                    ],\n                    \"subscriptions\": {\n                        \"email\": {\n                            \"status\": \"ACTIVE\"\n                        }\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"da268128-bce7-4cd3-86a4-38c74892031c"},{"name":"Delete Member","event":[{"listen":"test","script":{"id":"dc2cddcc-838a-4941-947b-aa0ec41721b1","type":"text/javascript","exec":["tests[\"Status code is success\"] = responseCode.code >= 200 && responseCode.code < 300;"]}}],"id":"9050c2d0-39ea-44b7-85fb-5fcd527bde45","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"DELETE","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": { \n\t\t\"member\": { \n    \t\t\"email\": \"polly.patient@hotmail.com\" \n\t\t}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Delete a member.</p>\n<p>Can delete by <code>memberid</code>, <code>mobilephone</code>, <code>email</code>, <code>appmemberid</code>, <code>clientmemberid</code></p>\n<h4 id=\"sample-success-response\">Sample success response:</h4>\n<p><code>status code: 200</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"13105551414\",\n                        \"memberid\": 86795320\n                    },\n                    \"result\": \"success\"\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"sample-error-response-member-didnt-exist\">Sample error response (member didn't exist):</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"mobilephone\": \"13105551414\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": [\n                                        \"mobilephone\"\n                                    ],\n                                    \"reason\": \"Member does not exist\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"670bcc27-bcfb-4eba-8d76-952fef174c50","name":"Delete Member - Success","originalRequest":{"method":"DELETE","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": { \n\t\t\"member\": { \n    \t\t\"email\": \"polly.patient@hotmail.com\" \n\t\t}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:56:10 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"167"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"polly.patient@hotmail.com\",\n                        \"memberid\": 50704741\n                    },\n                    \"result\": \"success\"\n                }\n            }\n        ]\n    }\n}"},{"id":"c16c5bee-b765-4fb3-87be-7391ee57dd48","name":"Delete Member - Fail","originalRequest":{"method":"DELETE","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": { \n\t\t\"member\": { \n    \t\t\"email\": \"polly.patient@hotmail.com\" \n\t\t}\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 03:56:23 GMT"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"315"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"TornadoServer/6.3.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"body\": {\n        \"results\": {\n            \"success\": 0,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"polly.patient@hotmail.com\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": [\n                                        \"email\"\n                                    ],\n                                    \"reason\": \"Member does not exist\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"9050c2d0-39ea-44b7-85fb-5fcd527bde45"},{"name":"Delete Member (Multiple)","event":[{"listen":"test","script":{"id":"dc2cddcc-838a-4941-947b-aa0ec41721b1","exec":["tests[\"Status code is success\"] = responseCode.code >= 200 && responseCode.code < 300;"],"type":"text/javascript","packages":{}}}],"id":"e17042cd-1f4c-4426-9b49-b9d6bc64a4bf","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"DELETE","header":[{"key":"X-Ms-Format","value":"json"},{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"body\": {\n\t\t\"member\": [\n    \t{ \n        \t\"memberid\": \"86795319\"\n    \t},\n    \t{\n        \t\"email\": \"robbie.member@yopmail.com\"\n    \t}\n    \t]\n\t}\n}"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h2 id=\"description\">Description:</h2>\n<p>Delete multiple members in a single request.</p>\n<p>Can delete by <code>memberid</code>, <code>mobilephone</code>, <code>email</code>, <code>appmemberid</code>, <code>clientmemberid</code> Can mix identifiers in a single request, i.e. can delete one member by <code>memberid</code>, one member by <code>email</code>, and one member by <code>mobilephone</code>.</p>\n<h4 id=\"sample-success-response\">Sample success response:</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 2,\n            \"failure\": 0\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"memberid\": 86795319\n                    },\n                    \"result\": \"success\"\n                }\n            },\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"robbie.member@yopmail.com\",\n                        \"memberid\": 86795318\n                    },\n                    \"result\": \"success\"\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"sample-error-response-partial-failure-one-of-the-members-didnt-existwere-already-deleted\">Sample error response (partial failure, one of the members didn't exist/were already deleted):</h4>\n<p><code>status code: 400</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"body\": {\n        \"results\": {\n            \"success\": 1,\n            \"failure\": 1\n        },\n        \"members\": [\n            {\n                \"member\": {\n                    \"id\": {\n                        \"memberid\": \"86795319\"\n                    },\n                    \"result\": \"failure\",\n                    \"member_errors\": [\n                        {\n                            \"member_error\": {\n                                \"code\": \"MS-ERR-003\",\n                                \"message\": \"Invalid parameter value\",\n                                \"detail\": {\n                                    \"parameter\": [\n                                        \"memberid\"\n                                    ],\n                                    \"reason\": \"Member does not exist\"\n                                }\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"member\": {\n                    \"id\": {\n                        \"email\": \"nakul.sharma@emids.com\",\n                        \"memberid\": 86793779\n                    },\n                    \"result\": \"success\"\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e17042cd-1f4c-4426-9b49-b9d6bc64a4bf"}],"id":"f35a9d04-95a9-4a21-8eec-e11703358967","description":"<h1 id=\"audience-api-json-version\">Audience API JSON Version<br /><br /></h1>\n<p>v1.0.1<br /><br /></p>\n<h2 id=\"parameters-for-requests\">Parameters for Requests</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Value</th>\n<th>Validation</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mapid</code></td>\n<td>Allows you to tag each Member instance with a value that can later be used to request information about messages sent because of the API request; if the same value is provided for multiple Members, then you only need to query that value to get information about all the Members at one time.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>clientmemberid</code></td>\n<td>Use this field to store your own unique identifier value for each Member (e.g., MRN, Patient ID).</td>\n<td>Maximum character length: 256; must be unique within the account.</td>\n</tr>\n<tr>\n<td><code>mobilephone</code></td>\n<td>Accepted formats: 1-XXX-XXX-XXXX . 1XXXXXXXXXX . XXX-XXX-XXXX . XXXXXXXXXX . (XXX) XXX-XXXX.</td>\n<td>Must be a mobile phone number from a carrier that is supported by the mPulse Mobile Platform; must be unique within the account.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>Must be a valid email address format.</td>\n<td>Maximum character length: 128; must be unique within the account.</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Maximum character length: 64.</td>\n<td>Must be unique within the account.</td>\n</tr>\n<tr>\n<td><code>firstname</code></td>\n<td>Maximum character length: 256.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>lastname</code></td>\n<td>Maximum character length: 256.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>birthdate</code></td>\n<td>Accepted date formats: YYYY-MM-DD . MM/DD/YYYY.</td>\n<td>Date cannot be in the future.</td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>Accepted values: <strong>Female</strong> . <strong>Male</strong>.</td>\n<td>Case insensitive, but the response will return the value in proper case (e.g., FEMALE).</td>\n</tr>\n<tr>\n<td><code>preferredlanguage</code></td>\n<td>Accepted values: <strong>English</strong> . <strong>Spanish</strong>.</td>\n<td>Case insensitive, but the response will return the value in proper case (e.g., SPANISH).</td>\n</tr>\n<tr>\n<td><code>address1</code></td>\n<td>Maximum character length: 256.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>address2</code></td>\n<td>Maximum character length: 256.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>Maximum character length: 256.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>Accepted values: Full US state names (e.g., California). All accepted values are listed in the “Audience API - Accepted Parameter Values” document.</td>\n<td>Case insensitive, but the response will return the value in proper case (e.g., CALIFORNIA).</td>\n</tr>\n<tr>\n<td><code>zipcode</code></td>\n<td>Maximum character length: 256.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td>Accepted values: Full country names (e.g., United States). All accepted values are listed in the “Audience API - Accepted Parameter Values” document.</td>\n<td>Case insensitive, but the response will return the value in proper case (UNITED STATES).</td>\n</tr>\n<tr>\n<td><code>companyname</code></td>\n<td>Maximum character length: 256.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>job</code></td>\n<td>Maximum character length: 256.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>landline</code></td>\n<td>Accepted formats: 1-XXX-XXX-XXXX . 1XXXXXXXXXX . XXX-XXX-XXXX . XXXXXXXXXX . (XXX) XXX-XXXX.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>fax</code></td>\n<td>Accepted formats: 1-XXX-XXX-XXXX . 1XXXXXXXXXX . XXX-XXX-XXXX . XXXXXXXXXX . (XXX) XXX-XXXX.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>businessphone</code></td>\n<td>Accepted formats: 1-XXX-XXX-XXXX . 1XXXXXXXXXX . XXX-XXX-XXXX . XXXXXXXXXX . (XXX) XXX-XXXX.</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"single-vs-multiple-members-in-requests\">Single Vs. Multiple Members In Requests</h2>\n<p>The majority of requests listed are for actions on a single member.  You can also do actions on multiple members per request.  The general format is listed below, with a single member object enclosed in a member array.<br /><br /></p>\n<p><code>{   \"body\": {     \"member\": [       {            \"memberid\": \"15996228\"       },       {           \"memberid\": \"15494188\"       }       ]   } }</code></p>\n","event":[{"listen":"prerequest","script":{"id":"15169ff8-a5ed-4410-b370-a95706cb1dc6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2c3881bc-be85-4435-8753-f0de09770041","type":"text/javascript","exec":[""]}}],"_postman_id":"f35a9d04-95a9-4a21-8eec-e11703358967","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}},{"name":"Audience API - XML","item":[{"name":"Get Member ID & Other Unique Identifiers","id":"afbd38cf-7aea-46ac-a482-59bf422a8abf","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}"},"isInherited":false},"method":"GET","header":[{"key":"X-Ms-Format","value":"xml"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Get","value":"lookup"}],"body":{"mode":"formdata","formdata":[]},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?q=<body><member><mobilephone>13105551212</mobilephone></member></body>","description":"<p>Retrieves member ID and unique Identifiers (mobilephone, client member id, app member id, email).<br /><br />\nCan look up by query.  Add query string to url, i.e. <code>?q={querystring}</code><br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Look Up By</th>\n<th>Query String</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Client Member ID</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;clientmemberid&gt;{CLIENT_MEMBER_ID}&lt;/clientmemberid&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>Mobile Phone Number</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;mobilephone&gt;{MOBILE_PHONE_NUMBER}&lt;/mobilephone&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>Email Address</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;email&gt;{EMAIL_ADDRESS}&lt;/email&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>App Member ID</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;appmemberid&gt;{APP_MEMBER_ID}&lt;/appmemberid&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[{"key":"q","value":"<body><member><mobilephone>13105551212</mobilephone></member></body>"}],"variable":[]}},"response":[],"_postman_id":"afbd38cf-7aea-46ac-a482-59bf422a8abf"},{"name":"Get Subscription Statuses","id":"e86d6219-bd65-443f-a4b9-264f2dfbb904","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}"},"isInherited":false},"method":"GET","header":[{"key":"X-Ms-Format","value":"xml"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Get","value":"subscriptions"}],"body":{"mode":"formdata","formdata":[]},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?q=<body><member><mobilephone>13105551212</mobilephone></member></body>","description":"<p>Retrieves member subscription statuses<br /><br /></p>\n<p>Can look up by query.  Add query string to url, i.e. <code>?q={querystring}</code><br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Look Up By</th>\n<th>Query String</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Client Member ID</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;clientmemberid&gt;{CLIENT_MEMBER_ID}&lt;/clientmemberid&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>Mobile Phone Number</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;mobilephone&gt;{MOBILE_PHONE_NUMBER}&lt;/mobilephone&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>Email Address</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;email&gt;{EMAIL_ADDRESS}&lt;/email&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>App Member ID</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;appmemberid&gt;{APP_MEMBER_ID}&lt;/appmemberid&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>Can look up by query {q}:<br /><br /></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[{"key":"q","value":"<body><member><mobilephone>13105551212</mobilephone></member></body>"}],"variable":[]}},"response":[],"_postman_id":"e86d6219-bd65-443f-a4b9-264f2dfbb904"},{"name":"Get Member Profile","id":"55d1d2e8-015e-4202-acb2-8ab93bf77408","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}"},"isInherited":false},"method":"GET","header":[{"key":"X-Ms-Format","value":"xml"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Get","value":"lookup"}],"body":{"mode":"formdata","formdata":[]},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?q=<body><member><mobilephone>{{mobile_phone}}</mobilephone></member></body>","description":"<p>Retrieves member profile.<br /><br /></p>\n<p>Can look up by query.  Add query string to url, i.e. <code>?q={querystring}</code><br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Look Up By</th>\n<th>Query String</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Client Member ID</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;clientmemberid&gt;{CLIENT_MEMBER_ID}&lt;/clientmemberid&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>Mobile Phone Number</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;mobilephone&gt;{MOBILE_PHONE_NUMBER}&lt;/mobilephone&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>Email Address</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;email&gt;{EMAIL_ADDRESS}&lt;/email&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n<tr>\n<td>App Member ID</td>\n<td><code>&lt;body&gt;&lt;member&gt;&lt;appmemberid&gt;{APP_MEMBER_ID}&lt;/appmemberid&gt;&lt;/member&gt;&lt;/body&gt;</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[{"key":"q","value":"<body><member><mobilephone>{{mobile_phone}}</mobilephone></member></body>"}],"variable":[]}},"response":[],"_postman_id":"55d1d2e8-015e-4202-acb2-8ab93bf77408"},{"name":"Get List Subscribers","id":"35825605-ef4d-47f6-97af-324444067e17","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}"},"isInherited":false},"method":"GET","header":[{"key":"X-Ms-Format","value":"xml"},{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Audience-Get","value":"audience"}],"body":{"mode":"formdata","formdata":[]},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members?q=<body><listid>{{list_id}}</listid></body>","description":"<p>Retrieves subscribers for a list.<br /><br /></p>\n<p>Can look up by query.  Add query string to url, i.e. <code>?q={querystring}</code><br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Filter By</th>\n<th>Value</th>\n<th>Accepted Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>None</td>\n<td>NULL</td>\n<td>N/A</td>\n</tr>\n<tr>\n<td>SMS subscription status</td>\n<td>{SMS_SUB_STATUS}</td>\n<td>active . pending . inactive</td>\n</tr>\n<tr>\n<td>Email subscription status</td>\n<td>{EMAIL_SUB_STATUS}</td>\n<td>active . pending . inactive</td>\n</tr>\n<tr>\n<td>Secure Message subscription status</td>\n<td>{SECURE_MESSAGE_SUB_STATUS}</td>\n<td>subscribed . pending . unsubscribed</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[{"key":"q","value":"<body><listid>{{list_id}}</listid></body>"}],"variable":[]}},"response":[],"_postman_id":"35825605-ef4d-47f6-97af-324444067e17"},{"name":"Create Member","event":[{"listen":"test","script":{"id":"887e385f-a79b-4588-8f0e-014ef9b89451","type":"text/javascript","exec":["var jsonObject = xml2Json(responseBody);","","let amid = jsonObject.body.members.member.id.memberid","","pm.environment.set(\"member_id\", amid);"]}}],"id":"7bf33a99-f01e-48dd-957f-501bcd04ce99","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Format","value":"xml"},{"key":"Content-Type","value":"application/xml"}],"body":{"mode":"raw","raw":"<body>\n\t<member>\n\t\t<clientmemberid>PP-33883821x</clientmemberid>\n\t\t<mobilephone>13105551212</mobilephone>\n\t\t<email>polly.patient@hotmail.com</email>\n\t\t<appmemberid>app238383822</appmemberid>\n\t\t<firstname>Polly</firstname>\n\t\t<lastname>Patient</lastname>\n\t\t<birthdate>2001-01-01</birthdate>\n\t\t<gender>female</gender>\n\t\t<preferredlanguage>ENGLISH</preferredlanguage>\n\t\t<address1>123 Fake St.</address1>\n\t\t<address2>Apt 6</address2>\n\t\t<city>Faketown</city>\n\t\t<state>Ohio</state>\n\t\t<zipcode>91607</zipcode>\n\t\t<country>United States</country>\n\t\t<companyname>Fake Co.</companyname>\n\t\t<job>Plumber</job>\n\t\t<landline>13105551213</landline>\n\t\t<fax>13105551213</fax>\n\t\t<businessphone>13105551213</businessphone>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Create a member.<br /><br />In order to add a member to the mPulse system, the member must have at least one valid contact method/identifier.  The identifier must be unique to the account (unless your account is enabled for the Shared Contact feature.)<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bf33a99-f01e-48dd-957f-501bcd04ce99"},{"name":"Create Member & Subscribe","event":[{"listen":"test","script":{"id":"838d214c-aec5-4e3f-a63b-64ecc90e9f83","type":"text/javascript","exec":["var jsonObject = xml2Json(responseBody);","","let amid = jsonObject.body.members.member.id.memberid","","pm.environment.set(\"member_id\", amid);"]}}],"id":"e6cc29f3-7896-4285-ad87-f5fb8d6489de","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Ms-Format","value":"xml"}],"body":{"mode":"raw","raw":"<body>\n\t<listid>{{list_id}}</listid>\n\t<member>\n\t\t<clientmemberid>PP-33883821x</clientmemberid>\n\t\t<mobilephone>13105551212</mobilephone>\n\t\t<email>polly.patient@hotmail.com</email>\n\t\t<appmemberid>app238383822</appmemberid>\n\t\t<firstname>Polly</firstname>\n\t\t<lastname>Patient</lastname>\n\t\t<birthdate>2001-01-01</birthdate>\n\t\t<gender>female</gender>\n\t\t<preferredlanguage>ENGLISH</preferredlanguage>\n\t\t<address1>123 Fake St.</address1>\n\t\t<address2>Apt 6</address2>\n\t\t<city>Faketown</city>\n\t\t<state>Ohio</state>\n\t\t<zipcode>91607</zipcode>\n\t\t<country>United States</country>\n\t\t<companyname>Fake Co.</companyname>\n\t\t<job>Plumber</job>\n\t\t<landline>13105551213</landline>\n\t\t<fax>13105551213</fax>\n\t\t<businessphone>13105551213</businessphone>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Create a single member &amp; subscribe to a list for the channels indicated.<br /><br /></p>\n<p>The list given in <code>listid</code> must exist; it must have the channel(s) enabled; and the user must have a valid identifier/contact method for that channel in order to be subcribed.  For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6cc29f3-7896-4285-ad87-f5fb8d6489de"},{"name":"Create Multiple Members & Subscribe","event":[{"listen":"test","script":{"id":"7bea19eb-f426-4421-8f1b-97f9b3f43bbe","type":"text/javascript","exec":["var jsonObject = xml2Json(responseBody);","","let amid = jsonObject.body.members.member.id.memberid","","pm.environment.set(\"member_id\", amid);"]}}],"id":"89a37b11-5b2c-4b31-8637-ef9fe648c1ac","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Ms-Format","value":"xml"}],"body":{"mode":"raw","raw":"<body>\n  <listid>{{list_id}}</listid>\n  <member>\n    <firstname>Polly</firstname>\n    <lastname>Patient</lastname>\n    <zipcode>90210</zipcode>\n    <mobilephone>13105551212</mobilephone>\n  </member>\n  <member>\n    <firstname>Mikey</firstname>\n    <lastname>Member</lastname>\n    <zipcode>91604</zipcode>\n    <mobilephone>13105551313</mobilephone>\n  </member>\n</body>\n\n"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Create and subscribe multiple members to a list for the channels indicated.<br /><br /></p>\n<p>The list given in <code>listid</code> must exist; it must have the channel(s) enabled; and the user must have a valid identifier/contact method for that channel in order to be subcribed.  For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"89a37b11-5b2c-4b31-8637-ef9fe648c1ac"},{"name":"Create & Subscribe New Member; Subscribe Existing Member","event":[{"listen":"test","script":{"id":"aa2362c7-abf5-411c-a98f-31c0b246a39f","type":"text/javascript","exec":["var jsonObject = xml2Json(responseBody);","","let amid = jsonObject.body.members.member.id.memberid","","pm.environment.set(\"member_id\", amid);"]}}],"id":"0a666710-56dc-4fea-b37f-848222810d47","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Ms-Format","value":"xml"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true"}],"body":{"mode":"raw","raw":"<body>\n\t<listid>{{list_id}}</listid>\n\t<member>\n\t\t<clientmemberid>PP-33883821x</clientmemberid>\n\t\t<mobilephone>13105551212</mobilephone>\n\t\t<email>polly.patient@hotmail.com</email>\n\t\t<appmemberid>app238383822</appmemberid>\n\t\t<firstname>Polly</firstname>\n\t\t<lastname>Patient</lastname>\n\t\t<birthdate>2001-01-01</birthdate>\n\t\t<gender>female</gender>\n\t\t<preferredlanguage>ENGLISH</preferredlanguage>\n\t\t<address1>123 Fake St.</address1>\n\t\t<address2>Apt 6</address2>\n\t\t<city>Faketown</city>\n\t\t<state>Ohio</state>\n\t\t<zipcode>91607</zipcode>\n\t\t<country>United States</country>\n\t\t<companyname>Fake Co.</companyname>\n\t\t<job>Plumber</job>\n\t\t<landline>13105551213</landline>\n\t\t<fax>13105551213</fax>\n\t\t<businessphone>13105551213</businessphone>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Will create and subscribe a new member.<br /><br />\nWill subscribe an existing member to a list.<br /><br />\nWill <em>not</em> subscribe a member if unsubscribed; will error if already subscribed.<br /><br />\nWill not update fields for other than contact information (mobilephone, email, appmember ID) and only if they are null<br /><br /></p>\n<p>The list given in <code>listid</code> must exist; it must have the channel(s) enabled; and the user must have a valid identifier/contact method for that channel in order to be subcribed.  For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a666710-56dc-4fea-b37f-848222810d47"},{"name":"Create & Subscribe New Member; Subscribe or Resubscribe Existing Member Copy","event":[{"listen":"test","script":{"id":"c6d928b3-b6c3-4a55-91ce-9367474f4d57","type":"text/javascript","exec":["var jsonObject = xml2Json(responseBody);","","let amid = jsonObject.body.members.member.id.memberid","","pm.environment.set(\"member_id\", amid);"]}}],"id":"b089b214-5447-4889-9583-ee3f16ef6485","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Ms-Format","value":"xml"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true"},{"key":"X-Ms-Force-Subscribe-Member","value":"true"}],"body":{"mode":"raw","raw":"<body>\n\t<listid>{{list_id}}</listid>\n\t<member>\n\t\t<clientmemberid>PP-33883821x</clientmemberid>\n\t\t<mobilephone>13105551212</mobilephone>\n\t\t<email>jpolly.patient@hotmail.com</email>\n\t\t<appmemberid>app238383822</appmemberid>\n\t\t<firstname>Polly</firstname>\n\t\t<lastname>Patient</lastname>\n\t\t<birthdate>2001-01-01</birthdate>\n\t\t<gender>female</gender>\n\t\t<preferredlanguage>ENGLISH</preferredlanguage>\n\t\t<address1>123 Fake St.</address1>\n\t\t<address2>Apt 6</address2>\n\t\t<city>Faketown</city>\n\t\t<state>Ohio</state>\n\t\t<zipcode>91607</zipcode>\n\t\t<country>United States</country>\n\t\t<companyname>Fake Co.</companyname>\n\t\t<job>Plumber</job>\n\t\t<landline>13105551213</landline>\n\t\t<fax>13105551213</fax>\n\t\t<businessphone>13105551213</businessphone>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Will create and subscribe a new member.<br /><br />\nWill subscribe an existing member to a list.<br /><br />\nWill resubscribe an existing member to a list.<br /><br />\nWill not update profile information for an existing member -- except for contact information that is null.<br /><br />\nCreate a single member &amp; subscribe to a list for the channels indicated.<br /><br /></p>\n<p>The list given in <code>listid</code> must exist; it must have the channel(s) enabled; and the user must have a valid identifier/contact method for that channel in order to be subcribed.  For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b089b214-5447-4889-9583-ee3f16ef6485"},{"name":"Update Member Profile: All Fields","event":[{"listen":"test","script":{"id":"0e7447d3-3c8c-479a-b749-63215966e2de","type":"text/javascript","exec":[""]}}],"id":"d73279d9-ae5d-49b6-90f1-a58c8a931dd0","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Format","value":"xml"},{"key":"Content-Type","value":"application/xml"}],"body":{"mode":"raw","raw":"<body>\n\t<member>\n\t\t<mobilephone>13105551212</mobilephone>\n\t\t<firstname>Pollyanna</firstname>\n\t\t<lastname>McPatient</lastname>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Will update member<br /><br /></p>\n<p>Will overwrite all member profile fields given as parameters and null out any non-included fields (except audience member ID).<br /><br /></p>\n<p>Must find member by <code>mobilephone</code>, <code>email</code>, or <code>appmember ID</code>.</p>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d73279d9-ae5d-49b6-90f1-a58c8a931dd0"},{"name":"Update Member Profile: Included Fields Only","event":[{"listen":"test","script":{"id":"0e7447d3-3c8c-479a-b749-63215966e2de","type":"text/javascript","exec":[""]}}],"id":"5f41bec9-7ecf-4c78-948f-8d0687108c31","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Format","value":"xml"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Ms-Update","value":"included_fields_only"}],"body":{"mode":"raw","raw":"<body>\n\t<member>\n\t\t<mobilephone>13105551212</mobilephone>\n\t\t<firstname>Pollyana</firstname>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Update member<br /><br /></p>\n<p>Will only update fields included the request.<br /><br /></p>\n<p>Can update by <code>memberid</code>, <code>mobilephone</code>, <code>email</code>, <code>clientmemberid</code>, <code>appmemberid</code></p>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f41bec9-7ecf-4c78-948f-8d0687108c31"},{"name":"Update Member Profile: Delta","event":[{"listen":"test","script":{"id":"0e7447d3-3c8c-479a-b749-63215966e2de","type":"text/javascript","exec":[""]}}],"id":"e21e7572-a9bc-4ac3-8f08-c85ea6cb7102","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Format","value":"xml"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Ms-Audience-Update","value":"delta"}],"body":{"mode":"raw","raw":"<body>\n\t<member>\n\t\t<mobilephone>13105551212</mobilephone>\n\t\t<appmemberid>233polly332</appmemberid>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Update member; only updates fields that are null to some value.<br /><br /></p>\n<p>Can look up member by one of:<br /><br /></p>\n<p><code>email</code>, <code>mobile_phone</code>, <code>app_member_id</code>, <code>client_member_id</code></p>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e21e7572-a9bc-4ac3-8f08-c85ea6cb7102"},{"name":"Create & Subscribe New Member; Update & Subscribe/Resubscribe Existing Member","event":[{"listen":"test","script":{"id":"90f32516-b627-40f3-a3b2-50147c20f34b","type":"text/javascript","exec":["var jsonObject = xml2Json(responseBody);","","let amid = jsonObject.body.members.member.id.memberid","","pm.environment.set(\"member_id\", amid);"]}}],"id":"8a8dcd81-0166-41ee-a1ee-71186ea23751","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Ms-Format","value":"xml"},{"key":"X-Ms-Audience-Update","value":"upsert"},{"key":"X-Ms-Ignore-Error-For-Existing-Members","value":"true"},{"key":"X-Ms-Force-Subscribe-Member","value":"true"}],"body":{"mode":"raw","raw":"<body>\n\t<listid>{{list_id}}</listid>\n\t<member>\n\t\t<clientmemberid>PP-33883821x</clientmemberid>\n\t\t<mobilephone>13105551212</mobilephone>\n\t\t<email>josh.levitan@mpulsemobile.com</email>\n\t\t<appmemberid>app238383822</appmemberid>\n\t\t<firstname>Polly</firstname>\n\t\t<lastname>Patient</lastname>\n\t\t<birthdate>2001-01-01</birthdate>\n\t\t<gender>female</gender>\n\t\t<preferredlanguage>ENGLISH</preferredlanguage>\n\t\t<address1>123 Fake St.</address1>\n\t\t<address2>Apt 6</address2>\n\t\t<city>Faketown</city>\n\t\t<state>Ohio</state>\n\t\t<zipcode>91607</zipcode>\n\t\t<country>United States</country>\n\t\t<companyname>Fake Co.</companyname>\n\t\t<job>Plumber</job>\n\t\t<landline>13105551213</landline>\n\t\t<fax>13105551213</fax>\n\t\t<businessphone>13105551213</businessphone>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<h1 id=\"creates--subscribes-a-new-member\">Creates &amp; Subscribes a new Member</h1>\n<h1 id=\"updates-and-subscribes-an-existing-member\">Updates and Subscribes an existing Member</h1>\n<h1 id=\"updates-and-re-subscribes-an-existing-member\">Updates and Re-Subscribes an existing Member<br /><br /></h1>\n<p>The list given in listid must exist; it must have the channel(s) enabled; and the user must have a valid identifier for that channel in order to be subcribed.  For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a8dcd81-0166-41ee-a1ee-71186ea23751"},{"name":"Resubscribe Member","event":[{"listen":"test","script":{"id":"0e7447d3-3c8c-479a-b749-63215966e2de","type":"text/javascript","exec":[""]}}],"id":"996d51a0-162d-4c97-ad18-5faef5565d62","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Ms-Format","value":"xml"},{"key":"X-Ms-Audience-Update","value":"resub"}],"body":{"mode":"raw","raw":"<body>\n\t<listid>{{list_id}}</listid>\n\t<member>\n\t\t<mobilephone>13105551212</mobilephone>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Updates a Member's subscription status from \"Unsubscribed\" to \"Subscribed\"<br /><br /></p>\n<p>The list given in listid must exist; it must have the channel(s) enabled; and the user must have a valid identifier for that channel in order to be subcribed.  For example, the list must have SMS enabled and the user must have a valid phone number to be susbcribed for SMS.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"996d51a0-162d-4c97-ad18-5faef5565d62"},{"name":"Unsubscribe Member","event":[{"listen":"test","script":{"id":"0e7447d3-3c8c-479a-b749-63215966e2de","type":"text/javascript","exec":[""]}}],"id":"ae90f63b-0af4-4a3f-b44f-739ef716c026","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"PUT","header":[{"key":"X-Ms-Source","value":"api"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Ms-Format","value":"xml"},{"key":"X-Ms-Audience-Update","value":"unsub"}],"body":{"mode":"raw","raw":"<body>\n\t<listid>{{list_id}}</listid>\n\t<member>\n\t\t<mobilephone>13105551212</mobilephone>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Unsubscribes a Member from one or more channels on a specific list.  One list per request.<br /><br /></p>\n<p>The list given in listid must exist; it must have the channel(s) enabled; the user must have a valid identifier for that channel, and the user must currently be subscribed to that channel in order to be unsubcribed.  For example, the list must have SMS enabled and the user must have a valid phone number and already be subscribed to be unsusbcribed for SMS.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Identifier</th>\n<th>Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>SMS</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>email</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>push</td>\n</tr>\n<tr>\n<td><code>appmemberid</code></td>\n<td>Secure Message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ae90f63b-0af4-4a3f-b44f-739ef716c026"},{"name":"Delete Member","event":[{"listen":"test","script":{"id":"418aaf60-52e0-4487-9dab-f0b8d219a1c8","type":"text/javascript","exec":[""]}}],"id":"276ebb43-8a30-4bed-866b-efa0e93c466f","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"DELETE","header":[{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Format","value":"xml"},{"key":"Content-Type","value":"application/xml"}],"body":{"mode":"raw","raw":"<body>\n\t<member>\n\t\t<memberid>{{member_id}}</memberid>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Delete a member.<br /><br />\nCan delete by <code>memberid</code>, <code>mobilephone</code>, <code>email</code>, <code>appmemberid</code>, <code>clientmemberid</code></p>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"276ebb43-8a30-4bed-866b-efa0e93c466f"},{"name":"Delete Member (Multiple)","event":[{"listen":"test","script":{"id":"418aaf60-52e0-4487-9dab-f0b8d219a1c8","type":"text/javascript","exec":[""]}}],"id":"33addada-b6b0-4556-b6e2-66f8e3a492bc","request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}","showPassword":"<show-password>"},"isInherited":false},"method":"DELETE","header":[{"key":"X-Ms-Source","value":"api"},{"key":"X-Ms-Format","value":"xml"},{"key":"Content-Type","value":"application/xml"}],"body":{"mode":"raw","raw":"<body>\n\t<member>\n\t\t<memberid>15996399</memberid>\n\t</member>\n\t<member>\n\t\t<memberid>15996404</memberid>\n\t</member>\n</body>"},"url":"https://ms-api.mpulsemobile.com/accounts/{{account_id}}/members","description":"<p>Delete multiple members in a single request.<br /><br /></p>\n<p>Can delete by <code>memberid</code>, <code>mobilephone</code>, <code>email</code>, <code>appmemberid</code>, <code>clientmemberid</code>  Can mix identifiers in a single request, i.e. can delete one member by <code>memberid</code>, one member by <code>email</code>, and one member by <code>mobilephone</code>.</p>\n","urlObject":{"protocol":"https","path":["accounts","{{account_id}}","members"],"host":["ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"33addada-b6b0-4556-b6e2-66f8e3a492bc"}],"id":"abf7db42-ffd2-4285-8c8f-bb7a7041041a","description":"<h1 id=\"audience-api---xml-version\">Audience API - XML version<br /></h1>\n<p>v3.0.0<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Scope</th>\n<th>Element/Attribute Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>&lt;body&gt;</code></td>\n<td><code>&lt;results&gt;</code></td>\n<td>Contains the tags that summarize the results of the request.</td>\n</tr>\n<tr>\n<td><code>&lt;results&gt;</code></td>\n<td><code>&lt;failure&gt;</code></td>\n<td>The total number of Member stanzas that had one or more errors.</td>\n</tr>\n<tr>\n<td><code>&lt;results&gt;</code></td>\n<td><code>&lt;success&gt;</code></td>\n<td>The total number of Member stanzas that were processed successfully.</td>\n</tr>\n<tr>\n<td><code>&lt;body&gt;</code></td>\n<td><code>&lt;xml_errors&gt;</code></td>\n<td>Any XML errors included in the request are detailed here.</td>\n</tr>\n<tr>\n<td><code>&lt;body&gt;</code></td>\n<td><code>&lt;members&gt;</code></td>\n<td>The parent tag for all <code>&lt;member&gt;</code> stanzas.</td>\n</tr>\n<tr>\n<td><code>&lt;members&gt;</code></td>\n<td><code>&lt;member&gt;</code></td>\n<td>There will be one <code>&lt;member&gt;</code> stanza for each <code>&lt;member&gt;</code> stanza provided in the request.</td>\n</tr>\n<tr>\n<td><code>&lt;member&gt;</code></td>\n<td><code>&lt;profile&gt;</code></td>\n<td>Only included for successfully processed records; parent tag for all profile field tags; only fields containing data are included; all profile tags that were included in the request are included in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;CITY&gt;</code></td>\n<td>Returns the exact string value that was provided in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;FAX&gt;</code></td>\n<td>Format: 1XXXXXXXXXX.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;DATEADDED&gt;</code></td>\n<td>Timestamp of when the Member record was created in the account; Format: YYYY-MM-DD HH:MM TZD (e.g., 2017-05-17 09:09 PDT).</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;FIRSTNAME&gt;</code></td>\n<td>Returns the exact string value that was provided in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;BUSINESS&gt;</code></td>\n<td>Tag in responses is different from tag in request(<code>&lt;businessphone&gt;</code>); format: 1XXXXXXXXXX.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;PREFERREDLANGUAGE&gt;</code></td>\n<td>Value provided in proper case; possible values: <strong>ENGLISH</strong> . <strong>SPANISH</strong>.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;ADDRESS1&gt;</code></td>\n<td>Returns the exact string value that was provided in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;ADDRESS2&gt;</code></td>\n<td>Returns the exact string value that was provided in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;ZIP&gt;</code></td>\n<td>Tag in response is different from tag in request (<code>&lt;zipcode&gt;</code>); returns the exact string value that was provided in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;LASTNAME&gt;</code></td>\n<td>Returns the exact string value that was provided in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;MAPID&gt;</code></td>\n<td>Returns the exact string value that was provided in the request.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;BIRTHDATE&gt;</code></td>\n<td>Format: YYYY-MM-DD.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;APPMEMBERID&gt;</code></td>\n<td>Returns the exact string value that was provided in the request.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;GENDER&gt;</code></td>\n<td>Value provided in proper case; possible values: <strong>FEMALE</strong> . <strong>MALE</strong>.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;STATE&gt;</code></td>\n<td>Value provided in proper case; possible values provided in “Audience API - Accepted Parameter Values”.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;JOB&gt;</code></td>\n<td>Returns the exact string value that was provided in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;COUNTRY&gt;</code></td>\n<td>Value provided in proper case.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;CLIENTMEMBERID&gt;</code></td>\n<td>Returns the exact string value that was provided in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;EMAIL&gt;</code></td>\n<td>Returns the exact string value that was provided in the response.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;HOMEPHONE&gt;</code></td>\n<td>Tag in responses is different from tag in request (<code>&lt;landline&gt;</code>); format: 1XXXXXXXXXX.</td>\n</tr>\n<tr>\n<td><code>&lt;profile&gt;</code></td>\n<td><code>&lt;MOBILEPHONE&gt;</code></td>\n<td>Format: 1XXXXXXXXXX.</td>\n</tr>\n<tr>\n<td><code>&lt;member&gt;</code></td>\n<td><code>&lt;id&gt;</code></td>\n<td>The parent tag for all unique identifier tags provided for the Member in the request.</td>\n</tr>\n<tr>\n<td><code>&lt;id&gt;</code></td>\n<td><code>&lt;clientmemberid&gt;</code></td>\n<td>Only included if <code>&lt;clientmemberid&gt;</code> was included in the request.</td>\n</tr>\n<tr>\n<td><code>&lt;id&gt;</code></td>\n<td><code>&lt;mobilephone&gt;</code></td>\n<td>Only included if <code>&lt;mobilephone&gt;</code>  was included in the request.</td>\n</tr>\n<tr>\n<td><code>&lt;id&gt;</code></td>\n<td><code>&lt;email&gt;</code></td>\n<td>Only included if <code>&lt;email&gt;</code>  was included in the request.</td>\n</tr>\n<tr>\n<td><code>&lt;id&gt;</code></td>\n<td><code>&lt;memberid&gt;</code></td>\n<td>Only included if a Member record was created; automatically generated mPulse unique Member record identifier in your account; this is the Member ID you will use in other API requests.</td>\n</tr>\n<tr>\n<td><code>&lt;id&gt;</code></td>\n<td><code>&lt;appmemberid&gt;</code></td>\n<td>Only included if <code>&lt;appmemberid&gt;</code> was included in the request.</td>\n</tr>\n<tr>\n<td><code>&lt;member&gt;</code></td>\n<td><code>&lt;result&gt;</code></td>\n<td>Possible values: <strong>success</strong> . <strong>failure</strong>; <strong>success</strong>: Request for the Member resulted in the desired action (e.g., created, subscribed, unsubscribed, updated, etc.); <strong>failure</strong>: Request for the Member contained an error, so desired action did not occur.</td>\n</tr>\n<tr>\n<td><code>&lt;member&gt;</code></td>\n<td><code>&lt;subscriptions&gt;</code></td>\n<td>Only included for requests related to subscriptions.</td>\n</tr>\n<tr>\n<td><code>&lt;subscriptions&gt;</code></td>\n<td><code>&lt;sms&gt;</code></td>\n<td>Describes Member’s SMS subscription status</td>\n</tr>\n<tr>\n<td><code>&lt;sms&gt;</code></td>\n<td><code>&lt;status&gt;</code></td>\n<td>Possible values: <strong>ACTIVE</strong> . <strong>PENDING</strong> . <strong>INACTIVE</strong>.</td>\n</tr>\n<tr>\n<td><code>&lt;subscriptions&gt;</code></td>\n<td><code>&lt;email&gt;</code></td>\n<td>Describes the Member’s Email subscription status.</td>\n</tr>\n<tr>\n<td><code>&lt;email&gt;</code></td>\n<td><code>&lt;status&gt;</code></td>\n<td>Possible values: <strong>ACTIVE</strong> . <strong>PENDING</strong> . <strong>INACTIVE</strong>.</td>\n</tr>\n<tr>\n<td><code>&lt;subscriptions&gt;</code></td>\n<td><code>&lt;appmemberid&gt;</code></td>\n<td>Describes the Member’s Secure Messaging subscription status.</td>\n</tr>\n<tr>\n<td><code>&lt;appmemberid&gt;</code></td>\n<td><code>&lt;status&gt;</code></td>\n<td>Possible values: <strong>SUBSCRIBED</strong> . <strong>UNSUBSCRIBED</strong>.</td>\n</tr>\n<tr>\n<td><code>&lt;member&gt;</code></td>\n<td><code>&lt;member_errors&gt;</code></td>\n<td>Only included when result is “failure”; contains one or more <code>&lt;member_error&gt;</code> tags.</td>\n</tr>\n<tr>\n<td><code>&lt;member_errors&gt;</code></td>\n<td><code>&lt;member_error&gt;</code></td>\n<td>There will be one <code>&lt;member_error&gt;</code>tag for each field in the request that had an error.</td>\n</tr>\n<tr>\n<td><code>&lt;member_error&gt;</code></td>\n<td><code>&lt;message&gt;</code></td>\n<td>The high-level error message corresponding to the error code (e.g., “Invalid parameter value”).</td>\n</tr>\n<tr>\n<td><code>&lt;member_error&gt;</code></td>\n<td><code>&lt;code&gt;</code></td>\n<td>The error code. All error codes are detailed in “Audience API Error Codes”.</td>\n</tr>\n<tr>\n<td><code>&lt;member_error&gt;</code></td>\n<td><code>&lt;detail&gt;</code></td>\n<td>Parent tag for the tags containing detailed information about the error.</td>\n</tr>\n<tr>\n<td><code>&lt;detail&gt;</code></td>\n<td><code>&lt;reason&gt;</code></td>\n<td>Reason for the error (e.g., “invalid_format”).</td>\n</tr>\n<tr>\n<td><code>&lt;detail&gt;</code></td>\n<td><code>&lt;parameter&gt;</code></td>\n<td>Tag that contains the error (e.g., “MOBILEPHONE”).</td>\n</tr>\n<tr>\n<td><code>&lt;detail&gt;</code></td>\n<td><code>&lt;value&gt;</code></td>\n<td>Value provided in the request.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"c0486f8f-cf05-4285-ad5a-1321abb2d42f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5f54f4ed-bef5-443d-90ab-85c6937f7f65","type":"text/javascript","exec":[""]}}],"_postman_id":"abf7db42-ffd2-4285-8c8f-bb7a7041041a","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}}],"id":"d8de8745-5ab8-4e93-b6cc-5bfdaffedee5","description":"<h2 id=\"audience-api\">Audience API</h2>\n<p>The Audience API is a core API for the mPulse platform. It allows you to create, update, and delete members, and subscribe and unsubscribe members to various lists to receive messages.  </p>\n<p>The Audience API supports both Basic Auth by default and OAuth (requires setup from your Customer Success Manager or Account Manager) for authorization.  </p>\n<h2 id=\"headers\">Headers</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>X-Ms-Format</code></td>\n<td>Yes</td>\n<td>value <strong>xml</strong> . <strong>json</strong></td>\n</tr>\n<tr>\n<td><code>Parse-XML</code></td>\n<td>No</td>\n<td>value <strong>true</strong> . <strong>false</strong> used for the XML API if you want to escape reserved characters like <code>&amp;</code>; <strong>the legacy version of the API does not escape reserved characters, so include this header if you want the expected behavior</strong></td>\n</tr>\n<tr>\n<td><code>X-Ms-Source</code></td>\n<td>Yes</td>\n<td>value must be <strong>api</strong></td>\n</tr>\n<tr>\n<td><code>Authorization</code></td>\n<td>Yes</td>\n<td>Basic Auth (can use OAuth with prior setup from your account team)</td>\n</tr>\n<tr>\n<td><code>X-Ms-Update</code></td>\n<td>No</td>\n<td>Accepted values: <strong>included-fields-only</strong>; only included fields will be updated; if doing <code>PUT</code> and you do not include this header, will update all fields</td>\n</tr>\n<tr>\n<td><code>X-Ms-Audience-Update</code></td>\n<td>No</td>\n<td>Accepted values: <strong>delta</strong> . <strong>upsert</strong> . <strong>resub</strong> . <strong>unsub</strong></td>\n</tr>\n<tr>\n<td><code>X-Ms-Force-Subscribe-Member</code></td>\n<td>No</td>\n<td>Accepted values: <strong>false</strong> (default) Members who are unsubscribed will remain unsubscribed. <strong>true</strong> Members who are unsubscribed will be resubscribed.</td>\n</tr>\n<tr>\n<td><code>X-Ms-List-Confirm</code></td>\n<td>No</td>\n<td>Accepted values: <strong>false</strong> (default) Double Opt-in autoresponder will be suppressed . <strong>true</strong> If enabled, Double Opt-in autoresponder will be sent and member subscribed with status of \"Pending\"</td>\n</tr>\n<tr>\n<td><code>Send-Welcome-Message</code></td>\n<td>No</td>\n<td>Accepted values <strong>true</strong> . <strong>false</strong></td>\n</tr>\n<tr>\n<td><code>X-Ms-Async</code></td>\n<td>No</td>\n<td>Accepted values: <strong>false</strong> (default) Request will be synchronously processed . <strong>true</strong> Request will be asynchronously processed; set to true if you include more than 500 member objects in your request. If you have the \"Other Callback URL\" set up for your account, results will be posted there.</td>\n</tr>\n<tr>\n<td><code>X-Ms-API-Version</code></td>\n<td>No</td>\n<td>Accepted values: <strong>1.0</strong> . <strong>2.0</strong> default is 1.0, which returns a 200 OK response for all successful calls. Version 2.0 will return a 202 response for API calls involving member subscriptions and other operations that may be processed asynchronously due to system load. v2.0 is more accurate as to timing of operations finishing. v2.0 should be used in concert with the subscription callback to get confirmation that the request has finished processing, particularly if you are programatically triggering Event Upload API calls to new members or members newly subscribed to different lists. Please see <a href=\"https://mpulsemobile.atlassian.net/wiki/spaces/MPA/overview\">https://mpulsemobile.atlassian.net/wiki/spaces/MPA/overview</a> for information on our callback documentation.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"custom-fields\">Custom Fields</h2>\n<p>Custom fields can be set up by your account team or created via self-service in Communication Console. Custom fields are created on an account level. There is no limit to the number of custom fields you can have per account.  </p>\n<p>Custom fields are accessed according to the name of the field given during setup, e.g. <code>6.7</code> or <code>\"a1c_level\": \"6.7\"</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Validation</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Single line</td>\n<td>Maximum character length: 256</td>\n</tr>\n<tr>\n<td>Paragraph</td>\n<td>Maximum character length: 8,192</td>\n</tr>\n<tr>\n<td>Picklist</td>\n<td>Depends on setup</td>\n</tr>\n<tr>\n<td>Multi-picklist</td>\n<td>Depends on setup in Control Panel; to add or change multiple values for a single field, separate them via pipes, e.g. `dog</td>\n</tr>\n<tr>\n<td>Date</td>\n<td>Accepted date formats: YYYY-MM-DD . MM/DD/YYYY</td>\n</tr>\n<tr>\n<td>Time</td>\n<td>Time without time zone</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-codes\">Error Codes</h2>\n<p><strong>NOTE: Identifiers -- mobile phone, email, app member ID, and client member ID need to be unique in a given account. Mobile phone and email also need to be valid entities. The system will reject adding and/or subscribing members with invalid or malformed phone numbers or email addresses.</strong>  </p>\n<p>When adding or updating members, the API will return information about why a phone number is invalid, if it's not a valid number, if it's a landline, or if it's an unsupported carrier. For example:  </p>\n<p><code>{   \"body\": {   \"results\": {   \"failure\": 1,   \"success\": 0   },   \"members\": [   {   \"member\": {   \"member_errors\": [   {   \"member_error\": {   \"message\": \"Invalid parameter value\",   \"code\": \"MS-ERR-003\",   \"detail\": {   \"reason\": \"Number is a landline\",   \"parameter\": \"MOBILEPHONE\",   \"value\": \"18007770133\"   }   }   }   ],   \"id\": {   \"mobilephone\": \"18007770133\"   },   \"result\": \"failure\"   }   }   ]   }   }</code>  </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Error Message</th>\n<th>API</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>MSERR-000</td>\n<td>An error occured</td>\n<td>Common</td>\n</tr>\n<tr>\n<td>MSERR-001</td>\n<td>A required field is missing</td>\n<td>Common</td>\n</tr>\n<tr>\n<td>MSERR-002</td>\n<td>is not in an acceptable format, therefore the record is rejected.</td>\n<td>Common</td>\n</tr>\n<tr>\n<td>MSERR-003</td>\n<td>Invalid parameter value</td>\n<td>Common</td>\n</tr>\n<tr>\n<td>MSERR-004</td>\n<td>Extra parameters specified. Please specify only one of</td>\n<td>Common</td>\n</tr>\n<tr>\n<td>MSERR-005</td>\n<td>A required header is missing</td>\n<td>Common</td>\n</tr>\n<tr>\n<td>MSERR-006</td>\n<td>Multiple values not allowed for header</td>\n<td>Common</td>\n</tr>\n<tr>\n<td>MSERR-007</td>\n<td>Field cannot be empty</td>\n<td>Common</td>\n</tr>\n<tr>\n<td>MSERR-008</td>\n<td>Maximum length for is</td>\n<td>Common</td>\n</tr>\n<tr>\n<td>MSERR-100</td>\n<td>Another member is currently using the email provided</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-101</td>\n<td>Another member is currently using the mobile phone provided</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-103</td>\n<td>Both email and mobile phone cannot be blank. The request must include at least one email or mobile phone number to be valid</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-104</td>\n<td>No new fields to be updated.</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-105</td>\n<td>An error occurred while performing delta update on member data.</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-106</td>\n<td>Cannot subscribe member to the email channel of the list. As configured, the list does not support email as a channel</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-107</td>\n<td>Cannot subscribe member to the email channel of the list. The email address is on the Do Not Contact List</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-108</td>\n<td>Cannot subscribe member to the email channel of the list. The email address has been marked as Hard Bounced</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-109</td>\n<td>Cannot subscribe member to the email channel of the list. The member is already subscribed to the list</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-110</td>\n<td>Cannot subscribe member to the sms channel of the list. As configured, the list does not support sms as a channel</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-111</td>\n<td>Cannot subscribe member to the sms channel of the list. The mobile phone is on the GPRL List</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-112</td>\n<td>Cannot subscribe member to the sms channel of the list. The mobile phone is marked as Hard Bounced</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-113</td>\n<td>Cannot subscribe member to the sms channel of the list. The member is already subscribed to the list</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-114</td>\n<td>Cannot subscribe member to the list. Both Email and Mobile Phone not specified</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-115</td>\n<td>Cannot resubscribe member to the email channel of the list. As configured, the list does not support email as a channel</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-116</td>\n<td>Cannot resubscribe member to the email channel of the list. The member does not belong to the list</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-117</td>\n<td>Cannot resubscribe member to the email channel of the list. The email address is on the Do Not Contact List</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-118</td>\n<td>Cannot resubscribe member to the email channel of the list. The email address has been marked as Hard Bounced</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-119</td>\n<td>Cannot resubscribe member to the email channel of the list. The member is not eligible for resubscription</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-120</td>\n<td>Cannot resubscribe member to the sms channel of the list. As configured, the list does not support sms as a channel</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-121</td>\n<td>Cannot resubscribe member to the sms channel of the list. The member does not belong to the list</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-122</td>\n<td>Cannot resubscribe member to the sms channel of the list. The mobile phone is on the GPRL List</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-123</td>\n<td>Cannot resubscribe member to the sms channel of the list. The mobile phone is marked as Hard Bounced</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-124</td>\n<td>Cannot resubscribe member to the sms channel of the list. The member is not eligible for subscription</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-125</td>\n<td>Cannot resubscribe member to the list. Both Email and Mobile Phone not specified</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-126</td>\n<td>Cannot unsubscribe this member from the email channel of the list. The member does not belong to the list</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-127</td>\n<td>Cannot unsubscribe this member from the email channel of the list. The member is not subscribed to the list</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-128</td>\n<td>Cannot unsubscribe member from the sms channel of the list. The member does not belong to the list</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-129</td>\n<td>Cannot unsubscribe member from the sms channel of the list. The member is not subscribed to the list</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-130</td>\n<td>Cannot unsubscribe member from the list. Both Email and Mobile Phone not specified</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-131</td>\n<td>Member is already on the DNC list. No change has been made to the member’s status</td>\n<td>Audience</td>\n</tr>\n<tr>\n<td>MSERR-132</td>\n<td>Member is not on the DNC list. No change has been made to the member’s status</td>\n<td>Audience</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"accepted-parameter-values---state-and-country\">Accepted Parameter Values - State and Country</h2>\n<p><a href=\"https://mpulsemobile.atlassian.net/wiki/spaces/MPA/overview?preview=/491550/71991311/Appendix%20III%20-%20Accepted%20Parameter%20Values%20-%202017-01-10.pdf\">See appendix</a></p>\n<h2 id=\"accepted-parameter-values---preferred-language\">Accepted Parameter Values - Preferred Language</h2>\n<p>NOTE: value must match exactly, i.e. <code>(Afan) Oromo</code> or <code>Latvian, Lettish</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>(Afan) Oromo</code></td>\n</tr>\n<tr>\n<td><code>Abkhazian</code></td>\n</tr>\n<tr>\n<td><code>Afar</code></td>\n</tr>\n<tr>\n<td><code>Afrikaans</code></td>\n</tr>\n<tr>\n<td><code>Albanian</code></td>\n</tr>\n<tr>\n<td><code>Amharic</code></td>\n</tr>\n<tr>\n<td><code>Arabic</code></td>\n</tr>\n<tr>\n<td><code>Armenian</code></td>\n</tr>\n<tr>\n<td><code>Assamese</code></td>\n</tr>\n<tr>\n<td><code>Assyrian</code></td>\n</tr>\n<tr>\n<td><code>Aymara</code></td>\n</tr>\n<tr>\n<td><code>Azerbaijani</code></td>\n</tr>\n<tr>\n<td><code>Bashkir</code></td>\n</tr>\n<tr>\n<td><code>Basque</code></td>\n</tr>\n<tr>\n<td><code>Bengali</code></td>\n</tr>\n<tr>\n<td><code>Bhutani</code></td>\n</tr>\n<tr>\n<td><code>Bihari</code></td>\n</tr>\n<tr>\n<td><code>Bislama</code></td>\n</tr>\n<tr>\n<td><code>Bosnian</code></td>\n</tr>\n<tr>\n<td><code>Breton</code></td>\n</tr>\n<tr>\n<td><code>Bulgarian</code></td>\n</tr>\n<tr>\n<td><code>Burmese</code></td>\n</tr>\n<tr>\n<td><code>Byelorussian</code></td>\n</tr>\n<tr>\n<td><code>Cambodian</code></td>\n</tr>\n<tr>\n<td><code>Catalan</code></td>\n</tr>\n<tr>\n<td><code>Chinese</code></td>\n</tr>\n<tr>\n<td><code>Corsican</code></td>\n</tr>\n<tr>\n<td><code>Creole (English)</code></td>\n</tr>\n<tr>\n<td><code>Creole (French)</code></td>\n</tr>\n<tr>\n<td><code>Creole (Portuguese)</code></td>\n</tr>\n<tr>\n<td><code>Creole (Regular)</code></td>\n</tr>\n<tr>\n<td><code>Croatian</code></td>\n</tr>\n<tr>\n<td><code>Czech</code></td>\n</tr>\n<tr>\n<td><code>Danish</code></td>\n</tr>\n<tr>\n<td><code>Dari, Afghan Persian</code></td>\n</tr>\n<tr>\n<td><code>Dutch</code></td>\n</tr>\n<tr>\n<td><code>English</code></td>\n</tr>\n<tr>\n<td><code>Esperanto</code></td>\n</tr>\n<tr>\n<td><code>Estonian</code></td>\n</tr>\n<tr>\n<td><code>Faeroese</code></td>\n</tr>\n<tr>\n<td><code>Fiji</code></td>\n</tr>\n<tr>\n<td><code>Finnish</code></td>\n</tr>\n<tr>\n<td><code>French</code></td>\n</tr>\n<tr>\n<td><code>Frisian</code></td>\n</tr>\n<tr>\n<td><code>Galician</code></td>\n</tr>\n<tr>\n<td><code>Georgian</code></td>\n</tr>\n<tr>\n<td><code>German</code></td>\n</tr>\n<tr>\n<td><code>Greek</code></td>\n</tr>\n<tr>\n<td><code>Greenlandic</code></td>\n</tr>\n<tr>\n<td><code>Guarani</code></td>\n</tr>\n<tr>\n<td><code>Gujarati</code></td>\n</tr>\n<tr>\n<td><code>Hausa</code></td>\n</tr>\n<tr>\n<td><code>Hebrew</code></td>\n</tr>\n<tr>\n<td><code>Hindi</code></td>\n</tr>\n<tr>\n<td><code>Hmong</code></td>\n</tr>\n<tr>\n<td><code>Hungarian</code></td>\n</tr>\n<tr>\n<td><code>Icelandic</code></td>\n</tr>\n<tr>\n<td><code>Indonesian</code></td>\n</tr>\n<tr>\n<td><code>Interlingua</code></td>\n</tr>\n<tr>\n<td><code>Interlingue</code></td>\n</tr>\n<tr>\n<td><code>Inuktitut (Eskimo)</code></td>\n</tr>\n<tr>\n<td><code>Inupiak</code></td>\n</tr>\n<tr>\n<td><code>Irish</code></td>\n</tr>\n<tr>\n<td><code>Italian</code></td>\n</tr>\n<tr>\n<td><code>Japanese</code></td>\n</tr>\n<tr>\n<td><code>Javanese</code></td>\n</tr>\n<tr>\n<td><code>Kannada</code></td>\n</tr>\n<tr>\n<td><code>Karenni (Karen)</code></td>\n</tr>\n<tr>\n<td><code>Kashmiri</code></td>\n</tr>\n<tr>\n<td><code>Kazakh</code></td>\n</tr>\n<tr>\n<td><code>Kinyarwanda</code></td>\n</tr>\n<tr>\n<td><code>Kirghiz</code></td>\n</tr>\n<tr>\n<td><code>Kirundi</code></td>\n</tr>\n<tr>\n<td><code>Korean</code></td>\n</tr>\n<tr>\n<td><code>Kurdish</code></td>\n</tr>\n<tr>\n<td><code>Laotian</code></td>\n</tr>\n<tr>\n<td><code>Latin</code></td>\n</tr>\n<tr>\n<td><code>Latvian, Lettish</code></td>\n</tr>\n<tr>\n<td><code>Lingala</code></td>\n</tr>\n<tr>\n<td><code>Lithuanian</code></td>\n</tr>\n<tr>\n<td><code>Macedonian</code></td>\n</tr>\n<tr>\n<td><code>Malagasy</code></td>\n</tr>\n<tr>\n<td><code>Malay</code></td>\n</tr>\n<tr>\n<td><code>Malayalam</code></td>\n</tr>\n<tr>\n<td><code>Maltese</code></td>\n</tr>\n<tr>\n<td><code>Maori</code></td>\n</tr>\n<tr>\n<td><code>Marathi</code></td>\n</tr>\n<tr>\n<td><code>Moldavian</code></td>\n</tr>\n<tr>\n<td><code>Mongolian</code></td>\n</tr>\n<tr>\n<td><code>Nauru</code></td>\n</tr>\n<tr>\n<td><code>Nepali</code></td>\n</tr>\n<tr>\n<td><code>Norwegian</code></td>\n</tr>\n<tr>\n<td><code>Occitan</code></td>\n</tr>\n<tr>\n<td><code>Oriya</code></td>\n</tr>\n<tr>\n<td><code>Pashto, Pushto</code></td>\n</tr>\n<tr>\n<td><code>Persian</code></td>\n</tr>\n<tr>\n<td><code>Polish</code></td>\n</tr>\n<tr>\n<td><code>Portuguese</code></td>\n</tr>\n<tr>\n<td><code>Punjabi</code></td>\n</tr>\n<tr>\n<td><code>Quechua</code></td>\n</tr>\n<tr>\n<td><code>Rhaeto-Romance</code></td>\n</tr>\n<tr>\n<td><code>Romanian</code></td>\n</tr>\n<tr>\n<td><code>Russian</code></td>\n</tr>\n<tr>\n<td><code>Samoan</code></td>\n</tr>\n<tr>\n<td><code>Sangro</code></td>\n</tr>\n<tr>\n<td><code>Sanskrit</code></td>\n</tr>\n<tr>\n<td><code>Scots Gaelic</code></td>\n</tr>\n<tr>\n<td><code>Serbian</code></td>\n</tr>\n<tr>\n<td><code>Sesotho</code></td>\n</tr>\n<tr>\n<td><code>Setswana</code></td>\n</tr>\n<tr>\n<td><code>Shona</code></td>\n</tr>\n<tr>\n<td><code>Sindhi</code></td>\n</tr>\n<tr>\n<td><code>Singhalese</code></td>\n</tr>\n<tr>\n<td><code>Siswati</code></td>\n</tr>\n<tr>\n<td><code>Slavic (Church)</code></td>\n</tr>\n<tr>\n<td><code>Slavic</code></td>\n</tr>\n<tr>\n<td><code>Slovak</code></td>\n</tr>\n<tr>\n<td><code>Slovenian</code></td>\n</tr>\n<tr>\n<td><code>Somali</code></td>\n</tr>\n<tr>\n<td><code>Spanish</code></td>\n</tr>\n<tr>\n<td><code>Sudanese</code></td>\n</tr>\n<tr>\n<td><code>Swahili</code></td>\n</tr>\n<tr>\n<td><code>Swedish</code></td>\n</tr>\n<tr>\n<td><code>Tagalog</code></td>\n</tr>\n<tr>\n<td><code>Tajik</code></td>\n</tr>\n<tr>\n<td><code>Tamil</code></td>\n</tr>\n<tr>\n<td><code>Tatar</code></td>\n</tr>\n<tr>\n<td><code>Telugu</code></td>\n</tr>\n<tr>\n<td><code>Thai</code></td>\n</tr>\n<tr>\n<td><code>Tibetan</code></td>\n</tr>\n<tr>\n<td><code>Tigrinya</code></td>\n</tr>\n<tr>\n<td><code>Tonga</code></td>\n</tr>\n<tr>\n<td><code>Tsonga</code></td>\n</tr>\n<tr>\n<td><code>Turkish</code></td>\n</tr>\n<tr>\n<td><code>Turkmen</code></td>\n</tr>\n<tr>\n<td><code>Twi</code></td>\n</tr>\n<tr>\n<td><code>Uigur</code></td>\n</tr>\n<tr>\n<td><code>Ukrainian</code></td>\n</tr>\n<tr>\n<td><code>Urdu</code></td>\n</tr>\n<tr>\n<td><code>Uzbek</code></td>\n</tr>\n<tr>\n<td><code>Vietnamese</code></td>\n</tr>\n<tr>\n<td><code>Volapuk</code></td>\n</tr>\n<tr>\n<td><code>Welch</code></td>\n</tr>\n<tr>\n<td><code>Wolof</code></td>\n</tr>\n<tr>\n<td><code>Xhosa</code></td>\n</tr>\n<tr>\n<td><code>Yiddish</code></td>\n</tr>\n<tr>\n<td><code>Yoruba</code></td>\n</tr>\n<tr>\n<td><code>Zhuang</code></td>\n</tr>\n<tr>\n<td><code>Zulu</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"accepted-parameter-values---gender\">Accepted Parameter Values - Gender</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Female</code></td>\n</tr>\n<tr>\n<td><code>Male</code></td>\n</tr>\n<tr>\n<td><code>Transgender</code></td>\n</tr>\n<tr>\n<td><code>Gender Neutral</code></td>\n</tr>\n<tr>\n<td><code>Non-binary</code></td>\n</tr>\n<tr>\n<td><code>Agender</code></td>\n</tr>\n<tr>\n<td><code>Pangender</code></td>\n</tr>\n<tr>\n<td><code>Genderqueer</code></td>\n</tr>\n<tr>\n<td><code>Two-spirit</code></td>\n</tr>\n<tr>\n<td><code>Third Gender</code></td>\n</tr>\n<tr>\n<td><code>Transgender Male</code></td>\n</tr>\n<tr>\n<td><code>Transgender Female</code></td>\n</tr>\n<tr>\n<td><code>Other</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"rate-limiting--number-of-stanzas-in-requests\">Rate Limiting &amp; Number of Stanzas in Requests</h2>\n<p>The Audience API is rate limited at 100 requests per minute per account. If this is not sufficient for your needs, please contact your account team to discuss.  </p>\n<p>You can perform actions on up to 2,000 members in a single request (for most endpoints). You must have the <code>X-Ms-Async: true</code> header set. For a sync request, you can perform actions on up to 20 members in a single request.</p>\n","event":[{"listen":"prerequest","script":{"id":"adda9a5b-5af7-4c62-9fbd-1f410d908667","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1ce30e8b-6ad8-421b-b348-fd6818577f63","type":"text/javascript","exec":[""]}}],"_postman_id":"d8de8745-5ab8-4e93-b6cc-5bfdaffedee5","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"1da6a725-34a8-4729-b8e4-85ef5a787934","id":"1da6a725-34a8-4729-b8e4-85ef5a787934","name":"mPulse One API Docs","type":"collection"}}},{"name":"Transactional Messaging API","item":[{"name":"MT Request","id":"54ebea3b-f3d1-42af-b9c8-67fab7f5a03b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{password}}","username":"{{username}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"mobilephone\": \"{{phone_number}}\",\n    \"encoding\": \"ucs-2\",\n    \"reference_id\": \"tracking_b3xyx55\",\n    \"message\": \"Hello, this is a test message!\"\n}","options":{"raw":{"language":"json"}}},"url":"https://txnapi.mpulsemobile.com/api/v1/accounts/{{account_id}}/message","description":"<h2 id=\"mt-request\">MT Request</h2>\n<p><code>POST https://txnapi.mpulsemobile.com/api/v1/accounts/{{account_id}}/message</code></p>\n<h3 id=\"headers\"><strong>Headers</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Content-Type</code></td>\n<td><code>application/json</code></td>\n<td>Can only be one value.</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><code>Authorization</code></td>\n<td><code>Basic a3JpmpulseZ4lYW5kYW46dGVxdEBrcmzaG5h</code></td>\n<td>Basic auth and OAuth supported.</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"body\"><strong>Body</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mobilephone</code></td>\n<td>13105551212</td>\n<td>Member phone number.</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><code>encoding</code></td>\n<td><code>ucs-2</code> or <code>gsm</code></td>\n<td>Message encoding type. <strong>GSM</strong> (default) = 160 characters; <strong>UCS-2</strong> = 70 characters.</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>reference_id</code></td>\n<td>AB-22334455</td>\n<td>Message tracking number.</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td>Hello, have a good day.</td>\n<td>Message content.</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","accounts","{{account_id}}","message"],"host":["txnapi","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"54ebea3b-f3d1-42af-b9c8-67fab7f5a03b"}],"id":"5426dd4a-c5b6-4994-b5e1-65a7ed29df80","description":"<p>The Transactional Messaging API provides a simple and programmatic way to deliver SMS messages at high volumes without the overhead of managing contact records and contact preferences.</p>\n<p><strong>Messages that flow through the transactional system:</strong></p>\n<ul>\n<li><p>Are not associated with a member/contact.</p>\n</li>\n<li><p>Do not track subscriber preference (Opt-in / Opt-out).</p>\n</li>\n<li><p>Do not automatically trigger a response (AR).</p>\n</li>\n</ul>\n<p>Member profile data is not stored. The responsibility of phone number verification, retry logic, and Mobile Originating (MO) message handling belongs to mPulse’s customer.</p>\n<h1 id=\"getting-started\">Getting Started</h1>\n<p>mPulse must enable use of the Transactional Messaging API for your account before use. Be prepared to supply the following for setup.</p>\n<ul>\n<li><p>Performance requirements (such as API TPS)</p>\n</li>\n<li><p>Expected message volume</p>\n</li>\n<li><p>Callback endpoints</p>\n</li>\n<li><p>Credentials to access endpoints or any other required services</p>\n</li>\n</ul>\n<p>Transactional Messaging API does not facilitate any automated response, opt out, or consent handling. As such, customer is responsible for facilitating appropriate respecting recipient out requests and follow-on messaging.</p>\n<p>Customers agree to follow applicable laws, regulations, industry standards and guidelines, including the the Telephone Consumer Protection Act, CTIA Messaging Principles and Best Practices and applicable carrier (e.g., AT&amp;T, T-Mobile, etc.) guidelines and/or codes of conduct; and where applicable, the CTIA Short Code Monitoring Handbook, US Short Code Registry Best Practices, and Short Code Registry Acceptable Use Policy.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"b6d3c507-5b66-4e8d-b6c5-0d3e5880fed3","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"9574f8ff-4c42-47c8-b950-247249570334","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"_postman_id":"5426dd4a-c5b6-4994-b5e1-65a7ed29df80"}],"auth":{"type":"basic","basic":{}},"event":[{"listen":"prerequest","script":{"id":"17433f75-c4c6-437d-94e0-56a0977d27ef","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"b97ccca0-81ac-417c-b745-1fdba2d7258d","type":"text/javascript","packages":{},"exec":[""]}}]}