{"info":{"_postman_id":"3faad2c1-1bf3-4640-9413-72fe525382d7","name":"Members API and Related","description":"<html><head></head><body><p>Consists of four related APIs:<br><br></p>\n<ul>\n<li>Members API - CRUD for members</li>\n<li>Relationships API - CRD for relationships between members; used for shared contact</li>\n<li>Subscriptions API - CRU for subscriptions for all members; including shared contact</li>\n<li>Member Activities API - Returns member activity for members</li>\n</ul>\n<p>All APIs use Basic Auth. All APIs are RESTful.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2749738","collectionId":"3faad2c1-1bf3-4640-9413-72fe525382d7","publishedId":"RzfjnTbq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-12-12T18:42:49.000Z"},"item":[{"name":"Members API","item":[{"name":"GET Members","id":"c3d9be02-12c3-4d66-a048-e2fa02e27ed3","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/list/{{list_id}}?status=unsubscribed&limit=25&offset=2","description":"<p>Get all.  Used with the \"list\" parameter to return all members for the Engagement Console all group in left pane.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n<th>values</th>\n<th>required</th>\n<th>default</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>subscription status to return; pending is returned with subscribed</td>\n<td>subscribed, unsubscribed, all</td>\n<td>no</td>\n<td>all</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>number of results to return</td>\n<td>numeric</td>\n<td>no</td>\n<td>100</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number of results to skip before returning</td>\n<td>numeric</td>\n<td>no</td>\n<td>0</td>\n</tr>\n<tr>\n<td>list</td>\n<td>list to return members for</td>\n<td>list_id</td>\n<td>no</td>\n<td>n/a</td>\n</tr>\n<tr>\n<td>member_filter</td>\n<td>deleted or not</td>\n<td>deleted, active, all</td>\n<td>no</td>\n<td>n/a</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","list","{{list_id}}"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[{"key":"status","value":"unsubscribed"},{"key":"limit","value":"25"},{"key":"offset","value":"2"}],"variable":[]}},"response":[],"_postman_id":"c3d9be02-12c3-4d66-a048-e2fa02e27ed3"},{"name":"GET Members v2","id":"56312141-2dc9-4c8b-aef0-fd4474f39e79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/list/{{list_id}}?status=unsubscribed&limit=25&offset=2","description":"<p>Returns carrier information as well</p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","list","{{list_id}}"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[{"key":"status","value":"unsubscribed"},{"key":"limit","value":"25"},{"key":"offset","value":"2"}],"variable":[]}},"response":[],"_postman_id":"56312141-2dc9-4c8b-aef0-fd4474f39e79"},{"name":"GET Members Count","id":"f28f52e6-068f-46fb-a582-2cd531a63e12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/count","description":"<p>Get count of members in a given account.</p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","count"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f28f52e6-068f-46fb-a582-2cd531a63e12"},{"name":"Member Query - single member","event":[{"listen":"test","script":{"id":"6430f5e7-fab2-4a0f-9639-a0c5f34df4a5","exec":["let amid = pm.response.json().content.audience_member_id;","","pm.environment.set(\"audience_member_id\", amid);"],"type":"text/javascript"}}],"id":"073f93a7-b3aa-4717-9d05-47ed2c640556","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/16314902","description":"<p>Returns the member profile for a single member.  Put in <code>audience_member_id</code> for <code>member_id</code></p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","16314902"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"073f93a7-b3aa-4717-9d05-47ed2c640556"},{"name":"Member Query - single member v2","event":[{"listen":"test","script":{"id":"6430f5e7-fab2-4a0f-9639-a0c5f34df4a5","exec":["let amid = pm.response.json().content.audience_member_id;","","pm.environment.set(\"audience_member_id\", amid);"],"type":"text/javascript"}}],"id":"a2837a13-c1fb-4132-bd88-f68792328b21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/v2.0/members/1481881","description":"<p>Returns member carrier information as well.</p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","v2.0","members","1481881"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2837a13-c1fb-4132-bd88-f68792328b21"},{"name":"Member Query - identifiers search","event":[{"listen":"test","script":{"id":"f5f0551c-8ce9-4e55-a481-444958c33504","exec":["let amid = pm.response.json().content[0].audience_member_id;","","pm.environment.set(\"audience_member_id\", amid);"],"type":"text/javascript"}}],"id":"b1f030bb-0842-446f-ba83-67ccbf545a34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/search?mobile_phone=13107130312","description":"<p>Returns one or more audience members matching the query paramters.<br /><br /></p>\n<p>Will return all matching members.  Parameters are exact search unless otherwise noted.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Query Parameter</th>\n<th>Format</th>\n<th>Notes</th>\n<th>Required?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>audience_member_id</td>\n<td>numeric</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>mobile_phone</td>\n<td>11-digit phone number, i.e. 13105551212</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email address</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td>fuzzy search - can do &amp; last_name as well</td>\n<td>no</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td>fuzzy search</td>\n<td>no</td>\n</tr>\n<tr>\n<td>client_member_id</td>\n<td>string</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>app_member_id</td>\n<td>string</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>list_id</td>\n<td>numeric</td>\n<td></td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div><p><br /><br />\nexample: <code>  https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/search?first_name=Leslie&amp;last_name=Wife</code></p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","search"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[{"key":"mobile_phone","value":"13107130312"}],"variable":[]}},"response":[],"_postman_id":"b1f030bb-0842-446f-ba83-67ccbf545a34"},{"name":"Member Query - identifiers search v2","event":[{"listen":"test","script":{"id":"f5f0551c-8ce9-4e55-a481-444958c33504","exec":["let amid = pm.response.json().content[0].audience_member_id;","","pm.environment.set(\"audience_member_id\", amid);"],"type":"text/javascript"}}],"id":"371de1d9-4bda-4f9f-8461-a544f49f270c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/v2.0/members/search?first_name=Josh&list_id={{list_id}}","description":"<p>Returns carrier information as well</p>\n<p>Returns one or more audience members matching the query paramters.<br /><br /></p>\n<p>Will return all matching members.  Parameters are exact search unless otherwise noted.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Query Parameter</th>\n<th>Format</th>\n<th>Notes</th>\n<th>Required?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>audience_member_id</td>\n<td>numeric</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>mobile_phone</td>\n<td>11-digit phone number, i.e. 13105551212</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email address</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td>fuzzy search - can do &amp; last_name as well</td>\n<td>no</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td>fuzzy search</td>\n<td>no</td>\n</tr>\n<tr>\n<td>client_member_id</td>\n<td>string</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>app_member_id</td>\n<td>string</td>\n<td></td>\n<td>no</td>\n</tr>\n<tr>\n<td>list_id</td>\n<td>numeric</td>\n<td></td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div><p><br /><br />\nexample: <code>  https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/search?first_name=Leslie&amp;last_name=Wife</code></p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","v2.0","members","search"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[{"key":"first_name","value":"Josh"},{"key":"list_id","value":"{{list_id}}"}],"variable":[]}},"response":[],"_postman_id":"371de1d9-4bda-4f9f-8461-a544f49f270c"},{"name":"Member Query - multiple members","id":"447cbb4b-8d36-4e3b-922c-40578759b62b","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"body":{"mode":"raw","raw":"    {\n        \"client_member_id\": \"JoshTest04171822\",\n        \"phone_number\": \"13145034192\",\n        \"last_name\": \"Stallone-Levitan\",\n        \"first_name\": \"Leslie\",\n        \"zip_code\": \"91607\",\n        \"date_of_birth\": \"1980-04-16\",\n        \"gender\": \"female\",\n        \"language\": \"en\"\n    }\n"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members?limit=100&start_date=20180101&end_date=20180417&offset=20","description":"<p>Return multiple audience members.  Include optional query parameters.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Query Parameter</th>\n<th>Notes</th>\n<th>Default</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>number of members to return</td>\n<td>100</td>\n<td>no</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number of members to skip before returning</td>\n<td>0</td>\n<td>no</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>YYYYmmdd</td>\n<td>current date</td>\n<td>no</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>YYYYmmdd</td>\n<td>none</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[{"key":"limit","value":"100"},{"key":"start_date","value":"20180101"},{"key":"end_date","value":"20180417"},{"key":"offset","value":"20"}],"variable":[]}},"response":[],"_postman_id":"447cbb4b-8d36-4e3b-922c-40578759b62b"},{"name":"Create Member - Single member","event":[{"listen":"test","script":{"id":"906fb331-a179-4dd7-99a9-117e45e23b96","exec":["let amid = pm.response.json().content[0].audience_member_id;","","pm.environment.set(\"audience_member_id\", amid);"],"type":"text/javascript"}}],"id":"a6a743c0-662f-47ee-bcc7-098d3aedddb4","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic cmFrZXNoOmtVcVpjUlA4SklEQDk4bEw="},{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"client_member_id\": \"TT2sss\",\n        \"phone_number\": \"18186793181\",\n        \"last_name\": \"Levitan\",\n        \"first_name\": \"Josh\",\n        \"zip_code\": \"91607\",\n        \"date_of_birth\": \"1973-11-13\",\n        \"gender\": \"male\",\n        \"language\": \"en\"\n    }\n]"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members","description":"<p>Creates a single audience member.  Must include at least one field's worth of information.  You do not need to include any identifiers.  If you include identifiers (email, phone_number, client_member_id, app_member_id), they must be unique and valid, i.e. you can't add a member with a landline as a phone number.<br /><br />You can also include whatever custom fields are set up for the account.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Format</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>phone_number</td>\n<td>number</td>\n<td>10- or 11-digit phone number, i.e. <code>13105551212</code></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>YYYY-MM-DD</td>\n<td>date of birth</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>string</td>\n<td><code>male</code> or <code>female</code></td>\n</tr>\n<tr>\n<td>language</td>\n<td>two-character ISO abbreviation</td>\n<td>example: <code>en</code> or <code>es</code> for English or Spanish</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>email address</td>\n</tr>\n<tr>\n<td>address1</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client_member_id</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>job</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>zip_code</td>\n<td>XXXXX</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>app_member_id</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>map_id</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>rmenabled</td>\n<td>Boolean</td>\n<td>\"true\" or \"false\"</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6a743c0-662f-47ee-bcc7-098d3aedddb4"},{"name":"Create Member - Batch member creation","id":"d5bae85f-09ce-4a14-814b-463c5f969cea","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"client_member_id\": \"Joshxx041680\",\n        \"phone_number\": \"13145034192\",\n        \"last_name\": \"Stallone-Levitan\",\n        \"first_name\": \"Leslie\",\n        \"zip_code\": \"91607\",\n        \"date_of_birth\": \"1980-04-16\",\n        \"gender\": \"female\",\n        \"language\": \"en\"\n    },\n    {\n        \"client_member_id\": \"Joshxx11131973\",\n        \"phone_number\": \" 18186793181\",\n        \"last_name\": \"Levitan\",\n        \"first_name\": \"Josh\",\n        \"zip_code\": \"91607\",\n        \"date_of_birth\": \"1973-11-13\",\n        \"gender\": \"male\",\n        \"language\": \"en\"\n    }\n]"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members","description":"<p>Create multiple members.<br /><br />\nMust include at least one field's worth of information.  You do not need to include any identifiers.  If you include identifiers (email, phone_number, client_member_id, app_member_id), they must be unique and valid, i.e. you can't add a member with a landline as a phone number.<br /><br />You can also include whatever custom fields are set up for the account.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Format</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>phone_number</td>\n<td>number</td>\n<td>10- or 11-digit phone number, i.e. <code>13105551212</code></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>YYYY-MM-DD</td>\n<td>date of birth</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>string</td>\n<td><code>male</code> or <code>female</code></td>\n</tr>\n<tr>\n<td>language</td>\n<td>two-character ISO abbreviation</td>\n<td>example: <code>en</code> or <code>es</code> for English or Spanish</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>email address</td>\n</tr>\n<tr>\n<td>address1</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client_member_id</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>job</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>zip_code</td>\n<td>XXXXX</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>app_member_id</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>map_id</td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5bae85f-09ce-4a14-814b-463c5f969cea"},{"name":"Update Member","id":"27db6ab6-cb15-428f-a7b2-d50080da8c8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"PUT","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n      \"jmulti\": null\n }"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/31712003/","description":"<p>Update a given member by <code>audience_member_id</code>.<br /><br /> \nWill only replace/update included information in the request body.  To null out a field, include it as blank.</p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","31712003",""],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"27db6ab6-cb15-428f-a7b2-d50080da8c8c"},{"name":"Delete Member","id":"a0b31b30-e504-47b4-a942-42e3fa5973cd","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/{{audience_member_id}}","description":"<p>Delete a given member, by <code>audience_member_id</code>.</p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","{{audience_member_id}}"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0b31b30-e504-47b4-a942-42e3fa5973cd"},{"name":"Advanced Members Search API","id":"da63dedf-ed31-4929-be27-8125ce7e8573","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Basic S3Jpc2huYVlhZGF2UUE6QXFASjZJTkNVd2o1eD1oIw=="},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"query\":{\n      \"nested\":{\n         \"path\":\"subscriptions\",\n         \"query\":{\n            \"term\":{\n               \"subscriptions.list_id\":5581\n            }\n         }\n      }\n   }\n}"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/membersearch?limit=25","description":"<p>Passthrough API for Elasticsearch on platform.</p>\n<p>Takes account ID passed in URL and uses that as ES index.</p>\n<p>Will pass whatever query is sent through for search and return in the format that Engagement Console expects, i.e. first name, last name, client member ID, email, mobile phone, and id (audience member ID).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n<th>format</th>\n<th>required?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>number of results to return</td>\n<td>integer</td>\n<td>no</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number of results to skip when returning</td>\n<td>integer</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","membersearch"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[{"key":"limit","value":"25"}],"variable":[]}},"response":[],"_postman_id":"da63dedf-ed31-4929-be27-8125ce7e8573"},{"name":"Advanced Members Search API v2","id":"e61cc6b2-75c9-4c6f-b5be-aa66cad659c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Basic S3Jpc2huYVlhZGF2UUE6QXFASjZJTkNVd2o1eD1oIw=="},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"query\":{\n      \"nested\":{\n         \"path\":\"subscriptions\",\n         \"query\":{\n            \"term\":{\n               \"subscriptions.list_id\":2288\n            }\n         }\n      }\n   }\n}"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/v2.0/membersearch?limit=25","description":"<p>Passthrough API for Elasticsearch on platform.</p>\n<p>Returns carrier information as well.</p>\n<p>Takes account ID passed in URL and uses that as ES index.</p>\n<p>Will pass whatever query is sent through for search and return in the format that Engagement Console expects, i.e. first name, last name, client member ID, email, mobile phone, and id (audience member ID).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n<th>format</th>\n<th>required?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>number of results to return</td>\n<td>integer</td>\n<td>no</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number of results to skip when returning</td>\n<td>integer</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","v2.0","membersearch"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[{"key":"limit","value":"25"}],"variable":[]}},"response":[],"_postman_id":"e61cc6b2-75c9-4c6f-b5be-aa66cad659c0"}],"id":"fca13590-0ba3-446c-94af-20c713448e07","description":"<p>The Members API is an mPulse-internal only API for creating, retrieving, updating, and deleting members.  This is a RESTful API where endpoints are intended for single, intuitive operations that return quickly.</p>\n<p><code>\"rmenabled\": \"true\"</code> -- will set the user to be able to receive RCS messages (assuming s/he also has an RCS phone).  This field cannot be updated via the Audience API.</p>\n<h2 id=\"language---accepted-values\">Language - Accepted Values</h2>\n<p>This field populates <code>preferred_language</code> on the member profile (the difference between <code>preferred_language</code> and <code>language</code> is due to legacy issues from the separate member model on Hermes).  </p>\n<p>The Members API maps the ISO code to the language (Hermes used to have its own mapping based on the ISO codes for English &amp; Spanish).  Use the two-letter value as the API value for <code>langauge</code>.  Responses will return the two-letter ISO code as well.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Language</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>aa</code></td>\n<td>afar</td>\n</tr>\n<tr>\n<td><code>ab</code></td>\n<td>abkhazian</td>\n</tr>\n<tr>\n<td><code>af</code></td>\n<td>afrikaans</td>\n</tr>\n<tr>\n<td><code>am</code></td>\n<td>amharic</td>\n</tr>\n<tr>\n<td><code>ar</code></td>\n<td>arabic</td>\n</tr>\n<tr>\n<td><code>as</code></td>\n<td>assamese</td>\n</tr>\n<tr>\n<td><code>ay</code></td>\n<td>aymara</td>\n</tr>\n<tr>\n<td><code>az</code></td>\n<td>azerbaijani</td>\n</tr>\n<tr>\n<td><code>ba</code></td>\n<td>bashkir</td>\n</tr>\n<tr>\n<td><code>be</code></td>\n<td>byelorussian</td>\n</tr>\n<tr>\n<td><code>bg</code></td>\n<td>bulgarian</td>\n</tr>\n<tr>\n<td><code>bh</code></td>\n<td>bihari</td>\n</tr>\n<tr>\n<td><code>bi</code></td>\n<td>bislama</td>\n</tr>\n<tr>\n<td><code>bn</code></td>\n<td>bengali</td>\n</tr>\n<tr>\n<td><code>bo</code></td>\n<td>tibetan</td>\n</tr>\n<tr>\n<td><code>br</code></td>\n<td>breton</td>\n</tr>\n<tr>\n<td><code>ca</code></td>\n<td>catalan</td>\n</tr>\n<tr>\n<td><code>co</code></td>\n<td>corsican</td>\n</tr>\n<tr>\n<td><code>cs</code></td>\n<td>czech</td>\n</tr>\n<tr>\n<td><code>cy</code></td>\n<td>welch</td>\n</tr>\n<tr>\n<td><code>da</code></td>\n<td>danish</td>\n</tr>\n<tr>\n<td><code>de</code></td>\n<td>german</td>\n</tr>\n<tr>\n<td><code>dz</code></td>\n<td>bhutani</td>\n</tr>\n<tr>\n<td><code>el</code></td>\n<td>greek</td>\n</tr>\n<tr>\n<td><code>en</code></td>\n<td>english</td>\n</tr>\n<tr>\n<td><code>eo</code></td>\n<td>esperanto</td>\n</tr>\n<tr>\n<td><code>es</code></td>\n<td>spanish</td>\n</tr>\n<tr>\n<td><code>et</code></td>\n<td>estonian</td>\n</tr>\n<tr>\n<td><code>eu</code></td>\n<td>basque</td>\n</tr>\n<tr>\n<td><code>fa</code></td>\n<td>persian</td>\n</tr>\n<tr>\n<td><code>fi</code></td>\n<td>finnish</td>\n</tr>\n<tr>\n<td><code>fj</code></td>\n<td>fiji</td>\n</tr>\n<tr>\n<td><code>fo</code></td>\n<td>faeroese</td>\n</tr>\n<tr>\n<td><code>fr</code></td>\n<td>french</td>\n</tr>\n<tr>\n<td><code>fy</code></td>\n<td>frisian</td>\n</tr>\n<tr>\n<td><code>ga</code></td>\n<td>irish</td>\n</tr>\n<tr>\n<td><code>gd</code></td>\n<td>scots-gaelic</td>\n</tr>\n<tr>\n<td><code>gl</code></td>\n<td>galician</td>\n</tr>\n<tr>\n<td><code>gn</code></td>\n<td>guarani</td>\n</tr>\n<tr>\n<td><code>gu</code></td>\n<td>gujarati</td>\n</tr>\n<tr>\n<td><code>ha</code></td>\n<td>hausa</td>\n</tr>\n<tr>\n<td><code>hi</code></td>\n<td>hindi</td>\n</tr>\n<tr>\n<td><code>he</code></td>\n<td>hebrew</td>\n</tr>\n<tr>\n<td><code>hr</code></td>\n<td>croatian</td>\n</tr>\n<tr>\n<td><code>hu</code></td>\n<td>hungarian</td>\n</tr>\n<tr>\n<td><code>hy</code></td>\n<td>armenian</td>\n</tr>\n<tr>\n<td><code>ia</code></td>\n<td>interlingua</td>\n</tr>\n<tr>\n<td><code>id</code></td>\n<td>indonesian</td>\n</tr>\n<tr>\n<td><code>ie</code></td>\n<td>interlingue</td>\n</tr>\n<tr>\n<td><code>ik</code></td>\n<td>inupiak</td>\n</tr>\n<tr>\n<td><code>in</code></td>\n<td>former indonesian</td>\n</tr>\n<tr>\n<td><code>is</code></td>\n<td>icelandic</td>\n</tr>\n<tr>\n<td><code>it</code></td>\n<td>italian</td>\n</tr>\n<tr>\n<td><code>iu</code></td>\n<td>inuktitut (eskimo)</td>\n</tr>\n<tr>\n<td><code>iw</code></td>\n<td>former hebrew</td>\n</tr>\n<tr>\n<td><code>ja</code></td>\n<td>japanese</td>\n</tr>\n<tr>\n<td><code>ji</code></td>\n<td>former yiddish</td>\n</tr>\n<tr>\n<td><code>jw</code></td>\n<td>javanese</td>\n</tr>\n<tr>\n<td><code>ka</code></td>\n<td>georgian</td>\n</tr>\n<tr>\n<td><code>kk</code></td>\n<td>kazakh</td>\n</tr>\n<tr>\n<td><code>kl</code></td>\n<td>greenlandic</td>\n</tr>\n<tr>\n<td><code>km</code></td>\n<td>cambodian</td>\n</tr>\n<tr>\n<td><code>kn</code></td>\n<td>kannada</td>\n</tr>\n<tr>\n<td><code>ko</code></td>\n<td>korean</td>\n</tr>\n<tr>\n<td><code>ks</code></td>\n<td>kashmiri</td>\n</tr>\n<tr>\n<td><code>ku</code></td>\n<td>kurdish</td>\n</tr>\n<tr>\n<td><code>ky</code></td>\n<td>kirghiz</td>\n</tr>\n<tr>\n<td><code>la</code></td>\n<td>latin</td>\n</tr>\n<tr>\n<td><code>ln</code></td>\n<td>lingala</td>\n</tr>\n<tr>\n<td><code>lo</code></td>\n<td>Laothian</td>\n</tr>\n<tr>\n<td><code>lt</code></td>\n<td>lithuanian</td>\n</tr>\n<tr>\n<td><code>lv</code></td>\n<td>latvian</td>\n</tr>\n<tr>\n<td><code>mg</code></td>\n<td>malagasy</td>\n</tr>\n<tr>\n<td><code>mi</code></td>\n<td>maori</td>\n</tr>\n<tr>\n<td><code>mk</code></td>\n<td>macedonian</td>\n</tr>\n<tr>\n<td><code>ml</code></td>\n<td>malayalam</td>\n</tr>\n<tr>\n<td><code>mn</code></td>\n<td>mongolian</td>\n</tr>\n<tr>\n<td><code>mo</code></td>\n<td>moldavian</td>\n</tr>\n<tr>\n<td><code>mr</code></td>\n<td>marathi</td>\n</tr>\n<tr>\n<td><code>ms</code></td>\n<td>malay</td>\n</tr>\n<tr>\n<td><code>mt</code></td>\n<td>maltese</td>\n</tr>\n<tr>\n<td><code>my</code></td>\n<td>burmese</td>\n</tr>\n<tr>\n<td><code>na</code></td>\n<td>nauru</td>\n</tr>\n<tr>\n<td><code>ne</code></td>\n<td>nepali</td>\n</tr>\n<tr>\n<td><code>nl</code></td>\n<td>dutch</td>\n</tr>\n<tr>\n<td><code>no</code></td>\n<td>norwegian</td>\n</tr>\n<tr>\n<td><code>oc</code></td>\n<td>occitan</td>\n</tr>\n<tr>\n<td><code>om</code></td>\n<td>(afan) oromo</td>\n</tr>\n<tr>\n<td><code>or</code></td>\n<td>oriya</td>\n</tr>\n<tr>\n<td><code>pa</code></td>\n<td>punjabi</td>\n</tr>\n<tr>\n<td><code>pl</code></td>\n<td>polish</td>\n</tr>\n<tr>\n<td><code>ps</code></td>\n<td>pashto-pushto</td>\n</tr>\n<tr>\n<td><code>pt</code></td>\n<td>portuguese</td>\n</tr>\n<tr>\n<td><code>qu</code></td>\n<td>quechua</td>\n</tr>\n<tr>\n<td><code>rm</code></td>\n<td>rhaeto-romance</td>\n</tr>\n<tr>\n<td><code>rn</code></td>\n<td>kirundi</td>\n</tr>\n<tr>\n<td><code>ro</code></td>\n<td>romanian</td>\n</tr>\n<tr>\n<td><code>ru</code></td>\n<td>russian</td>\n</tr>\n<tr>\n<td><code>rw</code></td>\n<td>kinyarwanda</td>\n</tr>\n<tr>\n<td><code>sa</code></td>\n<td>sanskrit</td>\n</tr>\n<tr>\n<td><code>sd</code></td>\n<td>sindhi</td>\n</tr>\n<tr>\n<td><code>sg</code></td>\n<td>sangro</td>\n</tr>\n<tr>\n<td><code>sh</code></td>\n<td>serbo-croatian</td>\n</tr>\n<tr>\n<td><code>si</code></td>\n<td>singhalese</td>\n</tr>\n<tr>\n<td><code>sk</code></td>\n<td>slovak</td>\n</tr>\n<tr>\n<td><code>sl</code></td>\n<td>slovenian</td>\n</tr>\n<tr>\n<td><code>sm</code></td>\n<td>samoan</td>\n</tr>\n<tr>\n<td><code>sn</code></td>\n<td>shona</td>\n</tr>\n<tr>\n<td><code>so</code></td>\n<td>somali</td>\n</tr>\n<tr>\n<td><code>sq</code></td>\n<td>albanian</td>\n</tr>\n<tr>\n<td><code>sr</code></td>\n<td>serbian</td>\n</tr>\n<tr>\n<td><code>ss</code></td>\n<td>siswati</td>\n</tr>\n<tr>\n<td><code>st</code></td>\n<td>sesotho</td>\n</tr>\n<tr>\n<td><code>su</code></td>\n<td>sudanese</td>\n</tr>\n<tr>\n<td><code>sv</code></td>\n<td>swedish</td>\n</tr>\n<tr>\n<td><code>sw</code></td>\n<td>swahili</td>\n</tr>\n<tr>\n<td><code>ta</code></td>\n<td>tamil</td>\n</tr>\n<tr>\n<td><code>te</code></td>\n<td>tegulu</td>\n</tr>\n<tr>\n<td><code>tg</code></td>\n<td>tajik</td>\n</tr>\n<tr>\n<td><code>th</code></td>\n<td>thai</td>\n</tr>\n<tr>\n<td><code>ti</code></td>\n<td>tigrinya</td>\n</tr>\n<tr>\n<td><code>tk</code></td>\n<td>turkmen</td>\n</tr>\n<tr>\n<td><code>tl</code></td>\n<td>uagalog</td>\n</tr>\n<tr>\n<td><code>tn</code></td>\n<td>setswana</td>\n</tr>\n<tr>\n<td><code>to</code></td>\n<td>tonga</td>\n</tr>\n<tr>\n<td><code>tr</code></td>\n<td>turkish</td>\n</tr>\n<tr>\n<td><code>ts</code></td>\n<td>tsonga</td>\n</tr>\n<tr>\n<td><code>tt</code></td>\n<td>tatar</td>\n</tr>\n<tr>\n<td><code>tw</code></td>\n<td>twi</td>\n</tr>\n<tr>\n<td><code>ug</code></td>\n<td>uigur</td>\n</tr>\n<tr>\n<td><code>uk</code></td>\n<td>ukrainian</td>\n</tr>\n<tr>\n<td><code>ur</code></td>\n<td>urdu</td>\n</tr>\n<tr>\n<td><code>uz</code></td>\n<td>uzbek</td>\n</tr>\n<tr>\n<td><code>vi</code></td>\n<td>vietnamese</td>\n</tr>\n<tr>\n<td><code>vo</code></td>\n<td>volapuk</td>\n</tr>\n<tr>\n<td><code>wo</code></td>\n<td>wolof</td>\n</tr>\n<tr>\n<td><code>xh</code></td>\n<td>xhosa</td>\n</tr>\n<tr>\n<td><code>yi</code></td>\n<td>yiddish</td>\n</tr>\n<tr>\n<td><code>yo</code></td>\n<td>yoruba</td>\n</tr>\n<tr>\n<td><code>za</code></td>\n<td>zhuang</td>\n</tr>\n<tr>\n<td><code>zh</code></td>\n<td>chinese</td>\n</tr>\n<tr>\n<td><code>zu</code></td>\n<td>zulu</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>","event":[{"listen":"prerequest","script":{"id":"7b29bea5-ba51-46da-8010-26cc73caf1c9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d621d778-e674-4f6f-b50d-c278a7e91d65","type":"text/javascript","exec":[""]}}],"_postman_id":"fca13590-0ba3-446c-94af-20c713448e07"},{"name":"Relationships API","item":[{"name":"Query Relationships","id":"fe48af69-37f1-4b7e-b4b6-0fdd38be09c4","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/relationships/{{audience_member_id}}","description":"<p>Returns relationships for a given member; used for Shared Contact to show if a member is a dependent or dependee.</p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","relationships","{{audience_member_id}}"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe48af69-37f1-4b7e-b4b6-0fdd38be09c4"},{"name":"Create Relationship","id":"39c2ba7c-06b7-4f90-9601-67d6ccd241f4","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic cmFrZXNoOmtVcVpjUlA4SklEQDk4bEw="},{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"body":{"mode":"raw","raw":"{\n  \"member\": {\n    \"audience_member_id\": \"82008778\",\n    \"dependees\": [\n      {\n        \"audience_member_id\": \"8200877\"\n      }\n      ]\n  }\n}"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/relationships","description":"<p>Creates a dependent relationship for a given member with one or more existing members.<br /><br /></p>\n<p>List the audience_member_id of the member to be a dependent and put the dependees in the <code>dependees</code> block.  You can identify a dependee by one of the folllowing identifiers:<br /></p>\n<ul>\n<li>audience_member_id</li>\n<li>phone_number</li>\n<li>email</li>\n<li>app_member_id</li>\n<li>client_member_id <br /><br /></li>\n</ul>\n<p>A dependent will inherit all of the identifiers from a dependee by default.  You can then create a subscription for the dependent on that channel by using the Subscriptions API.</p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","relationships"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"39c2ba7c-06b7-4f90-9601-67d6ccd241f4"},{"name":"Delete Specific Relationship","id":"74e3a3c3-17f4-4025-8105-ea5bdc0c47e5","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/relationships?dependent_member_id=1344495&dependee_member_id=1341280","description":"<p>Removes a specific relationship between two members.<br /><br /></p>\n<p>Pass in the <code>dependee_member_id</code> and the <code>dependent_member_id</code> of the relationship to be removed as query parameters.<br /><br /></p>\n<p>When a relationship is removed, the dependent will be unsubscribed from all channels s/he is subscribed on with the dependeee's contact information (i.e. if Johnny Junior is subscribed on SMS to his mother's phone number and the relationship is removed, he will no longer be subscribed for SMS).  If you wish to keep messaging the formerly dependent member, you will either need to make new relationships and subscriptions or add contact information and subscriptions.</p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","relationships"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[{"key":"dependent_member_id","value":"1344495"},{"key":"dependee_member_id","value":"1341280"}],"variable":[]}},"response":[],"_postman_id":"74e3a3c3-17f4-4025-8105-ea5bdc0c47e5"}],"id":"91d53449-00f9-4230-85cb-57de90835d71","description":"<p>The Relationships API is an mPulse-internal only API for retrieving and managing information around the Shared Contact feature.  This is used for returning whether or not members are dependents or dependees, for creating a dependent member, and for changing member dependent/dependee status.</p>\n","event":[{"listen":"prerequest","script":{"id":"18615a1c-e5d8-4132-a292-ecac27b894cd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ee407591-540f-4966-8803-3c00327d3252","type":"text/javascript","exec":[""]}}],"_postman_id":"91d53449-00f9-4230-85cb-57de90835d71"},{"name":"Subscriptions API","item":[{"name":"Query Subscriptions","id":"41983f8f-ed63-4b7a-9842-10dad9c9bf5a","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \n  \"lists\":\n    [\n      {\n        \"list_id\": \"4704\",\n        \"channels\": [\n          {\n            \"channel\": \"sms\",\n            \"status\": \"unsubscribe\"\n          }\n        ]\n      }\n    ]\n}"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/{{member_id}}/subscriptions","description":"<p>Returns subscriptions by channel for a given member whose <code>audience_member_id</code> is passed in the request.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>subscribed</code></td>\n<td>member is subscribed</td>\n</tr>\n<tr>\n<td><code>unsubscribed</code></td>\n<td>member is unsubscribed</td>\n</tr>\n<tr>\n<td><code>member_unsubscribed</code></td>\n<td>member opted out via MO/\"Stop\" message</td>\n</tr>\n<tr>\n<td><code>pending</code></td>\n<td>member is pending (has been sent the welcome message but not yet replied to opt in) -- applies only to double opt-in lists; note that pending only lasts ~24 hours and then gets cleaned up by a system cron automatically</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","{{member_id}}","subscriptions"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"41983f8f-ed63-4b7a-9842-10dad9c9bf5a"},{"name":"Create Subscription","id":"70a3f7d5-d22a-4c65-a39b-e53270cc0ee5","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \n    \"lists\":\n    [\n      {\n        \"list_id\": \"3817\",\n        \"channels\": [\n          {\n            \"channel\": \"email\",\n            \"status\": \"subscribe\"\n          }\n        ]\n      }\n    ]\n}"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/{{member_id}}/subscriptions","description":"<p>Creates one or more subscriptions for a single member on one or more lists.  Must pass in at least one channel per list.  Pass in <code>audience_member_id</code> in the request.<br /><br /></p>\n<p>Truly RESTful -- will only create a subscription where one did not formerly exist.  Use the <code>Update Subscription</code> API to unsubscribe a member or subscribe a member who is already unsubscribed.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>list_id</td>\n<td>Platform list id; numeric</td>\n</tr>\n<tr>\n<td>channel</td>\n<td><code>email</code> or <code>sms</code>; appmail channels (push/sms) to come</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","{{member_id}}","subscriptions"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"70a3f7d5-d22a-4c65-a39b-e53270cc0ee5"},{"name":"Create Subscription - Dependent","id":"3df6bd02-d18d-4630-ba10-46d2c834f282","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \n    \"dependee_member_id\": 8226128,\n    \"lists\":\n    [\n      {\n        \"list_id\": \"4860\",\n        \"channels\": [\n          {\n            \"channel\": \"email\",\n            \"status\": \"subscribe\"\n          }\n        ]\n      }\n    ]\n}"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/{{audience_member_id}}/subscriptions","description":"<p>Creates one or more subscriptions for a single member as a dependent on one or more lists.  Must pass in at least one channel per list.  Pass in <code>audience_member_id</code> in the request.  Must have <code>dependee_member_id</code> block.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>list_id</td>\n<td>Platform list id; numeric</td>\n</tr>\n<tr>\n<td>channel</td>\n<td><code>email</code> or <code>sms</code>; appmail channels (push/sms) to come</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","{{audience_member_id}}","subscriptions"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3df6bd02-d18d-4630-ba10-46d2c834f282"},{"name":"Update Subscription","id":"a5102409-09e2-424b-a7e0-bd08a38e1190","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \n  \"lists\":\n    [\n      {\n        \"list_id\": \"2988\",\n        \"channels\": [\n          {\n            \"channel\": \"sms\",\n            \"status\": \"resubscribe\"\n          }\n        ]\n      }\n    ]\n}"},"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/members/{{audience_member_id}}/subscriptions","description":"<p>Updates one or more subscriptions for a given member.  Used to subscribe a member who is unsubscribed and/or subscribe a member who is subscribed.<br /><br />  Actions are per channel and are independent, i.e. you can subscribe a member to email and unsubscribe from SMS in the same request for the same list.  Can be used to unsubscribe dependents as well as \"normal\" members.<br /><br /></p>\n<p>Will error out if you try to subscribe a member who is not subscribed; use the <code>Create Subscription</code> API instead.<br /><br /></p>\n<p>Pass in <code>status</code> parameter in request body.<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>subscribe</code></td>\n<td>subscribe a member who is unsubscribed</td>\n</tr>\n<tr>\n<td><code>unsubscribe</code></td>\n<td>unsubscribe a member who is subscribed</td>\n</tr>\n<tr>\n<td><code>resubscribe</code></td>\n<td>re-subscribe a member who opted out</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","members","{{audience_member_id}}","subscriptions"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5102409-09e2-424b-a7e0-bd08a38e1190"}],"id":"f7e3849f-9ef8-4f31-aa54-817e3c62bbc8","description":"<p>The Subscriptions API is an mPulse-internal only API for creating, retrieving, and updating Member Subscriptions.</p>\n","event":[{"listen":"prerequest","script":{"id":"26dd8fe7-81ed-446e-894d-0ce47a28a887","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"975970d3-d31b-459c-9111-274720e94c40","type":"text/javascript","exec":[""]}}],"_postman_id":"f7e3849f-9ef8-4f31-aa54-817e3c62bbc8"},{"name":"Member Activities API","item":[{"name":"Member Activities","id":"012f2601-d97d-450a-b543-5e7cddf57df7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/member_activities/{{audience_member_id}}","description":"<p>Returns member activity for a given member whose <code>audience_member_id</code> is passed in the request.<br /><br /></p>\n<p>Can pass optional query parameters:<br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n<th>values</th>\n<th>default</th>\n<th>required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>how many results to return</td>\n<td>numeric</td>\n<td>25</td>\n<td>no</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>return results from here</td>\n<td>timestamp, 2018-7-19_23:30:04.848621</td>\n<td>none</td>\n<td>no</td>\n</tr>\n<tr>\n<td>results</td>\n<td>before or after timestamp</td>\n<td><code>before</code> or <code>after</code></td>\n<td>before</td>\n<td>no</td>\n</tr>\n<tr>\n<td>list_id</td>\n<td>limit results to a specific list</td>\n<td>list id</td>\n<td>all results for all lists</td>\n<td>no</td>\n</tr>\n<tr>\n<td>archive</td>\n<td>return results &gt; 365 days from current date</td>\n<td><code>true</code></td>\n<td>false</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div><p><br /><br />If <code>results=before</code>, returns ordered by <code>activity_date desc</code>; if <code>results=after</code>, returns ordered by <code>activity_date asc</code>.  <strong>Defaults to last 365 days worth of data unless you pass in <code>archive=true</code>.</strong></p>\n<p><br /><br />Returns:</p>\n<h1 id=\"subscribe-email-sms\">Subscribe (email, SMS)</h1>\n<h1 id=\"unsubscribe-email-sms\">Unsubscribe (email, SMS)</h1>\n<h1 id=\"mo\">MO</h1>\n<h1 id=\"mt\">MT</h1>\n<h1 id=\"failed-mt\">failed MT</h1>\n<h1 id=\"add-not-yet\">Add (not yet)</h1>\n<h1 id=\"updates-not-yet\">Updates (not yet)</h1>\n<h1 id=\"deletes-net-yet\">Deletes (net yet)</h1>\n<h1 id=\"workflow-start-not-yet\">Workflow Start (not yet)</h1>\n<h1 id=\"workflow-end-not-yet\">Workflow End (not yet)</h1>\n<h1 id=\"state-change-not-yet\">State Change (not yet)</h1>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","member_activities","{{audience_member_id}}"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[{"id":"63a764f1-39a1-4cb0-a217-fc6b240dd421","name":"Member Activities","originalRequest":{"method":"GET","header":[],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/member_activities/{{audience_member_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 21 Feb 2020 19:07:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"9506"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"status\": \"success\",\n    \"message\": \"Retrieved Member Activity\",\n    \"activities\": [\n       \n        {\n            \"content\": {\n                \"phone_number\": \"13105551212\",\n                \"tags\": \"hermes, workflow_456, state_1434\",\n                \"content\": \"Ready for the next part of your training? Reply BREATHE, EAT, or RELAX to start the next area.\",\n                \"shortcode\": \"45774\",\n                \"message_id\": 81053,\n                \"channel\": \"SMS\"\n            },\n            \"requested_by\": null,\n            \"created_on\": \"2020-02-20T21:40:47.460295-0800\",\n            \"original_id\": 267182211,\n            \"list_id\": 2288,\n            \"activity_date\": \"2020-02-20T21:40:47.461054-0800\",\n            \"id\": 483859314,\n            \"activity_type\": \"MESSAGE_SENT\"\n        }\n        {\n            \"content\": {\n                \"content\": \"Move\",\n                \"phone_number\": \"13105551212\",\n                \"channel\": \"SMS\"\n            },\n            \"requested_by\": null,\n            \"created_on\": \"2020-02-18T21:40:44.570518-0800\",\n            \"original_id\": 14714813,\n            \"list_id\": null,\n            \"activity_date\": \"2020-02-18T21:40:44.468033-0800\",\n            \"id\": 481475564,\n            \"activity_type\": \"MESSAGE_RECEIVED\"\n        }\n    ]\n}"}],"_postman_id":"012f2601-d97d-450a-b543-5e7cddf57df7"},{"name":"Member Activities - Elasticsearch","id":"40e227c0-6524-4b43-be92-539c50dd4df3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{username}}"},{"key":"password","value":"{{password}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{env}}ms-api.mpulsemobile.com/REST/accounts/{{account_id}}/v3.0/member_activities/{{audience_member_id}}/?limit=50&timestamp=2021-03-30_00:00:00&after=before&list_id=2288","description":"<p>GET Member Activities leveraging Elasticsearch (vs. database)</p>\n","urlObject":{"protocol":"https","path":["REST","accounts","{{account_id}}","v3.0","member_activities","{{audience_member_id}}",""],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[{"key":"limit","value":"50"},{"key":"timestamp","value":"2021-03-30_00:00:00"},{"key":"after","value":"before"},{"key":"list_id","value":"2288"}],"variable":[]}},"response":[],"_postman_id":"40e227c0-6524-4b43-be92-539c50dd4df3"},{"name":"POST Member Activities API","id":"654da5c2-fe01-4b4a-8112-4fa4ecd07202","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"cache-control","value":"no-cache"},{"key":"content-type","value":"application/json"},{"key":"sso-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTU4OTIzNTAsInVzZXJfaWQiOjIwMSwidXNlcm5hbWUiOiJqb3NoX3N0YWdpbmciLCJvcmlnX2lhdCI6MTU5NTg4ODc1MCwiZW1haWwiOiJqb3NoLmxldml0YW5AbXB1bHNlbW9iaWxlLmNvbSJ9._9WkCeUV-0ooKeQqZkTkuYla3v8bsAdD0-lHMm8wew0"}],"body":{"mode":"raw","raw":"{\n    \"audience_member_id\": 43497191,\n    \"original_id\": 1234567,\n    \"action\": \"link_clicked\",\n    \"content\": \n        {\n            \"url\": \"https://www.joshlevitan.com\",\n            \"useragent\": \"Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy)\"\n        },\n    \"channel\": \"mobileweb\"\n}"},"url":"https://{{env}}ms-api.mpulsemobile.com/account/{{account_id}}/member_activities","description":"<p>Create a member activity entry.</p>\n","urlObject":{"protocol":"https","path":["account","{{account_id}}","member_activities"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"654da5c2-fe01-4b4a-8112-4fa4ecd07202"},{"name":"POST Member Activities API - dob validation","id":"336ea580-243f-4632-ac0f-2fa9595c7751","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"cache-control","value":"no-cache"},{"key":"content-type","value":"application/json"},{"key":"sso-access-token","value":"{{auth_token}}"}],"body":{"mode":"raw","raw":"{\n    \"audience_member_id\": 43497191,\n    \"original_id\": 12345678,\n    \"action\": \"validation_attempt\",\n    \"content\": \n        {\n             \"field_name\": \"date_of_birth\", \n             \"input\": \"11-13-1973\",\n             \"success\": true            \n},\n\"activity_date\": \"2020-08-07 06:03:43.178779-07\",\n    \"channel\": \"mobileweb\",\n    \"reference_id\": \"josh12345\"\n}"},"url":"https://{{env}}ms-api.mpulsemobile.com/account/{{account_id}}/member_activities","urlObject":{"protocol":"https","path":["account","{{account_id}}","member_activities"],"host":["{{env}}ms-api","mpulsemobile","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"336ea580-243f-4632-ac0f-2fa9595c7751"}],"id":"45af7398-4e33-4df2-bdf1-8a30ae2f98ee","description":"<p>The Member Activities API is an mPulse-internal only API.</p>\n<p>The GET API returns member activity, primarily for display in Engagement Console's center pane.</p>\n<p>The POST API is used to write to member_activity on ms5prod for external services like Morpheus (Mobile Web).</p>\n<p>Authorization is handled through the SSO token from the Auth Service.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"f9f5df6e-ec4b-4cf2-92d9-52dc0fa166bc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5b513fea-b181-478c-956d-80dbdc889538","type":"text/javascript","exec":[""]}}],"_postman_id":"45af7398-4e33-4df2-bdf1-8a30ae2f98ee"}],"event":[{"listen":"prerequest","script":{"id":"89570e99-e012-4b5a-a368-1c9396d1cd45","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a47ab4e2-3f6f-4400-a153-fe0722fd37ad","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Response time is less than 200ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(200);","});"]}}]}