{"info":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","description":"<html><head></head><body><p>The Mobile Text Alerts API allows Mobile Text Alerts customer to access their account data via HTTPS requests in order to retrieve subscriber information, send messages, and configure advanced features such as smart replies. Version 8 extends and improves upon version 7 by adopting modern REST API best practices and adding endpoints to Create, Read, Update, and Delete addition entities in the MTA ecosystem.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>All protected endpoints use Bearer Token authentication. In order to access these endpoints, the request must include an <code>Authorization</code> header with a value of <code>Bearer myAPIKey</code> where <code>myaAPIKey</code> is the unique access token assigned to your Mobile Text Alerts account.</p>\n<h1 id=\"template-only-sending\">Template-Only Sending</h1>\n<p>If your account is configured for template-only message sending, please use the <a href=\"https://docs.mobile-text-alerts.com/#8a6c8f75-ee31-4af1-8788-2b60353c3fdd\">Controlled Template</a> endpoints to view available templates. When sending or scheduling a message, the send endpoint will compose the message body using the provided <code>templateId</code> for a controlled template and, if required by the template, a provided <code>linkId</code>. Links can be created using the <a href=\"https://docs.mobile-text-alerts.com/#07b764b8-59f7-4bdf-a18e-acf4af15a429\">Create Short Link</a> endpoint.</p>\n<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>All API endpoints have a general rate limit of <code>30</code> requests per minute per IP address. Your rate limit usage can be tracked in the X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset response headers.</p>\n<p>Individual endpoints may override the general rate limit. Some of these endpoints may also use account based rate limiting where the rate limit is determined by the authenticated accounts instead of the IP. This is documented on the individual endpoints.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Template-Only Sending","slug":"template-only-sending"},{"content":"Rate Limiting","slug":"rate-limiting"}],"owner":"14373903","collectionId":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","publishedId":"UVR5q9DU","public":true,"customColor":{"top-bar":"0D4534","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-08-29T18:49:34.000Z"},"item":[{"name":"Account Variables","item":[{"name":"List Account Variables","id":"48b6434c-239e-44f8-96a8-16abf7951005","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/account-variables","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["account-variables"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<id|title|createdAt>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"}],"variable":[]}},"response":[{"id":"5fd3ecd8-94df-426a-a7b3-3d2a03b5febe","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/account-variables?page=0&pageSize=1&sortBy=title&sortDirection=DESC","host":["{{url}}"],"path":["account-variables"],"query":[{"key":"page","value":"0"},{"key":"pageSize","value":"1"},{"key":"sortBy","value":"title"},{"key":"sortDirection","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"ab01d6fe-af72-450a-9ed0-6c6c4c917aac"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"148"},{"key":"ETag","value":"W/\"94-vks/swKtDm1KVMlEz/FOKL01uNE\""},{"key":"Date","value":"Thu, 14 Oct 2021 15:34:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 1,\n                \"title\": \"test\",\n                \"value\": \"example\",\n                \"createdAt\": \"2022-10-05T13:01:59.000Z\",\n                \"updatedAt\": \"2022-10-05T13:01:59.000Z\"\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 1\n    }\n}"}],"_postman_id":"48b6434c-239e-44f8-96a8-16abf7951005"},{"name":"Create Account Variable","id":"a53d7ff2-c6ed-4932-8878-f9d58854b3a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"<string>\",\n    \"value\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/account-variables","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["account-variables"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"7ec9dbaa-b8d2-4a99-8ee3-da38b1e99ffb","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"value\": \"example\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/account-variables"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"eea60f9c-59f7-49a8-9e2e-46c3eb40ca28"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"106"},{"key":"ETag","value":"W/\"6a-lUEJVMDmMytVyQxEe1yWrkVPQWE\""},{"key":"Date","value":"Thu, 14 Oct 2021 17:13:45 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"title\": \"test\",\n        \"value\": \"example\",\n        \"createdAt\": \"2022-10-05T05:00:00.000Z\",\n        \"updatedAt\": \"2022-10-05T05:00:00.000Z\"\n    }\n}"}],"_postman_id":"a53d7ff2-c6ed-4932-8878-f9d58854b3a5"},{"name":"Update Account Variable","id":"27556ca5-7aed-4b0b-ad31-d57ef8fa97bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"<string>\",\n    \"value\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/account-variables/:idOrTitle","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["account-variables",":idOrTitle"],"host":["{{url}}"],"query":[],"variable":[{"id":"c3dc6872-4484-42a6-b335-185e6b06ce6d","description":{"content":"<p>ID or Title</p>\n","type":"text/plain"},"type":"any","value":"test2","key":"idOrTitle"}]}},"response":[{"id":"5132a29e-594e-4fe5-884c-f288882d0f78","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"value\": \"example2\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/account-variables/:idOrTitle","host":["{{url}}"],"path":["account-variables",":idOrTitle"],"variable":[{"key":"idOrTitle","value":"test","description":"ID or Title"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"6558ae52-a282-49d6-a934-1a10c771c803"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"105"},{"key":"ETag","value":"W/\"69-jH/jiLuV3msUpadNcFYV+tQ/qqs\""},{"key":"Date","value":"Thu, 14 Oct 2021 17:17:51 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"title\": \"test\",\n        \"value\": \"example2\",\n        \"createdAt\": \"2022-10-05T13:01:59.000Z\",\n        \"updatedAt\": \"2022-10-05T05:00:00.000Z\"\n    }\n}"}],"_postman_id":"27556ca5-7aed-4b0b-ad31-d57ef8fa97bd"},{"name":"Delete Account Variable","id":"777cfb87-56fa-41a9-b1be-15f5b500cb32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/account-variables/:idOrTitle","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["account-variables",":idOrTitle"],"host":["{{url}}"],"query":[],"variable":[{"id":"72909b50-6ad0-4966-a164-64f84fb2b6d8","description":{"content":"<p>ID or Title</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"idOrTitle"}]}},"response":[{"id":"be0873b0-f16e-4582-bd6f-a24a489337d0","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/account-variables/:idOrTitle","host":["{{url}}"],"path":["account-variables",":idOrTitle"],"variable":[{"key":"idOrTitle","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"8ee6a3f8-63a4-4cbf-9ef2-e418a89bca11"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"47"},{"key":"ETag","value":"W/\"2f-m1wEwtInOp6sMHEX5DeMBcxWkm0\""},{"key":"Date","value":"Thu, 14 Oct 2021 18:37:00 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted account variable.\"\n}"}],"_postman_id":"777cfb87-56fa-41a9-b1be-15f5b500cb32"},{"name":"Get Account Variable","id":"ebd24cf4-dced-49ba-ad5e-feb5dd945fdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/account-variables/:idOrTitle","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["account-variables",":idOrTitle"],"host":["{{url}}"],"query":[],"variable":[{"id":"84cad7ea-9636-44b6-8c8f-cf2286a88fa8","description":{"content":"<p>ID or Title</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"idOrTitle"}]}},"response":[{"id":"42fbc34b-4c44-487f-bc42-4e6d12c3bd04","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/account-variables/:idOrTitle","host":["{{url}}"],"path":["account-variables",":idOrTitle"],"variable":[{"key":"idOrTitle","value":"1","description":"ID or Title"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"eea60f9c-59f7-49a8-9e2e-46c3eb40ca28"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"106"},{"key":"ETag","value":"W/\"6a-lUEJVMDmMytVyQxEe1yWrkVPQWE\""},{"key":"Date","value":"Thu, 14 Oct 2021 17:13:45 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"title\": \"test\",\n        \"value\": \"example2\",\n        \"createdAt\": \"2022-10-05T13:01:59.000Z\",\n        \"updatedAt\": \"2022-10-05T13:20:59.000Z\"\n    }\n}"}],"_postman_id":"ebd24cf4-dced-49ba-ad5e-feb5dd945fdf"}],"id":"da62325d-4c9c-4751-a85c-f88d0a007c6f","_postman_id":"da62325d-4c9c-4751-a85c-f88d0a007c6f","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Controlled Templates","item":[{"name":"Get Controlled Template","id":"a26aeae3-5699-4fb0-a038-7d3050049c2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/controlled-templates/:controlledTemplateId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["controlled-templates",":controlledTemplateId"],"host":["{{url}}"],"query":[],"variable":[{"id":"aeef6787-0ff5-42ac-a448-413ac5966f5f","description":{"content":"<p>Id of Controlled Template to retrieve.</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"controlledTemplateId"}]}},"response":[{"id":"306b8119-cf05-41ba-af4c-041888b1f708","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/controlled-templates/:controlledTemplateId","host":["{{url}}"],"path":["controlled-templates",":controlledTemplateId"],"variable":[{"key":"controlledTemplateId","value":"1","description":"Id of Controlled Template to retrieve."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"43d5ed48-0a0f-4b93-862b-e0f629819bd4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"253"},{"key":"Date","value":"Wed, 30 Mar 2022 17:25:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Welcome Message\",\n        \"message\": \"Welcome to our text alerts! Stay tuned for updates on deals, promotions and events!\",\n        \"requiresLink\": 0,\n        \"type\": \"dispensary\",\n        \"createdAt\": \"2022-03-30T17:03:40.000Z\",\n        \"updatedAt\": \"2022-03-30T17:03:40.000Z\"\n    }\n}"}],"_postman_id":"a26aeae3-5699-4fb0-a038-7d3050049c2b"},{"name":"List Controlled Templates","id":"ce9a636a-880d-40cc-bd54-cc74ffbb70c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/controlled-templates","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["controlled-templates"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<name|message|requiresLink|type|createdAt|updatedAt>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"7636d888-77cb-4fb4-b711-a3eac5a5354c","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/controlled-templates","host":["{{url}}"],"path":["controlled-templates"],"query":[{"key":"page","value":"<number>","type":"text","description":"Specific page number to retrieve","disabled":true},{"key":"pageSize","value":"<number>","type":"text","description":"Number of results per page","disabled":true},{"key":"sortBy","value":"<id|name|message|requiresLink|type|createdAt|updatedAt>","type":"text","description":"Field to sort results by","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","type":"text","description":"Direction to sort results by","disabled":true},{"key":"query","value":"<string>","type":"text","description":"Query to search by","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"921dc286-f813-442c-ab60-6e18f322dca6"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"546"},{"key":"Date","value":"Wed, 30 Mar 2022 18:46:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 1,\n                \"name\": \"Welcome Message\",\n                \"message\": \"Welcome to our text alerts! Stay tuned for updates on deals, promotions and events!\",\n                \"requiresLink\": 0,\n                \"type\": \"dispensary\",\n                \"createdAt\": \"2022-03-30T16:57:34.000Z\",\n                \"updatedAt\": \"2022-03-30T16:57:34.000Z\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Holiday Offer\",\n                \"message\": \"Holiday Deals! Up to 25% off select products. Visit [link] to learn more or stop by today\",\n                \"requiresLink\": 1,\n                \"type\": \"dispensary\",\n                \"createdAt\": \"2022-03-30T17:03:40.000Z\",\n                \"updatedAt\": \"2022-03-30T17:27:37.000Z\"\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 2\n    }\n}"}],"_postman_id":"ce9a636a-880d-40cc-bd54-cc74ffbb70c5"}],"id":"8a6c8f75-ee31-4af1-8788-2b60353c3fdd","_postman_id":"8a6c8f75-ee31-4af1-8788-2b60353c3fdd","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Custom Fields","item":[{"name":"List Custom Fields","id":"39357805-8424-49df-8566-0ecad1ec40fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/custom-fields","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["custom-fields"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<id|name|created>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"}],"variable":[]}},"response":[{"id":"3b3ca0b2-10c2-4353-9ee7-b5d4df6d8e7c","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/custom-fields?page=0&pageSize=1&sortBy=name&sortDirection=DESC","host":["{{url}}"],"path":["custom-fields"],"query":[{"key":"page","value":"0"},{"key":"pageSize","value":"1"},{"key":"sortBy","value":"name"},{"key":"sortDirection","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"ab01d6fe-af72-450a-9ed0-6c6c4c917aac"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"148"},{"key":"ETag","value":"W/\"94-vks/swKtDm1KVMlEz/FOKL01uNE\""},{"key":"Date","value":"Thu, 14 Oct 2021 15:34:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 100,\n                \"accountId\": 1000,\n                \"name\": \"test1\",\n                \"options\": [],\n                \"created\": \"2021-01-01T00:00:00.000Z\"\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 1,\n        \"total\": 2\n    }\n}"}],"_postman_id":"39357805-8424-49df-8566-0ecad1ec40fd"},{"name":"Create Custom Field","id":"8b1308e4-9565-4b21-84ca-0fe5e9cc6c9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"options\": \"<string list>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/custom-fields","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["custom-fields"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"daf22d82-d270-44cc-a7a1-78d39edfdef0","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test2\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/custom-fields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"eea60f9c-59f7-49a8-9e2e-46c3eb40ca28"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"106"},{"key":"ETag","value":"W/\"6a-lUEJVMDmMytVyQxEe1yWrkVPQWE\""},{"key":"Date","value":"Thu, 14 Oct 2021 17:13:45 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 101,\n        \"accountId\": 1000,\n        \"name\": \"test2\",\n        \"options\": [],\n        \"created\": \"2021-01-01T00:00:00.000Z\"\n    }\n}"}],"_postman_id":"8b1308e4-9565-4b21-84ca-0fe5e9cc6c9d"},{"name":"Update Custom Field","id":"d7263019-3879-4a5d-99e2-49b829a571bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"options\": \"<string list>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/custom-fields/:customFieldId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["custom-fields",":customFieldId"],"host":["{{url}}"],"query":[],"variable":[{"id":"3dbbb0b7-1191-4409-96e9-6052c4563c13","description":{"content":"<p>Id of the custom field to update</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"customFieldId"}]}},"response":[{"id":"86824b63-1270-4fe3-8c9c-d443597f83a5","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test2\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/custom-fields/:customFieldId","host":["{{url}}"],"path":["custom-fields",":customFieldId"],"variable":[{"key":"customFieldId","value":"101","description":"Id of custom field to update"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"6558ae52-a282-49d6-a934-1a10c771c803"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"105"},{"key":"ETag","value":"W/\"69-jH/jiLuV3msUpadNcFYV+tQ/qqs\""},{"key":"Date","value":"Thu, 14 Oct 2021 17:17:51 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 101,\n        \"accountId\": 1000,\n        \"name\": \"test2\",\n        \"options\": [],\n        \"created\": \"2021-01-01T00:00:00.000Z\"\n    }\n}"}],"_postman_id":"d7263019-3879-4a5d-99e2-49b829a571bc"},{"name":"Delete Custom Field","id":"d1ce9d07-f381-47a9-9ffa-fd00b457c3a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/custom-fields/:customFieldId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["custom-fields",":customFieldId"],"host":["{{url}}"],"query":[],"variable":[{"id":"3c3f3e28-e5a7-4b9c-bb44-9e67a35cb88f","description":{"content":"<p>Id of custom field to delete</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"customFieldId"}]}},"response":[{"id":"493c7004-51b6-43de-abd6-739a50b7e9ce","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/custom-fields/:customFieldId","host":["{{url}}"],"path":["custom-fields",":customFieldId"],"variable":[{"key":"customFieldId","value":"101","description":"Id of custom field to delete"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"8ee6a3f8-63a4-4cbf-9ef2-e418a89bca11"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"47"},{"key":"ETag","value":"W/\"2f-m1wEwtInOp6sMHEX5DeMBcxWkm0\""},{"key":"Date","value":"Thu, 14 Oct 2021 18:37:00 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted custom field with id 101\"\n}"}],"_postman_id":"d1ce9d07-f381-47a9-9ffa-fd00b457c3a2"},{"name":"Get Custom Field","id":"854c46b9-38fa-4512-a3a9-1d1903d9c0b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/custom-fields/:customFieldIdOrName","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["custom-fields",":customFieldIdOrName"],"host":["{{url}}"],"query":[],"variable":[{"id":"1d055dc1-d1fb-4ecd-87bb-b7238b2cf83a","description":{"content":"<p>Id or name of custom field to retrieve</p>\n","type":"text/plain"},"type":"any","value":"<number|string>","key":"customFieldIdOrName"}]}},"response":[{"id":"31caac22-a18a-432e-a196-f768e59cfd87","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/custom-fields/:customFieldIdOrName","host":["{{url}}"],"path":["custom-fields",":customFieldIdOrName"],"variable":[{"key":"customFieldIdOrName","value":"test2","description":"Id or name of custom field to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"eea60f9c-59f7-49a8-9e2e-46c3eb40ca28"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"106"},{"key":"ETag","value":"W/\"6a-lUEJVMDmMytVyQxEe1yWrkVPQWE\""},{"key":"Date","value":"Thu, 14 Oct 2021 17:13:45 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 101,\n        \"accountId\": 1000,\n        \"name\": \"test2\",\n        \"options\": [],\n        \"created\": \"2021-01-01T00:00:00.000Z\"\n    }\n}"}],"_postman_id":"854c46b9-38fa-4512-a3a9-1d1903d9c0b1"}],"id":"0aa7d7a5-4c20-499a-8a62-0467406c72cb","event":[{"listen":"prerequest","script":{"id":"22d20b85-64e5-4e33-880e-f2fbf8c76c34","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f5578462-bb40-490a-a72b-d2a3b11e366f","type":"text/javascript","exec":[""]}}],"_postman_id":"0aa7d7a5-4c20-499a-8a62-0467406c72cb","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Dedicated Numbers","item":[{"name":"List Dedicated Numbers","id":"0f7b959c-c351-4d89-a3e8-4c1ef73a6c1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/dedicated-numbers","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["dedicated-numbers"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<name|number|created>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"479c5f03-b390-409f-a28e-d60bd495d898","name":"Success","originalRequest":{"method":"GET","header":[]},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"name\": \"Example\",\n                \"created\": \"2022-01-01T01:00:00.000Z\",\n                \"longcodeId\": 1234,\n                \"number\": \"5555555555\",\n                \"tollFree\": 1,\n                \"branded\": 0,\n                \"pending\": 0,\n                \"verified\": 0,\n                \"users\": {}\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 1\n    }\n}"}],"_postman_id":"0f7b959c-c351-4d89-a3e8-4c1ef73a6c1b"}],"id":"f69d2428-dc6e-4a06-8245-002a9066dc83","_postman_id":"f69d2428-dc6e-4a06-8245-002a9066dc83","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Deeplinks","item":[{"name":"Create Deeplink","id":"55a2d00e-bded-4642-9f62-a10364a6b0b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"androidURI\": \"<string>\",\n    \"iosURI\": \"<string>\",\n    \"macURI\": \"<string>\",\n    \"windowsURI\": \"<string>\",\n    \"defaultURI\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/deeplinks","description":"<p><strong>This feature is currently in closed beta</strong>. Please contact your MTA account rep or MTA support for more information.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>androidURI</code>: The deeplink URI for Android.</li>\n<li><code>iosURI</code>: The deeplink URI for iOS.</li>\n<li><code>macURI</code>: The deeplink URI for Mac.</li>\n<li><code>windowsURI</code>: The deeplink URI for Windows.</li>\n<li><code>defaultURI</code>: The default deeplink URI.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful creation, the response will include the <code>deeplinkUrl</code></p>\n<h4 id=\"example\">Example</h4>\n<p>Request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"androidURI\": \"sms:+15555555555?body=Example\",\n  \"iosURI\": \"imessage://imessage@example.com?body=Example\",\n  \"macURI\": \"https://mobile-text-alerts.com/example\",\n  \"windowsURI\": \"https://mobile-text-alerts.com/example\",\n  \"defaultURI\": \"https://mobile-text-alerts.com/example\"\n}\n\n</code></pre>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"deeplinkUrl\": \"https://platform.mobile-text-alerts.com/deeplinks/abc\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["deeplinks"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"377beb4c-a747-492c-9850-ddf2b83d7b00","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"androidURI\": \"sms:+15555555555&body=Example\",\n    \"iosURI\": \"imessage://imessage@example.com&body=Example\",\n    \"macURI\": \"https://mobile-text-alerts.com/example\",\n    \"windowsURI\": \"https://mobile-text-alerts.com/example\",\n    \"defaultURI\": \"https://mobile-text-alerts.com/example\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/deeplinks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"deeplinkUrl\": \"https://platform.mobile-text-alerts.com/deeplinks/abc\"\n}"}],"_postman_id":"55a2d00e-bded-4642-9f62-a10364a6b0b3"},{"name":"Create iMessage Deeplink","id":"e24d6a35-fc4b-4b3d-a530-0b800dbde733","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"longcodeId\": \"<number>\",\n    \"optInMessage\": \"<string>\",\n    \"senderName\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/deeplinks/imessage","description":"<p><strong>This feature is currently in closed beta</strong>. Please contact your MTA account rep or MTA support for more information.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>longcodeId</code>: The id of the longcode.</li>\n<li><code>optInMessage</code>: The opt-in message used to populate the deeplink urls.</li>\n<li><code>senderName</code>: The sender name used to pre-populate the \"To:\" field for iMessage<ul>\n<li>If this field is empty, the sender name associated with the longcode will be used as the default.</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful creation, the response will include the <code>deeplinkUrl</code></p>\n<h4 id=\"example\">Example</h4>\n<p>Request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"longcodeId\": 1337,\n  \"optInMessage\": \"Example\",\n  \"senderName\": \"example@i-msg.co\"\n}\n\n</code></pre>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"deeplinkUrl\": \"https://platform.mobile-text-alerts.com/deeplinks/abc\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["deeplinks","imessage"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"04ef4fb1-37e4-419b-8e49-229a18449a7c","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"longcodeId\": 12345,\n    \"optInMessage\": \"Example\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/deeplinks/imessage"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"deeplinkUrl\": \"https://platform.mobile-text-alerts.com/deeplinks/abc\"\n}"}],"_postman_id":"e24d6a35-fc4b-4b3d-a530-0b800dbde733"}],"id":"b0b900c6-e93a-4c27-9ffe-ba8613ce3e8b","_postman_id":"b0b900c6-e93a-4c27-9ffe-ba8613ce3e8b","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Deliveries","item":[{"name":"List Deliveries","id":"901933b9-69d4-4e81-a4fa-f00cb07445ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/deliveries","description":"<p>List all subscribers and query for subscribers. Includes all subscribers with <code>query</code> value in either first name, last name, number, email, or custom subscriber fields and with <code>filters</code> values in respective categories.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["deliveries"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Specific page number to retrieve</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"disabled":true,"description":{"content":"<p>Number of results per page</p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"},{"disabled":true,"description":{"content":"<p>Field to sort results by</p>\n","type":"text/plain"},"key":"sortBy","value":"<date>"},{"disabled":true,"description":{"content":"<p>Direction to sort results by</p>\n","type":"text/plain"},"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"},{"disabled":true,"key":"filters[startDate]","value":"<YYYY-MM-DD>"},{"disabled":true,"key":"filters[endDate]","value":"<YYYY-MM-DD>"},{"disabled":true,"key":"filters[type]","value":"<sms|mms|tts>"},{"disabled":true,"key":"filters[status]","value":"<sent|delivered|undelivered|undeliverable|unknown|rejected>"}],"variable":[]}},"response":[{"id":"c6292313-71a8-45aa-b4a6-0c4e5718893d","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/deliveries","host":["{{url}}"],"path":["deliveries"],"query":[{"key":"page","value":"<number>","description":"Specific page number to retrieve","disabled":true},{"key":"pageSize","value":"<number>","description":"Number of results per page","disabled":true},{"key":"sortBy","value":"<date>","description":"Field to sort results by","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","description":"Direction to sort results by","disabled":true},{"key":"query","value":"<string>","type":"text","disabled":true},{"key":"filters[startDate]","value":"<YYYY-MM-DD>","type":"text","disabled":true},{"key":"filters[endDate]","value":"<YYYY-MM-DD>","type":"text","disabled":true},{"key":"filters[type]","value":"<sms|mms|tts>","type":"text","disabled":true},{"key":"filters[status]","value":"<sent|delivered|undelivered|undeliverable|unknown|rejected>","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1536"},{"key":"ETag","value":"W/\"600-yaecTIkr+llkskNmV+Sk58GYTog\""},{"key":"Date","value":"Fri, 11 Jun 2021 14:47:35 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"messageId\": 1234567,\n                \"externalId\": \"externalId123\",\n                \"message\": \"This is a an example message\",\n                \"attachment\": \"https://app.mobile-text-alerts.com/uploads/12345678/a7a0d55e558a.jpg\",\n                \"status\": \"delivered\",\n                \"date\": \"2022-03-21T17:08:53.000Z\",\n                \"to\": \"5555555555\",\n                \"from\": \"8888888888\",\n                \"type\": \"sms\"\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 1\n    }\n}"}],"_postman_id":"901933b9-69d4-4e81-a4fa-f00cb07445ab"}],"id":"f12106cb-80e8-48f1-9abc-0f5bcb624467","_postman_id":"f12106cb-80e8-48f1-9abc-0f5bcb624467","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Drip Campaigns","item":[{"name":"Create Drip Campaign","id":"8a672a49-3ca3-485a-ab2e-111a34d8ff3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"<string>\",\r\n    \"endDate\": \"<YYYY-MM-DD HH:mm:ss>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/drip-campaigns","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"72f91d12-17e4-415f-819e-6c6218297f82","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test\",\r\n    \"endDate\": \"2022-01-02 01:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/drip-campaigns"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Created drip campaign 12345.\",\n    \"data\": {\n        \"id\": 12345,\n        \"name\": \"Test\",\n        \"endDate\": \"2022-01-01T20:00:00.000Z\",\n        \"groupIds\": [],\n        \"campaignMessages\": [],\n        \"created\": {\n            \"val\": \"CURRENT_TIMESTAMP\"\n        }\n    }\n}"}],"_postman_id":"8a672a49-3ca3-485a-ab2e-111a34d8ff3a"},{"name":"Delete Drip Campaign","id":"5f81193b-fb5f-4a2c-b96e-47f8d1abecc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/drip-campaigns/:campaignId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns",":campaignId"],"host":["{{url}}"],"query":[],"variable":[{"id":"9149f181-365f-4903-b023-c144f3edff58","description":{"content":"<p>Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"campaignId"}]}},"response":[{"id":"d1fafd34-f008-4b6f-ba00-7975ce99bfe3","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/drip-campaigns/:campaignId","host":["{{url}}"],"path":["drip-campaigns",":campaignId"],"variable":[{"key":"campaignId","value":"12345","description":"Campaign Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted drip campaign 12345.\"\n}"}],"_postman_id":"5f81193b-fb5f-4a2c-b96e-47f8d1abecc8"},{"name":"Get Drip Campaign","id":"edb4e7ec-bef0-40eb-94ff-4352a11fc498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/drip-campaigns/:campaignId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns",":campaignId"],"host":["{{url}}"],"query":[],"variable":[{"id":"c5ab0a09-a1dc-464b-8dbe-0431ee4850fe","description":{"content":"<p>Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"campaignId"}]}},"response":[{"id":"32b05386-111a-4aeb-9437-1510e7623768","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/drip-campaigns/:campaignId","host":["{{url}}"],"path":["drip-campaigns",":campaignId"],"variable":[{"key":"campaignId","value":"12345","description":"Drip Campaign Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 12345,\n        \"name\": \"Test\",\n        \"endDate\": \"2022-01-01T20:00:00.000Z\",\n        \"groupIds\": [],\n        \"campaignMessages\": [],\n        \"created\": \"2021-12-01T20:00:00.000Z\"\n    }\n}"}],"_postman_id":"edb4e7ec-bef0-40eb-94ff-4352a11fc498"},{"name":"List Drip Campaigns","id":"86211398-9614-44cf-8d95-b56d314da585","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/drip-campaigns","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Field to sort results by</p>\n","type":"text/plain"},"key":"sortBy","value":"<id|name|createdAt>"},{"disabled":true,"description":{"content":"<p>Direction to sort results by</p>\n","type":"text/plain"},"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"f3c62255-b8e6-4000-9a7d-b417f774e586","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/drip-campaigns","host":["{{url}}"],"path":["drip-campaigns"],"query":[{"key":"sortBy","value":"<id|name|createdAt>","description":"Field to sort results by","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","description":"Direction to sort results by","disabled":true},{"key":"query","value":"<string>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 12345,\n                \"name\": \"Test\",\n                \"endDate\": \"2022-01-01T20:00:00.000Z\",\n                \"groupIds\": [],\n                \"campaignMessages\": [],\n                \"created\": \"2021-12-01T20:00:00.000Z\"\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 1\n    }\n}"}],"_postman_id":"86211398-9614-44cf-8d95-b56d314da585"},{"name":"Update Drip Campaign","id":"f39bd165-d988-4ee7-8786-c56249771f67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"<string>\",\r\n    \"endDate\": \"<YYYY-MM-DD HH:mm:ss>\"\r\n}"},"url":"{{url}}/drip-campaigns/:campaignId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns",":campaignId"],"host":["{{url}}"],"query":[],"variable":[{"id":"fba9a3c6-7067-419f-ada3-51bc2f0c161a","description":{"content":"<p>Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"campaignId"}]}},"response":[{"id":"acea8168-20ae-41d6-bf1d-f8c978a778a6","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test 2\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/drip-campaigns/:campaignId","host":["{{url}}"],"path":["drip-campaigns",":campaignId"],"variable":[{"key":"campaignId","value":"12345","description":"Campaign Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Updated dripcampaign 12345.\",\n    \"data\": {\n        \"id\": 12345,\n        \"name\": \"Test 2\",\n        \"endDate\": \"2022-01-01T20:00:00.000Z\",\n        \"groupIds\": [],\n        \"campaignMessages\": [],\n        \"created\": \"2021-12-01T20:00:00.000Z\"\n    }\n}"}],"_postman_id":"f39bd165-d988-4ee7-8786-c56249771f67"},{"name":"Clone Drip Campaign","id":"f47aa625-ba1a-4c44-8b87-f3f8c249c9ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{url}}/drip-campaigns/:campaignId/clone","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns",":campaignId","clone"],"host":["{{url}}"],"query":[],"variable":[{"id":"a04f5195-311b-4434-842c-f17e0ce57db6","description":{"content":"<p>Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"campaignId"}]}},"response":[{"id":"853f53f9-67aa-4fa7-9fdd-0574c1a1063e","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{url}}/drip-campaigns/:campaignId/clone","host":["{{url}}"],"path":["drip-campaigns",":campaignId","clone"],"variable":[{"key":"campaignId","value":"12345","description":"Campaign Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Cloned drip campaign 12345.\",\n    \"data\": {\n        \"id\": 12346,\n        \"name\": \"Test (2)\",\n        \"endDate\": \"0000-00-00 00:00:00\",\n        \"groupIds\": [],\n        \"campaignMessages\": [],\n        \"created\": {\n            \"val\": \"CURRENT_TIMESTAMP\"\n        }\n    }\n}"}],"_postman_id":"f47aa625-ba1a-4c44-8b87-f3f8c249c9ed"},{"name":"Start Drip Campaign","id":"85cf2af1-c016-4cd6-8000-58df0a84fe79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupId\": \"<number>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/drip-campaigns/:campaignId/start","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns",":campaignId","start"],"host":["{{url}}"],"query":[],"variable":[{"id":"5367c4c1-fd63-4af1-b8c7-bd92eb410c49","description":{"content":"<p>Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"campaignId"}]}},"response":[{"id":"c0412e81-e4b6-438a-8d1e-9c203eb94917","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupId\": 12345\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/drip-campaigns/:campaignId/start","host":["{{url}}"],"path":["drip-campaigns",":campaignId","start"],"variable":[{"key":"campaignId","value":"12345","description":"Campaign Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Created drip campaign group.\"\n}"}],"_postman_id":"85cf2af1-c016-4cd6-8000-58df0a84fe79"},{"name":"Stop Drip Campaign","id":"8f9ce576-8e3c-493c-ad80-f5c9d6a00198","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"a32af264-79cb-4311-9066-2b7e0a964356","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{url}}/drip-campaigns/:campaignId/stop","host":["{{url}}"],"path":["drip-campaigns",":campaignId","stop"],"variable":[{"key":"campaignId","value":"12345","description":"Campaign Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Deleted drip campaign group.\"\r\n}"}],"_postman_id":"8f9ce576-8e3c-493c-ad80-f5c9d6a00198"},{"name":"Create Drip Campaign Message","id":"5ba7b311-efa1-4528-a2ac-8b8b3e381ac2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"<string>\",\r\n    \"content\": \"<string|null>\",\r\n    \"attachment\": \"<string|null>\",\r\n    \"delay\": \"<number>\",\r\n    \"time\": \"<string>\",\r\n    \"sendImmediately\": \"<boolean>\",\r\n    \"isMms\": \"<0|1>\",\r\n    \"previousId\": \"<number>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/drip-campaigns/:campaignId/messages","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns",":campaignId","messages"],"host":["{{url}}"],"query":[],"variable":[{"id":"1824f429-3b5b-4fd1-ac2f-cc37b73638ae","description":{"content":"<p>Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"campaignId"}]}},"response":[{"id":"f23d1e1c-9b25-4bcb-a018-5e372bc56af6","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Start\",\r\n    \"content\": \"Drip Start\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/drip-campaigns/:campaignId/messages","host":["{{url}}"],"path":["drip-campaigns",":campaignId","messages"],"variable":[{"key":"campaignId","value":"12345"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Created drip campaign message 11111.\",\n    \"data\": {\n        \"id\": 11111,\n        \"accountId\": 123456,\n        \"title\": \"Start\",\n        \"content\": \"Drip Start\",\n        \"attachment\": null,\n        \"added\": {\n            \"val\": \"CURRENT_TIMESTAMP\"\n        },\n        \"sequence\": 0,\n        \"delay\": \"0\",\n        \"timeOfDay\": \"00:00:00\",\n        \"dripCampaignId\": 12345,\n        \"isMms\": 0\n    }\n}"}],"_postman_id":"5ba7b311-efa1-4528-a2ac-8b8b3e381ac2"},{"name":"Update Drip Campaign Message","id":"8907d819-31c5-4561-a019-4fcf14f22673","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"<string>\",\r\n    \"content\": \"<string|null>\",\r\n    \"attachment\": \"<string|null>\",\r\n    \"delay\": \"<number>\",\r\n    \"time\": \"<string>\",\r\n    \"sendImmediately\": \"<boolean>\",\r\n    \"isMms\": \"<0|1>\",\r\n    \"previousId\": \"<number>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/drip-campaigns/:campaignId/messages/:messageId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns",":campaignId","messages",":messageId"],"host":["{{url}}"],"query":[],"variable":[{"id":"bbe741cb-17b6-484b-8349-370c279f0334","description":{"content":"<p>Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"campaignId"},{"id":"1c3b952d-df9b-4e77-9e6c-d4bcd8a711a9","description":{"content":"<p>Message Id</p>\n","type":"text/plain"},"type":"any","value":null,"key":"messageId"}]}},"response":[{"id":"7a897d43-4580-484e-ade8-1ca62cc21119","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"Drip Start 1\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/drip-campaigns/:campaignId/messages/:messageId","host":["{{url}}"],"path":["drip-campaigns",":campaignId","messages",":messageId"],"variable":[{"key":"campaignId","value":"12345"},{"key":"messageId","value":"11111"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Updated drip campaign message 11111.\",\n    \"data\": {\n        \"id\": 11111,\n        \"accountId\": 123456,\n        \"title\": \"Start\",\n        \"content\": \"Drip Start 1\",\n        \"attachment\": null,\n        \"added\": {\n            \"val\": \"CURRENT_TIMESTAMP\"\n        },\n        \"sequence\": 0,\n        \"delay\": \"0\",\n        \"timeOfDay\": \"00:00:00\",\n        \"dripCampaignId\": 12345,\n        \"isMms\": 0\n    }\n}"}],"_postman_id":"8907d819-31c5-4561-a019-4fcf14f22673"},{"name":"Delete Drip Campaign Message","id":"ed8d5280-5841-4d02-97f7-d00a9c31a154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/drip-campaigns/:campaignId/messages/:messageId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["drip-campaigns",":campaignId","messages",":messageId"],"host":["{{url}}"],"query":[],"variable":[{"id":"42a559ff-192e-43ea-9edc-c7b160c8db0c","description":{"content":"<p>Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"campaignId"},{"id":"909b3363-22ca-46d3-8523-1f8a58189ea5","description":{"content":"<p>Message Id</p>\n","type":"text/plain"},"type":"any","value":null,"key":"messageId"}]}},"response":[{"id":"a5c233f8-6bef-4c24-98ee-94a5a9982afc","name":"Success","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"Drip Start 1\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/drip-campaigns/:campaignId/messages","host":["{{url}}"],"path":["drip-campaigns",":campaignId","messages"],"variable":[{"key":"campaignId","value":"12345"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted drip campaign message 11111.\"\n}"}],"_postman_id":"ed8d5280-5841-4d02-97f7-d00a9c31a154"}],"id":"07816129-e64f-4353-ab19-895aa70d00f9","_postman_id":"07816129-e64f-4353-ab19-895aa70d00f9","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Groups","item":[{"name":"Create Group","id":"8b430cb5-db5d-44b3-9828-2cf81a80d178","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"hidden\": \"<number>\",\n    \"displayName\": \"<string>\",\n    \"welcomeMessage\": \"<string>\",\n    \"sortOrder\": \"<number>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/groups","description":"<p>Required fields: <code>name</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["groups"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"779f1d69-9a6d-4585-a8e4-80ea9b197bb8","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"testGroup\",\n    \"hidden\": 0,\n    \"displayName\": \"Test Group\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"2e9cd96a-e933-4be6-ab20-145a5cbfdcd8"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"137"},{"key":"Date","value":"Thu, 11 Nov 2021 22:04:25 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Created group testGroup.\",\n    \"data\": {\n        \"id\": 123,\n        \"name\": \"testGroup\",\n        \"hidden\": 0,\n        \"displayName\": \"Test Group\",\n        \"welcomeMessage\": \"\",\n        \"sortOrder\": null\n    }\n}"}],"_postman_id":"8b430cb5-db5d-44b3-9828-2cf81a80d178"},{"name":"Delete Group","id":"b4bfd16a-e14f-4af0-b60f-e3adc8cf32b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/groups/:groupId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["groups",":groupId"],"host":["{{url}}"],"query":[],"variable":[{"id":"9f395df9-f7c8-466d-bc22-df1297ed5f4f","description":{"content":"<p>Id of group to delete</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"groupId"}]}},"response":[{"id":"2dcad020-154e-4f92-b5ef-cfee7c9d5a37","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/groups/:groupId","host":["{{url}}"],"path":["groups",":groupId"],"variable":[{"key":"groupId","value":"12345"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-guoRH+qIOK/1TXyduS+zKRSNO9w\""},{"key":"Date","value":"Mon, 14 Jun 2021 18:18:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted group with id 12345.\"\n}"}],"_postman_id":"b4bfd16a-e14f-4af0-b60f-e3adc8cf32b2"},{"name":"List Groups","id":"332ee3bc-0296-4528-b34e-a557fa45af84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/groups","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["groups"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<id|name|memberCount>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"9c5e0650-5a69-450b-a276-f88656aa7f19","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/groups","host":["{{url}}"],"path":["groups"],"query":[{"key":"page","value":"<number>","type":"text","disabled":true},{"key":"pageSize","value":"<number>","type":"text","disabled":true},{"key":"sortBy","value":"<id|name|memberCount>","type":"text","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","type":"text","disabled":true},{"key":"query","value":"<string>","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"d5f55e49-5d34-4267-af54-032ff5f92e23"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"658"},{"key":"Date","value":"Fri, 12 Nov 2021 00:14:18 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 111,\n                \"name\": \"testGroup1\",\n                \"hidden\": 0,\n                \"displayName\": null,\n                \"welcomeMessage\": \"\",\n                \"sortOrder\": null,\n                \"memberCount\": 72\n            },\n            {\n                \"id\": 112,\n                \"name\": \"testGroup2\",\n                \"hidden\": 0,\n                \"displayName\": null,\n                \"welcomeMessage\": \"Welcome to test group 2\",\n                \"sortOrder\": null,\n                \"memberCount\": 11\n            },\n            {\n                \"id\": 113,\n                \"name\": \"testGroup3\",\n                \"hidden\": 1,\n                \"displayName\": null,\n                \"welcomeMessage\": \"\",\n                \"sortOrder\": null,\n                \"memberCount\": 20\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 3\n    }\n}"}],"_postman_id":"332ee3bc-0296-4528-b34e-a557fa45af84"},{"name":"Update Group","id":"70d7f109-8e96-45c6-ae51-c0f7a206db98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"hidden\": \"<number>\",\n    \"displayName\": \"<string>\",\n    \"welcomeMessage\": \"<string>\",\n    \"sortOrder\": \"<number>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/groups/:groupId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["groups",":groupId"],"host":["{{url}}"],"query":[],"variable":[{"id":"68d7bee1-0050-48e5-92b1-4d3576e9a304","type":"any","value":"<number>","key":"groupId"}]}},"response":[{"id":"db08b130-2f16-418e-bc4e-6875357a47bf","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"testGroupB\",\n    \"hidden\": 1,\n    \"displayName\": \"Test Group B\",\n    \"welcomeMessage\": \"Welcome to Group B\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/groups/123"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"8fe2cc69-21fa-4eab-9a89-e1331c3a9dca"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"133"},{"key":"Date","value":"Thu, 11 Nov 2021 22:29:27 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Updated group 123.\",\n    \"data\": {\n        \"id\": 123,\n        \"name\": \"testGroupB\",\n        \"hidden\": 1,\n        \"displayName\": \"Test Group B\",\n        \"welcomeMessage\": \"Welcome to Group B\",\n        \"sortOrder\": null\n    }\n}"}],"_postman_id":"70d7f109-8e96-45c6-ae51-c0f7a206db98"},{"name":"Add Group Member","id":"7feb1e18-ed92-40fd-85d2-1f65d5d84ff5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriberId\": \"<number>\",\n    \"addToDripCampaigns\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/groups/:groupId/subscribers","description":"<p>Required Fields: <code>subscriberId</code></p>\n<p>Note: Field <code>addToDripCampaigns</code> is <code>true</code> by default.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["groups",":groupId","subscribers"],"host":["{{url}}"],"query":[],"variable":[{"id":"abee088b-e930-41c8-b509-7eae639ba948","description":{"content":"<p>Id of group to add subscriber to</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"groupId"}]}},"response":[{"id":"154735a0-9122-42ae-aad7-a3dcc6726674","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriberId\": 1234,\n    \"addToDripCampaigns\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/groups/1111"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"e5e3bee8-3b96-4ca6-9067-5661542eefb5"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"Date","value":"Fri, 12 Nov 2021 16:21:26 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Added subscriber 1234 to group 1111.\"\n}"}],"_postman_id":"7feb1e18-ed92-40fd-85d2-1f65d5d84ff5"},{"name":"Delete Group Member","id":"2c71093e-1ee6-44f9-9261-3949f8e86b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/groups/:groupId/subscribers/:subscriberId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["groups",":groupId","subscribers",":subscriberId"],"host":["{{url}}"],"query":[],"variable":[{"id":"d38462cc-edcf-46dc-94f5-9e76ce89d978","description":{"content":"<p>Id of group to delete subscriber from</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"groupId"},{"id":"bdfa4a7f-fe27-4df0-afaf-0fbbfef09124","description":{"content":"<p>Id of subscriber to be deleted</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"subscriberId"}]}},"response":[{"id":"81cdfccc-1d82-4984-96d6-ea0a48b45897","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/groups/:groupId/subscribers/:subscriberId","host":["{{url}}"],"path":["groups",":groupId","subscribers",":subscriberId"],"variable":[{"key":"groupId","value":"1111"},{"key":"subscriberId","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"e075513d-cb00-4f7d-a866-e31e47e9968e"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"60"},{"key":"Date","value":"Fri, 12 Nov 2021 16:34:32 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted subscriber 1234 from group 1111.\"\n}"}],"_postman_id":"2c71093e-1ee6-44f9-9261-3949f8e86b85"},{"name":"Bulk Add Group Members","id":"fd5983e6-4ea3-4dd2-a78d-343c176c3d14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"subscriberIds\": \"<number array>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/groups/:groupId/subscribers/bulk-create","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>5</code> requests per <code>15</code> seconds.</p>\n<h1 id=\"record-limit\">Record Limit</h1>\n<p>This endpoint will accept a maximum of <code>1,000</code> records in a single request.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["groups",":groupId","subscribers","bulk-create"],"host":["{{url}}"],"query":[],"variable":[{"id":"d8ffa201-4284-4834-b522-93c9664f13d4","description":{"content":"<p>Group Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"groupId"}]}},"response":[{"id":"04afdd8a-0c9a-4f9d-ab5c-af0dd513168a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"subscriberIds\": [\r\n        123\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/groups/:groupId/subscribers/bulk-create","host":["{{url}}"],"path":["groups",":groupId","subscribers","bulk-create"],"variable":[{"key":"groupId","value":"12345"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Added 1 subscribers to group 12345.\"\n}"}],"_postman_id":"fd5983e6-4ea3-4dd2-a78d-343c176c3d14"},{"name":"Bulk Remove Group Members","id":"2b3a0a82-84dd-4b3f-8b1b-6a1dd415c25a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"subscriberIds\": \"<number array>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/groups/:groupId/subscribers/bulk-delete","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>5</code> requests per <code>15</code> seconds.</p>\n<h1 id=\"record-limit\">Record Limit</h1>\n<p>This endpoint will accept a maximum of <code>1,000</code> records in a single request.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["groups",":groupId","subscribers","bulk-delete"],"host":["{{url}}"],"query":[],"variable":[{"id":"290f68a8-e419-4e1b-86f5-2f68ec2b8f0c","description":{"content":"<p>Group Id</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"groupId"}]}},"response":[{"id":"9afcf7ab-6d03-4429-8323-bc0ccc1a08a5","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"subscriberIds\": [\r\n        456\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/groups/:groupId/subscribers/bulk-create","host":["{{url}}"],"path":["groups",":groupId","subscribers","bulk-create"],"variable":[{"key":"groupId","value":"12345"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Removed 1 subscribers from group 12345.\"\n}"}],"_postman_id":"2b3a0a82-84dd-4b3f-8b1b-6a1dd415c25a"}],"id":"9babf3a0-ce4e-48c5-a209-29a4b61770ef","_postman_id":"9babf3a0-ce4e-48c5-a209-29a4b61770ef","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Keywords","item":[{"name":"List Keywords","id":"bb25a212-0b5c-4339-aec5-0ad171626f4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/keywords","description":"<p>List all subscribers.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["keywords"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Specific page number to retrieve</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"disabled":true,"description":{"content":"<p>Number of results per page</p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"},{"disabled":true,"description":{"content":"<p>Field to sort results by</p>\n","type":"text/plain"},"key":"sortBy","value":"<keyword|shortcode|destinationGroupId|welcomeMessage>"},{"disabled":true,"description":{"content":"<p>Direction to sort results by</p>\n","type":"text/plain"},"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"description":{"content":"<p>Query to search by</p>\n","type":"text/plain"},"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"1ba98007-08af-427d-b3e7-6614191c781c","name":"List Keywords","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/keywords","host":["{{url}}"],"path":["keywords"],"query":[{"description":"Specific page number to retrieve","key":"page","value":"<number>","disabled":true},{"description":"Number of results per page","key":"pageSize","value":"<number>","disabled":true},{"description":"Field to sort results by","key":"sortBy","value":"<keyword|shortcode|destinationGroupId|welcomeMessage>","disabled":true},{"description":"Direction to sort results by","key":"sortDirection","value":"<ASC|DESC>","disabled":true},{"key":"query","value":"<string>","description":"Query to search by","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"6b75fee0-11dd-473b-aeff-5608143e442b"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"215"},{"key":"ETag","value":"W/\"d7-dD/JuQkZYXW9jGGMx0A4K2FrtQg\""},{"key":"Date","value":"Wed, 16 Jun 2021 19:12:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 12345,\n                \"keyword\": \"TESTKEY\",\n                \"shortcode\": \"11111\",\n                \"destinationGroupId\": 0,\n                \"created\": \"2021-01-01T00:00:00.000Z\",\n                \"nonavidWelcomeMessage\": \"Hey there!\",\n                \"textInNumbers\": [\"<shortcode>\", \"<10-digit-longcode>\"]\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 1\n    }\n}"}],"_postman_id":"bb25a212-0b5c-4339-aec5-0ad171626f4a"},{"name":"Get Keyword","id":"798997ac-0c90-4148-8f0f-51cdb0c37736","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/keywords/:keywordId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["keywords",":keywordId"],"host":["{{url}}"],"query":[],"variable":[{"id":"45b0e616-0cbd-4c05-876f-bf800c828dee","description":{"content":"<p>Id of keyword to retrieve</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"keywordId"}]}},"response":[{"id":"32081d52-1e2d-4122-aceb-03b7a31b4533","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/keywords/:keywordId","host":["{{url}}"],"path":["keywords",":keywordId"],"variable":[{"key":"keywordId","value":"12345","description":"Id of keyword to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"ccd5b954-c8d3-4838-82cd-5c28946057fc"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"215"},{"key":"Date","value":"Wed, 01 Dec 2021 23:39:23 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 12345,\n        \"keyword\": \"TESTKEY\",\n        \"shortcode\": \"11111\",\n        \"destinationGroupId\": 0,\n        \"created\": \"2021-01-01T00:00:00.000Z\",\n        \"nonavidWelcomeMessage\": \"Hey there!\",\n        \"textInNumbers\": [\"<shortcode>\", \"<10-digit-longcode>\"]\n    }\n}"}],"_postman_id":"798997ac-0c90-4148-8f0f-51cdb0c37736"}],"id":"9dba7b34-9fee-4157-96e8-f34aaba7b55f","_postman_id":"9dba7b34-9fee-4157-96e8-f34aaba7b55f","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Links","item":[{"name":"Create Short Link","id":"07b764b8-59f7-4bdf-a18e-acf4af15a429","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"longUrl\": \"<string>\",\n    \"trackingEnabled\": false,\n    \"isMMS\": false,\n    \"ageCheck\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/links/shortlinks","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["links","shortlinks"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"556035d6-0678-445c-b849-198eae4760af","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"longUrl\": \"https://www.example.com/test/long/url\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/links/shortlinks"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"146"},{"key":"ETag","value":"W/\"92-G4OYQtFECgI9gMt+lLBoGdgg/N4\""},{"key":"Date","value":"Fri, 30 Apr 2021 22:01:16 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"created\": \"2021-01-01 11:11:11\",\n        \"longUrl\": \"https://www.example.com/test/long/url\",\n        \"shortUrl\": \"http://mbltxt.com/abc\",\n        \"clicks\": \"0\",\n        \"tags\": []\n    }\n}"}],"_postman_id":"07b764b8-59f7-4bdf-a18e-acf4af15a429"},{"name":"Get Link Clicks","id":"24529291-180e-4be1-ad35-9d99f3db5cd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Content-Length","value":"<calculated when request is sent>","type":"text"}],"url":"{{url}}/links/:linkId/clicks","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["links",":linkId","clicks"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<dateClicked|name|number>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"}],"variable":[{"id":"1cbe91cd-41e5-440b-9057-733e6df6c775","type":"any","value":"<number>","key":"linkId"}]}},"response":[{"id":"5de03103-d176-4193-a679-f80063566447","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{url}}/links/123456/clicks"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Linkclicks 123456 retrieved successfully.\",\n    \"data\": [\n        \"rows\": [\n            {\n                \"date_clicked\": \"2021-06-13T01:07:29.000Z\",\n                \"name\": \"Jonh Doe\",\n                \"number\": \"1234567890\",\n                \"subscriberId\": 123456\n            },\n            {\n                \"date_clicked\": \"2021-06-13T01:00:27.000Z\",\n                \"name\": \"Bill Scott\",\n                \"number\": \"1234567891\",\n                \"subscriberId\": 123457\n            },\n            {\n                \"date_clicked\": \"2021-06-05T01:09:22.000Z\",\n                \"name\": \"Jack Sparrow\",\n                \"number\": \"9093331114\",\n                \"subscriberId\": 123458\n            },\n            {\n                \"date_clicked\": \"2021-08-05T01:09:22.000Z\",\n                \"name\": \"Jack Jilo\",\n                \"number\": \"9093339914\",\n                \"subscriberId\": 123451\n            },\n            {\n                \"date_clicked\": \"2021-09-05T01:09:22.000Z\",\n                \"name\": \"Paul Sparrow\",\n                \"number\": \"9090031114\",\n                \"subscriberId\": 123453\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 10,\n        \"total\": 5\n    ]\n}"}],"_postman_id":"24529291-180e-4be1-ad35-9d99f3db5cd8"},{"name":"Get All Link Clicks","id":"05b20877-9012-4bc9-806a-c44d4c7e02de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Content-Length","value":"<calculated when request is sent>","type":"text"}],"url":"{{url}}/links/:linkId/clicks/all","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["links",":linkId","clicks","all"],"host":["{{url}}"],"query":[],"variable":[{"id":"d20ba5e3-682e-4270-9b2f-43e723724d65","type":"any","value":"<number>","key":"linkId"}]}},"response":[{"id":"d7dcb8fd-5213-4ecb-8556-8eb7fcc21f0f","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{url}}/links/123456/clicks/all"},"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"subscriberId\": 123456\n        },\n        {\n            \"subscriberId\": 123457\n        },\n        {\n            \"subscriberId\": 123458\n        },\n        {\n            \"subscriberId\": 123451\n        },\n        {\n            \"subscriberId\": 123453\n        }\n    ]\n}"}],"_postman_id":"05b20877-9012-4bc9-806a-c44d4c7e02de"}],"id":"4df09f7e-1d84-4fda-b7e2-69eca83ae3cd","event":[{"listen":"prerequest","script":{"id":"ace2db32-77ec-46cb-9dbc-1051d3c897d3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c94f9df4-9a41-461b-99f9-2d0d13901e2d","type":"text/javascript","exec":[""]}}],"_postman_id":"4df09f7e-1d84-4fda-b7e2-69eca83ae3cd","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Scheduled Messages","item":[{"name":"Delete Scheduled Message","id":"a0d61f21-bfd8-4dcf-b171-4a9ad96bc788","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"isMMS\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/scheduled/:scheduledMessageId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["scheduled",":scheduledMessageId"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Id of scheduled message to delete</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"scheduledMessageId"}]}},"response":[{"id":"1e776d73-6aca-44c4-8634-6a8fffdeba40","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/scheduled/:scheduledMessageId","host":["{{url}}"],"path":["scheduled",":scheduledMessageId"],"variable":[{"key":"scheduledMessageId","value":"100","description":"Id of scheduled message to delete"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"cec859a2-9741-4fd2-90b5-31c7f2fc675b"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"48"},{"key":"Date","value":"Wed, 22 Dec 2021 20:53:40 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted scheduled message 100.\"\n}"}],"_postman_id":"a0d61f21-bfd8-4dcf-b171-4a9ad96bc788"},{"name":"Get Scheduled Message","id":"f7482265-767d-4091-9dfb-f06005594b26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/scheduled/:scheduledMessageId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["scheduled",":scheduledMessageId"],"host":["{{url}}"],"query":[],"variable":[{"id":"06c984b6-ebea-449b-9256-8139d6fd1775","description":{"content":"<p>Id of scheduled message to retrieve</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"scheduledMessageId"}]}},"response":[{"id":"3c7b8d56-5d23-498b-80a4-2a83f051b49a","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/scheduled/:scheduledMessageId","host":["{{url}}"],"path":["scheduled",":scheduledMessageId"],"variable":[{"key":"scheduledMessageId","value":"100","description":"Id of scheduled message to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"d28b603a-8686-4e84-83cc-0fdec34dfbbb"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"333"},{"key":"Date","value":"Wed, 22 Dec 2021 20:52:38 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 100,\n        \"accountId\": 1234567,\n        \"numberIds\": [],\n        \"groupIds\": [],\n        \"allSubscribers\": 1,\n        \"message\": \"Merry Christmas!\",\n        \"scheduledDate\": \"2021-12-25T00:00:00.000Z\",\n        \"timestamp\": \"2021-01-01T00:00:00.000Z\",\n        \"repeatMessage\": 0,\n        \"repeatDays\": \"\",\n        \"repeatMonthType\": \"\",\n        \"header\": \"\",\n        \"footer\": \"\",\n        \"threadId\": 9999999,\n        \"filterClicks\": 0,\n        \"isMMS\": false\n    }\n}"}],"_postman_id":"f7482265-767d-4091-9dfb-f06005594b26"},{"name":"List Scheduled Messages","id":"cedc2515-9fd1-4ee1-ad1b-600c4ae8f2c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/scheduled","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["scheduled"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<id|message|recipients|scheduledDate|repeatMessage>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"4393b67f-2477-406b-b050-955f46d55af8","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{url}}/scheduled/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"775"},{"key":"ETag","value":"W/\"307-U5u6wYWqH7nJZkMix3kwjuec6Ew\""},{"key":"Date","value":"Tue, 15 Jun 2021 14:17:32 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 100,\n                \"accountId\": 1234567,\n                \"numberIds\": [],\n                \"groupIds\": [],\n                \"allSubscribers\": 1,\n                \"message\": \"Merry Christmas!\",\n                \"scheduledDate\": \"2021-12-25T00:00:00.000Z\",\n                \"timestamp\": \"2021-01-01T00:00:00.000Z\",\n                \"repeatMessage\": 0,\n                \"repeatDays\": \"\",\n                \"repeatMonthType\": \"\",\n                \"header\": \"\",\n                \"footer\": \"\",\n                \"threadId\": 9999999,\n                \"filterClicks\": 0,\n                \"recipients\": \"All Subscribers\",\n                \"isMMS\": false\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 1\n    }\n}"}],"_postman_id":"cedc2515-9fd1-4ee1-ad1b-600c4ae8f2c5"},{"name":"Update Scheduled Message","id":"79c0cb5c-4c49-4542-993d-ef0101b680b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"message\": \"<string>\",\n    \"scheduledDate\": \"<string>\",\n    \"image\": \"<string>\",\n    \"repeatMessage\": \"<number>\",\n    \"repeatDays\": \"<number list>\",\n    \"repeatMonthType\": \"<string>\",\n    \"header\": \"<string>\",\n    \"footer\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/scheduled/:scheduledMessageId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["scheduled",":scheduledMessageId"],"host":["{{url}}"],"query":[],"variable":[{"id":"4e605ab4-f52e-4708-bf25-18cb6662bd60","description":{"content":"<p>Id of scheduled message to update</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"scheduledMessageId"}]}},"response":[{"id":"ae2c087a-03af-4774-b4cc-177520f8dc0f","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"message\": \"Happy New Year!\",\n    \"scheduledDate\": \"2022-01-01T00:00:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/scheduled/:scheduledMessageId","host":["{{url}}"],"path":["scheduled",":scheduledMessageId"],"variable":[{"key":"scheduledMessageId","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"458"},{"key":"ETag","value":"W/\"1ca-Bcu1CbRzalnEoPqRZ2mdw3JvZNE\""},{"key":"Date","value":"Tue, 15 Jun 2021 14:23:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Updated scheduled message with id 100\",\n    \"data\": {\n        \"id\": 100,\n        \"accountId\": 1234567,\n        \"numberIds\": [],\n        \"groupIds\": [],\n        \"allSubscribers\": 1,\n        \"message\": \"Happy New Year!\",\n        \"scheduledDate\": \"2022-01-01T00:00:00.000Z\",\n        \"timestamp\": \"2021-01-01T00:00:00.000Z\",\n        \"repeatMessage\": 0,\n        \"repeatDays\": \"\",\n        \"repeatMonthType\": \"\",\n        \"header\": \"\",\n        \"footer\": \"\",\n        \"threadId\": 9999999,\n        \"filterClicks\": 0,\n        \"isMMS\": false\n    }\n}"}],"_postman_id":"79c0cb5c-4c49-4542-993d-ef0101b680b1"}],"id":"1c9f091e-89a5-412b-8556-72381f91bfa6","_postman_id":"1c9f091e-89a5-412b-8556-72381f91bfa6","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Send","item":[{"name":"Send Message","id":"878afd1a-2054-4da8-98a9-20cc78ec4e3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\": \"<string>\",\n    \"subscribers\": \"<number|string list>\",\n    \"groups\": \"<number list>\",\n    \"threadId\": \"<number\",\n    \"allSubscribers\": \"<boolean>\",\n    \"image\": \"<string>\",\n    \"rehost\": \"<boolean>\",\n    \"gated\": \"<boolean>\",\n    \"externalId\": \"<string>\",\n    \"scheduledDate\": \"<string>\",\n    \"header\": \"<string>\",\n    \"footer\": \"<string>\",\n    \"properties\": \"<{ [key: string]: string }>\",\n    \"isMMS\": \"<boolean>\",\n    \"repeat\": {\n        \"monday\": \"<boolean>\",\n        \"tuesday\": \"<boolean>\",\n        \"wednesday\": \"<boolean>\",\n        \"thursday\": \"<boolean>\",\n        \"friday\": \"<boolean>\",\n        \"saturday\": \"<boolean>\",\n        \"sunday\": \"<boolean>\",\n        \"type\": \"<week | month>\",\n        \"frequency\": \"<number>\"\n    },\n    \"longcodeId\": \"<number>\",\n    \"senderName\": \"<string>\",\n    \"tags\": \"<{ [key: string]: string }>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/send","description":"<h1 id=\"overview\">Overview</h1>\n<h3 id=\"request-fields\">Request Fields</h3>\n<ul>\n<li><p><code>message: string</code></p>\n<ul>\n<li>The body of the message.</li>\n</ul>\n</li>\n<li><p><code>image: string</code></p>\n<ul>\n<li><p>An attachment for the message in the form of a URL.</p>\n</li>\n<li><p>See <a href=\"#send-as-mms\">Send as MMS</a> for more details.</p>\n</li>\n</ul>\n</li>\n<li><p><code>rehost: boolean</code></p>\n<ul>\n<li><p>An indicator to specify if the attached image should be rehosted by MTA before being sent.</p>\n</li>\n<li><p>See <a href=\"#send-as-mms\">Send as MMS</a> for more details.</p>\n</li>\n</ul>\n</li>\n<li><p><code>gated: boolean</code></p>\n<ul>\n<li><p>A control flag to indicate to Mobile Text Alerts that this message should be sent as a Gated Message. You must have Gated Messaging enabled on your account for this flag to have any effect.</p>\n</li>\n<li><p>If this flag is omitted or explicitly set to false, the message will be sent through the standard messaging routes. If set to <code>true</code> the message will pass through the Gated Message system before sending.</p>\n</li>\n</ul>\n</li>\n<li><p><code>templateId: number</code></p>\n<ul>\n<li>A template id corresponding to the controlled template that should be used as the body of the message.</li>\n</ul>\n</li>\n<li><p><code>linkId: number</code></p>\n<ul>\n<li>If the message content is specified using a <code>templateId</code> and the template includes a link, this field is used to find the correspinding link.</li>\n</ul>\n</li>\n<li><p><code>subscriberIds: number[]</code></p>\n<ul>\n<li>A list of subscriber ids to send the message to.</li>\n</ul>\n</li>\n<li><p><code>subscribers: (number | string)[]</code></p>\n<ul>\n<li>A list of phone numbers and/or emails to send the message to. Phone numbers can be provided in the number or string type.</li>\n</ul>\n</li>\n<li><p><code>allSubscribers: boolean</code></p>\n<ul>\n<li><p>An indicator to send the message to all subscribers if true.</p>\n</li>\n<li><p>Default: <code>false</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><code>groups: number[]</code></p>\n<ul>\n<li>A list of group ids to send the message to.</li>\n</ul>\n</li>\n<li><p><code>threadId: number</code></p>\n<ul>\n<li>A thread id to send the message to.</li>\n</ul>\n</li>\n<li><p><code>isMMS: boolean</code></p>\n<ul>\n<li><p>An indicator to send the message as MMS instead of SMS.</p>\n</li>\n<li><p>Default behavior: False for messages without an attachment. True for messages with an attachment.</p>\n</li>\n<li><p>See <a href=\"#send-as-mms\">Send as MMS</a> for more details.</p>\n</li>\n</ul>\n</li>\n<li><p><code>header: string</code></p>\n<ul>\n<li>A message to include before the message body. A newline will be added between the header and message body.</li>\n</ul>\n</li>\n<li><p><code>footer: string</code></p>\n<ul>\n<li>A message to include at the end of the message body. A space will be added between the message body and footer.</li>\n</ul>\n</li>\n<li><p><code>longcodeId: number</code></p>\n<ul>\n<li>The longcode id corresponding to the dedicated number to send the message from.</li>\n</ul>\n</li>\n<li><p><code>senderName: string</code></p>\n<ul>\n<li>If your account is enabled for iMessage sending, specify your desired sender name using this field.</li>\n</ul>\n</li>\n<li><p><code>externalId: string</code></p>\n<ul>\n<li>An external id to include with the metadata of your message. The <code>externalId</code> will be included in webhook notifications.</li>\n</ul>\n</li>\n<li><p><code>properties: { [key: string]: string }</code></p>\n<ul>\n<li><p>Properties are used to populate the liquid template variables in your message.</p>\n</li>\n<li><p>See <a href=\"#using-properties\">Using Properties</a> for details.</p>\n</li>\n</ul>\n</li>\n<li><p><code>scheduledDate: string</code></p>\n<ul>\n<li><p>The date and time a message should be scheduled to send.</p>\n</li>\n<li><p>Must be in ISO8601 format (eg. \"20230302T173000-0500\").</p>\n</li>\n</ul>\n</li>\n<li><p><code>repeat: IRepeat</code></p>\n<ul>\n<li><p>If a scheduled message should go out repeatedly, <code>repeat</code> indicates how.</p>\n</li>\n<li><p>Default behavior: If <code>repeat</code> is not provided, the scheduled message will not repeat.</p>\n</li>\n<li><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">                      interface IRepeat {      monday: boolean;      tuesday: boolean;      wednesday: boolean;      thursday: boolean;      friday: boolean;      saturday: boolean;      sunday: boolean;,      type: \"week\" | \"month\";      frequency: RepeatFrequency;  }\n  \n</code></pre>\n</li>\n<li><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">                      enum RepeatFrequency {      NEVER = 0,      DAILY = 1,      WEEKLY = 2,      BIWEEKLY = 3,      MONTHLY = 4,      ANNUALLY = 5  }\n  \n</code></pre>\n</li>\n</ul>\n</li>\n<li><p><code>tags</code></p>\n<ul>\n<li>Tags is a map of custom data to be included with your webhook notifications.</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"required-fields\">Required Fields</h3>\n<ul>\n<li><p>Content to Send: One of the following</p>\n<ul>\n<li><p><code>message</code></p>\n</li>\n<li><p><code>image</code></p>\n</li>\n<li><p><code>templateId</code></p>\n</li>\n</ul>\n</li>\n<li><p>Recipients: One of the following</p>\n<ul>\n<li><p><code>subscriberIds</code></p>\n</li>\n<li><p><code>subscribers</code></p>\n</li>\n<li><p><code>allSubscribers</code></p>\n</li>\n<li><p><code>groups</code></p>\n</li>\n<li><p><code>threadId</code></p>\n</li>\n</ul>\n</li>\n<li><p>If <code>templateId</code> is used and corresponds to a template that requires a link, <code>linkId</code> is required.</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The <code>subscribers</code> field is a list of recipient phone numbers or email addresses. If a provided recipient is not already a subscriber on your account, one will be created.</p>\n</li>\n<li><p>Messages will be sent to a subscriber's phone number if one is set, otherwise, the message will be sent to the subscriber via email.</p>\n</li>\n</ul>\n<h1 id=\"features\">Features</h1>\n<h3 id=\"send-to-all-subscribers\">Send to All Subscribers</h3>\n<p>The <code>allSubscribers</code> request field can be set to <code>true</code> in order to send the message to all subscribers. When <code>allSubscribers</code> is set to <code>true</code>, no other recipient fields should be specified.</p>\n<h3 id=\"send-as-mms\">Send as MMS</h3>\n<p>A message with an attachment (<code>image</code>) will be sent as MMS by default. A messages without an attachment will be sent as SMS by default. A message without an attachment can be sent as MMS by setting the <code>isMMS</code> request field to <code>true</code>.</p>\n<p>If the <code>rehost</code> flag is provided and is set to <code>true</code>, the attachment will be rehosted on an MTA server before being sent to the recipients. You may prefer to do this in the event that the recipient isn't receiving your attachment or you simply don't want to host the attachment yourself.</p>\n<h3 id=\"gated-messaging\">Gated Messaging</h3>\n<p>Gated Messaging is a service provided by Mobile Text Alerts that provides an additional layer of identity verification prior to displaying your message content. Your account must be explicitly enabled for Gated Messaging by your Account Manager or Customer Support Agent. Once enabled, you can use the <code>gated</code> boolean flag to indicate whether a given message send should use the Gated Messaging route or your standard messaging routes.</p>\n<h4 id=\"credit-costs\">Credit Costs</h4>\n<ul>\n<li><p>SMS messages cost 1 credit per 160 characters</p>\n</li>\n<li><p>MMS messages cost 3 credits</p>\n</li>\n</ul>\n<h3 id=\"template-only-sending\">Template-Only Sending</h3>\n<ul>\n<li><p>Accounts configured for template-only sending should provide a <code>templateId</code> rather than a message.</p>\n</li>\n<li><p>If the template corresponding to <code>templateId</code> requires a link, a <code>linkId</code> should also be provided.</p>\n</li>\n<li><p>All available controlled templates can be queried via the <a href=\"https://docs.mobile-text-alerts.com/#8a6c8f75-ee31-4af1-8788-2b60353c3fdd\">Controlled Template</a> endpoints.</p>\n</li>\n<li><p>Links can be created using the <a href=\"https://docs.mobile-text-alerts.com/#07b764b8-59f7-4bdf-a18e-acf4af15a429\">Create Short Link</a> endpoint.</p>\n</li>\n</ul>\n<h3 id=\"using-properties\">Using Properties</h3>\n<p>By inserting one or more Liquid Template variables into your message and using the <code>properties</code> field, you can send a unique message to each subscriber with a single API call.</p>\n<p>The <code>properties</code> field is a map between the individual subscribers you're sending your message to, and the values of the variables in your message.</p>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"subscribers\": [\"3175551111\", \"3175552222\"],\n    \"message\": \"Hello {{firstName}}! Visit {{link}}\",\n    \"properties\": {\n        \"3175551111\": {\n            \"firstName\": \"Bob\",\n            \"link\": \"https://example.com/abc\"\n        },\n        \"3175552222\": {\n            \"firstName\": \"Tony\",\n            \"link\": \"https://example.com/def\"\n        }\n    }\n}\n\n</code></pre>\n<h3 id=\"duplicate-requests-idempotency\">Duplicate Requests (Idempotency)</h3>\n<p>The send endpoint is idempotent which means that it handles de-duplicating requests in the event of networking issues or other issues that might cause a request to be in an unknown state.</p>\n<p>When sending your request to the endpoint, simply include an <code>X-Request-Id</code> header with an alphanumeric value. If you're unsure if the request succeeded or not, you can simply re-send the request with the same <code>X-Request-Id</code> and the send endpoint will detect if it's a duplicate or not.</p>\n<p>If the request is a duplicate, you'll receive a <code>409 Conflict</code> error response.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["send"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"8460a951-d960-4582-a41f-ae982595d86f","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"subscribers\": [1112223333],\"message\": \"test1234!\"}","options":{"raw":{"language":"json"}}},"url":"{{url}}/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"91"},{"key":"ETag","value":"W/\"5b-lXgjbIxpZN8wH1xqxo7Rs1QkfNY\""},{"key":"Date","value":"Fri, 23 Apr 2021 14:49:43 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"messageId\": \"uuid\",\n        \"totalSent\": 1,\n        \"totalFailedInternationalRecipients\": 0\n    },\n    \"message\": \"Message Sent to 1 Recipient.\"\n}"},{"id":"89be0c49-9e8f-46ae-b034-c62d6108fe84","name":"Using Properties","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"subscribers\": [1234, 1235],\n    \"message\": \"Hello {{firstName}}! Visit {{link}}\",\n    \"properties\": {\n        \"1234\": {\n            \"firstName\": \"Bob\",\n            \"link\": \"https://example.com/abc\"\n        },\n        \"1235\": {\n            \"firstName\": \"Tony\",\n            \"link\": \"https://example.com/def\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"91"},{"key":"ETag","value":"W/\"5b-lXgjbIxpZN8wH1xqxo7Rs1QkfNY\""},{"key":"Date","value":"Fri, 23 Apr 2021 14:49:43 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"messageId\": \"uuid\",\n        \"totalSent\": 1,\n        \"totalFailedInternationalRecipients\": 0\n    },\n    \"message\": \"Message Sent to 1 Recipient.\"\n}"},{"id":"9b57d253-9603-4e91-bac4-ad46815a9e70","name":"Insufficient Credits Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\": \"test\",\n    \"subscribers\": [1112223333]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/send"},"status":"Payment Required","code":402,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"8960197f-d1c7-4242-8b46-21518762ecf4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"771"},{"key":"ETag","value":"W/\"303-Cm7lZ+SX+hbV+ZLgUUuXoyFsVRU\""},{"key":"Date","value":"Wed, 20 Oct 2021 19:50:48 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"MTAInsufficientCreditsError\",\n    \"message\": \"You do not have enough messages available.\",\n    \"timestamp\": \"Wed Oct 20 2021 14:50:48 GMT-0500\",\n    \"type\": \"insufficient_credits_error\",\n    \"creditsAvailable\": 0,\n    \"creditsRequired\": 1,\n    \"creditCost\": 0.03,\n    \"creditType\": \"sms\",\n    \"minimumCreditPurchase\": 500\n}"},{"id":"a8566366-3987-4805-9a82-bf92e97c56f6","name":"Duplicate Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\": \"test\",\n    \"subscribers\": [1112223333]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/send"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"8960197f-d1c7-4242-8b46-21518762ecf4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"771"},{"key":"ETag","value":"W/\"303-Cm7lZ+SX+hbV+ZLgUUuXoyFsVRU\""},{"key":"Date","value":"Wed, 20 Oct 2021 19:50:48 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"MTAConflictError\",\n    \"message\": \"An error occurred while performing your request. Duplicate request detected.\",\n    \"timestamp\": \"Wed Oct 20 2021 14:50:48 GMT-0500\",\n    \"type\": \"conflict_error\"\n}"}],"_postman_id":"878afd1a-2054-4da8-98a9-20cc78ec4e3e"},{"name":"Get Message Cost","id":"4edfb684-b964-4491-b970-2d47380f6ab5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"from\": \"<string>\",\n    \"to\": \"<string>\",\n    \"message\": \"<string>\",\n    \"isMMS\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/send/cost","description":"<h1 id=\"overview\">Overview</h1>\n<h3 id=\"request-fields\">Request Fields</h3>\n<ul>\n<li><code>from: string</code><ul>\n<li>The phone number used to send the message</li>\n</ul>\n</li>\n<li><code>to: string</code><ul>\n<li>The phone number the message is being sent to</li>\n</ul>\n</li>\n<li><code>message: string</code><ul>\n<li>The contents of the message being sent</li>\n</ul>\n</li>\n<li><code>isMMS: boolean</code><ul>\n<li>An indicator to that the message is an MMS instead of SMS.</li>\n<li>Default behavior: False</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response-fields\">Response Fields</h3>\n<ul>\n<li><p><code>fee: number</code></p>\n<ul>\n<li>The fee for sending the message</li>\n</ul>\n</li>\n<li><p><code>carrierFee: number</code></p>\n<ul>\n<li>The carrier fee for sending the message, when applicable</li>\n</ul>\n</li>\n<li><p><code>totalCost: number</code></p>\n<ul>\n<li>The total cost for sending the message</li>\n</ul>\n</li>\n<li><p><code>messageCredits: number</code></p>\n<ul>\n<li>The number of message credits used for sending the message</li>\n</ul>\n</li>\n<li><p><code>premiumCredits: number</code></p>\n<ul>\n<li>The number of premium credits used for sending the message</li>\n</ul>\n</li>\n<li><p><code>messageCount: number</code></p>\n<ul>\n<li>The number of messages that would be sent</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>The <code>message</code> field can be excluded or left blank to indicate that, when <code>isMMS</code> is true, that the message would be an attachment only.</li>\n<li>The <code>isMMS</code> field can be excluded and will default to <code>false</code>.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["send","cost"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"02bb79dd-d7dc-44c9-8f7e-c3ffd572d511","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"from\": \"+11005555555\",\n    \"to\": \"+12005555555\",\n    \"message\": \"Example\",\n    \"isMMS\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/send/cost"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Feb 2024 18:02:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"112"},{"key":"Connection","value":"keep-alive"},{"key":"X-Request-ID","value":"afa5e92c-9e93-4887-9878-77c34d48685b"},{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"fee\": 0.03,\n        \"carrierFee\": 0.017,\n        \"totalCost\": 0.03,\n        \"messageCredits\": 1,\n        \"premiumCredits\": 0,\n        \"messageCount\": 1\n    }\n}"}],"_postman_id":"4edfb684-b964-4491-b970-2d47380f6ab5"},{"name":"Validate Recipients","id":"789b58e1-9418-402d-a829-d211ef1b3367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"recipients\": \"<{ number?: <number | string}; email?: string; externalId?: number | string}[]>\",\r\n    \"validateUnsubscribes\": \"<boolean>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/send/validate-recipients","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["send","validate-recipients"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"d8d6a57b-693f-48a5-888b-88ceea0af06c","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"recipients\": [\r\n        {\r\n            \"number\": 1112223333,\r\n            \"externalId\": \"VALID: test valid number\"\r\n        },\r\n        {\r\n            \"email\": \"test@example.com\",\r\n            \"externalId\": \"VALID: test valid email\"\r\n        },\r\n        {\r\n            \"number\": \"1234\",\r\n            \"email\": \"test@example.com\",\r\n            \"externalId\": \"INVALID: test invalid number\"\r\n        },\r\n        {\r\n            \"number\": 1112223333,\r\n            \"email\": \"nsdfvadfadf\",\r\n            \"externalId\": \"INVALID: test invalid email\"\r\n        },\r\n        {\r\n            \"externalId\": \"INVALID: test missing email and number\"\r\n        },\r\n        {\r\n            \"number\": 4445556666,\r\n            \"externalId\": \"INVALID: test unsubscribe\"\r\n        }\r\n    ],\r\n    \"validateUnsubscribes\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/send/validate-recipients"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Validated 6 recipients and found 2 valid recipients and 4 invalid recipients.\",\r\n    \"data\": {\r\n        \"validRecipients\": [\r\n            {\r\n                \"number\": 1112223333,\r\n                \"externalId\": \"VALID: test valid number\"\r\n            },\r\n            {\r\n                \"email\": \"test@example.com\",\r\n                \"externalId\": \"VALID: test valid email\"\r\n            }\r\n        ],\r\n        \"invalidRecipients\": [\r\n            {\r\n                \"number\": \"1234\",\r\n                \"email\": \"test@example.com\",\r\n                \"externalId\": \"INVALID: test invalid number\",\r\n                \"error\": \"Given number is not valid.\"\r\n            },\r\n            {\r\n                \"number\": 1112223333,\r\n                \"email\": \"nsdfvadfadf\",\r\n                \"externalId\": \"INVALID: test invalid email\",\r\n                \"error\": \"Given email is not valid.\"\r\n            },\r\n            {\r\n                \"externalId\": \"INVALID: test missing email and number\",\r\n                \"error\": \"Required fields for adding a member are a valid 'number' or 'email'.\"\r\n            },\r\n            {\r\n                \"number\": 4445556666,\r\n                \"externalId\": \"INVALID: test unsubscribe\",\r\n                \"error\": \"Error validating subscriber: that subscriber has opted out of receiving messages. The subscriber can reply UNSTOP to opt back in.\"\r\n            }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"789b58e1-9418-402d-a829-d211ef1b3367"}],"id":"07156d48-8e85-4d21-940a-c9e34dd99d85","event":[{"listen":"prerequest","script":{"id":"f0e2fb90-13e5-4dff-96a0-802d98913090","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dcd7499a-215b-4e46-9bf5-58d480e07618","type":"text/javascript","exec":[""]}}],"_postman_id":"07156d48-8e85-4d21-940a-c9e34dd99d85","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Shortcodes","item":[{"name":"List Shortcodes","id":"cafaf4be-e286-48fe-b095-821b79adf687","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/shortcodes/","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["shortcodes",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"bb1e7591-a572-4322-bccc-970c07ff906c","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{url}}/shortcodes/"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"5764083a-eb14-473f-b1a4-a302c1b69fd5"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"33"},{"key":"ETag","value":"W/\"21-QugoR9HB5+F4VUQ5h1DyI+Dg9lA\""},{"key":"Date","value":"Tue, 22 Jun 2021 16:08:04 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"shortcodes\": [\n            \"99999\"\n        ]\n    }\n}"}],"_postman_id":"cafaf4be-e286-48fe-b095-821b79adf687"}],"id":"ec164341-7f8e-4baf-9b4b-c52120a95818","_postman_id":"ec164341-7f8e-4baf-9b4b-c52120a95818","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Smart Replies","item":[{"name":"Create Smart Reply","id":"69d63431-6876-424a-b84c-3311247e6802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"word\": \"<string>\",\n    \"message\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/smart-replies","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["smart-replies"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"558823d2-8b57-46aa-8e0e-7ce8b611e99a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"word\": \"smart\",\n    \"message\": \"reply\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/smart-replies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"1e25e4a9-2a47-4186-babd-680c68313b7c"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"123"},{"key":"Date","value":"Tue, 14 Dec 2021 18:00:17 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Created smart reply 100.\",\n    \"data\": {\n        \"id\": 100,\n        \"word\": \"smart\",\n        \"message\": \"reply\",\n        \"created\": \"2021-01-01T00:00:00.000Z\"\n    }\n}"}],"_postman_id":"69d63431-6876-424a-b84c-3311247e6802"},{"name":"Delete Smart Reply","id":"a32d19d4-b36f-43a5-a519-83164c1b1fd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/smart-replies/:smartReplyId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["smart-replies",":smartReplyId"],"host":["{{url}}"],"query":[],"variable":[{"id":"584c22e1-2946-48e3-a0d9-94c1d30d3d8a","description":{"content":"<p>Id of Smart Reply to delete</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"smartReplyId"}]}},"response":[{"id":"957b55d5-f258-4c7b-b2bf-26e5813b8a14","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/smart-replies/:smartReplyId","host":["{{url}}"],"path":["smart-replies",":smartReplyId"],"variable":[{"key":"smartReplyId","value":"100","description":"Id of Smart Reply to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"ce0c98ba-2336-4a81-a652-fbe35c2f3180"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"38"},{"key":"Date","value":"Tue, 14 Dec 2021 17:45:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted smart reply 100.\"\n}"}],"_postman_id":"a32d19d4-b36f-43a5-a519-83164c1b1fd7"},{"name":"Get Smart Reply","id":"256a0de0-6cef-4aa0-87b1-370f257c7065","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/smart-replies/:smartReplyId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["smart-replies",":smartReplyId"],"host":["{{url}}"],"query":[],"variable":[{"id":"a6917386-e964-4e62-8f48-8ca232655c8c","description":{"content":"<p>Id of Smart Reply to retrieve</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"smartReplyId"}]}},"response":[{"id":"3059e20f-1638-4128-8d1a-51273dbe323a","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/smart-replies/:smartReplyId","host":["{{url}}"],"path":["smart-replies",":smartReplyId"],"variable":[{"key":"smartReplyId","value":"100","description":"Id of Smart Reply to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"5a9bd03b-aee8-4e58-8ab2-0f5d20a713f6"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"89"},{"key":"Date","value":"Tue, 14 Dec 2021 17:44:27 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 100,\n        \"word\": \"smart\",\n        \"message\": \"reply\",\n        \"created\": \"2021-01-01T00:00:00.000Z\"\n    }\n}"}],"_postman_id":"256a0de0-6cef-4aa0-87b1-370f257c7065"},{"name":"List Smart Replies","id":"0fe5652a-dafe-4900-a7f8-f00dbde9b359","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/smart-replies","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["smart-replies"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<id|word|message|created>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"09702607-28ae-45ae-9f5d-845da66423be","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/smart-replies","host":["{{url}}"],"path":["smart-replies"],"query":[{"key":"page","value":"<number>","type":"text","disabled":true},{"key":"pageSize","value":"<number>","type":"text","disabled":true},{"key":"sortBy","value":"<id|word|message|created>","type":"text","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","type":"text","disabled":true},{"key":"query","value":"<string>","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"c8387f5e-349b-4e48-a4c9-4bea996adcb5"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"133"},{"key":"Date","value":"Tue, 14 Dec 2021 17:21:34 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 100,\n                \"word\": \"smart\",\n                \"message\": \"reply\",\n                \"created\": \"2021-01-01T00:00:00.000Z\"\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 1\n    }\n}"}],"_postman_id":"0fe5652a-dafe-4900-a7f8-f00dbde9b359"},{"name":"Update Smart Reply","id":"40d26b9a-bac1-456c-aec1-5aa5184a66bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"word\": \"<string>\",\n    \"message\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/smart-replies/:smartReplyId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["smart-replies",":smartReplyId"],"host":["{{url}}"],"query":[],"variable":[{"id":"57892ddb-4f63-4b3b-9f52-7fc5afb4a5c3","description":{"content":"<p>Id of Smart Reply to update</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"smartReplyId"}]}},"response":[{"id":"13ca8b5f-603c-4798-b128-91d8c616151d","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"word\": \"smarter\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/smart-replies/:smartReplyId","host":["{{url}}"],"path":["smart-replies",":smartReplyId"],"variable":[{"key":"smartReplyId","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"bb65aef4-f88c-4cfa-be76-56149f484eab"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"128"},{"key":"Date","value":"Tue, 14 Dec 2021 18:04:16 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Updated smart reply 100.\",\n    \"data\": {\n        \"id\": 100,\n        \"word\": \"smarter\",\n        \"message\": \"reply\",\n        \"created\": \"2021-01-01T00:00:00.000Z\"\n    }\n}"}],"_postman_id":"40d26b9a-bac1-456c-aec1-5aa5184a66bb"}],"id":"5be68166-462c-4702-9123-05f282341bef","_postman_id":"5be68166-462c-4702-9123-05f282341bef","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Subscribers","item":[{"name":"Create Subscriber","id":"71c2fb46-b1ab-41c4-a3df-fa81aa32c576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"<string>\",\n    \"lastName\": \"<string>\",\n    \"number\": \"<number>\",\n    \"email\": \"<string>\",\n    \"groupIds\": \"<number list>\",\n    \"subscriberFields\": \"<dictionary: subscriberFieldIds as string keys and data as string values>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/subscribers","description":"<p>Add a new subscriber. If given a phone number or email that already exists tied to the same account, updates the existing subscriber with new information</p>\n<p><em>Required Fields: email or number</em></p>\n<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["subscribers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"db04ae73-471c-4c6a-bba7-678da31e04c4","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"FirstName\",\n    \"lastName\": \"LastName\",\n    \"number\": 1234567890,\n    \"email\": \"test@example.com\",\n    \"groupIds\": [100, 101, 102],\n    \"subscriberFieldIds\": {\n        \"2000\": \"January 1st, 2000\",\n        \"2001\": \"Custom Field Data\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/subscribers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"391"},{"key":"ETag","value":"W/\"187-4ByZgFlgUwxE42RheSifqNHRu1s\""},{"key":"Date","value":"Fri, 11 Jun 2021 15:06:19 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 100,\n        \"firstName\": \"firstName\",\n        \"lastName\": \"lastName\",\n        \"email\": \"test@example.com\",\n        \"number\": 1234567890,\n        \"date\": \"2021-01-01T00:00:00.000Z\",\n        \"countryId\": 0,\n        \"groups\": [\n            {\n                \"id\": 100,\n                \"name\": \"Group A\"\n            },\n            {\n                \"id\": 101,\n                \"name\": \"Group B\"\n            },\n            {\n                \"id\": 102,\n                \"name\": \"Group C\"\n            }\n        ],\n        \"subscriberFieldData\": [\n            {\n                \"id\": 1000,\n                \"subscriberFieldId\": 2000,\n                \"data\": \"January 1st, 2000\"\n            },\n            {\n                \"id\": 1001,\n                \"subscriberFieldId\": 2001,\n                \"data\": \"Custom Field Value\"\n            }\n        ],\n        \"signupMethod\": 3,\n        \"longNumber\": 1234567890\n    }\n}"}],"_postman_id":"71c2fb46-b1ab-41c4-a3df-fa81aa32c576"},{"name":"Delete Subscriber","id":"7bfbb90c-9558-47fb-8c7d-fa0a03c0872f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/subscribers/:idOrNumber","description":"<p>Remove a subscriber. Doesn't check for invalid IDs (returns success but doesn't delete anything for an invalid subscriber ID).</p>\n<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["subscribers",":idOrNumber"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Subscriber Id or Phone Number</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"idOrNumber"},{"type":"any","value":"<number>","key":"subscriberId"}]}},"response":[{"id":"551031fe-2b3b-4133-9cc5-3fbbae085c1e","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/subscribers/:subscriberId","host":["{{url}}"],"path":["subscribers",":subscriberId"],"variable":[{"key":"subscriberId","value":"<number>","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"64"},{"key":"ETag","value":"W/\"40-EQNPmc7+YLAE4yfJMwfwhDmNvfY\""},{"key":"Date","value":"Fri, 11 Jun 2021 15:03:08 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted subscriber with id <number>\"\n}"}],"_postman_id":"7bfbb90c-9558-47fb-8c7d-fa0a03c0872f"},{"name":"Get Subscriber","id":"3a9b8fb7-3026-4435-9c64-f876d737e67e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/subscribers/:idOrNumber","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["subscribers",":idOrNumber"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Subscriber Id Or Phone Number</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"idOrNumber"},{"type":"any","value":"<number>","key":"subscriberId"}]}},"response":[{"id":"b18441b2-a9b8-4a4b-ae65-18fc96c90d6a","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/subscribers/:subscriberId","host":["{{url}}"],"path":["subscribers",":subscriberId"],"variable":[{"key":"subscriberId","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"379"},{"key":"ETag","value":"W/\"17b-iQlqjqZV1/pou+6D/Nz11k54fIo\""},{"key":"Date","value":"Fri, 11 Jun 2021 14:49:09 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 100,\n        \"firstName\": \"firstName\",\n        \"lastName\": \"lastName\",\n        \"email\": \"test@example.com\",\n        \"number\": 1234567890,\n        \"date\": \"2021-01-01T00:00:00.000Z\",\n        \"countryId\": 0,\n        \"groupIds\": [\n            100,\n            101,\n            102\n        ],\n        \"subscriberFieldData\": [\n            {\n                \"id\": 1000,\n                \"subscriberFieldId\": 2000,\n                \"data\": \"January 1st, 2000\"\n            },\n            {\n                \"id\": 1001,\n                \"subscriberFieldId\": 2001,\n                \"data\": \"Custom Field Value\"\n            }\n        ],\n        \"signupMethod\": 3,\n        \"longNumber\": 1234567890\n    }\n}"}],"_postman_id":"3a9b8fb7-3026-4435-9c64-f876d737e67e"},{"name":"List Subscribers","id":"b65d9768-aba7-401f-9794-9b668e4c1380","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/subscribers","description":"<p>List all subscribers and query for subscribers. Includes all subscribers with <code>query</code> value in either first name, last name, number, email, or custom subscriber fields and with <code>filters</code> values in respective categories.</p>\n<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["subscribers"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Specific page number to retrieve</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"disabled":true,"description":{"content":"<p>Number of results per page</p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"},{"disabled":true,"description":{"content":"<p>Field to sort results by</p>\n","type":"text/plain"},"key":"sortBy","value":"<id|firstName|lastName|email|number|date|countryId>"},{"disabled":true,"description":{"content":"<p>Direction to sort results by</p>\n","type":"text/plain"},"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"},{"disabled":true,"key":"filters[groupId]","value":"<number>"},{"disabled":true,"key":"filters[date]","value":"<string>"},{"disabled":true,"key":"filters[signupMethod]","value":"<number>"},{"disabled":true,"key":"filters[countryId]","value":"<number>"}],"variable":[]}},"response":[{"id":"ee68afa2-93a4-40e9-8afe-6913a3e49b4c","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/subscribers","host":["{{url}}"],"path":["subscribers"],"query":[{"key":"page","value":"<number>","description":"Specific page number to retrieve","disabled":true},{"key":"pageSize","value":"<number>","description":"Number of results per page","disabled":true},{"key":"sortBy","value":"<firstName|lastName|email|number>","description":"Field to sort results by","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","description":"Direction to sort results by","disabled":true},{"key":"query","value":"<string>","disabled":true},{"key":"filters[groupId]","value":"<number>","disabled":true},{"key":"filters[date]","value":"<string>","disabled":true},{"key":"filters[signupMethod]","value":"<number>","disabled":true},{"key":"filters[countryId]","value":"<number>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1536"},{"key":"ETag","value":"W/\"600-yaecTIkr+llkskNmV+Sk58GYTog\""},{"key":"Date","value":"Fri, 11 Jun 2021 14:47:35 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 100,\n                \"firstName\": \"firstName\",\n                \"lastName\": \"lastName\",\n                \"email\": \"test@example.com\",\n                \"number\": 1234567890,\n                \"date\": \"2021-01-01T00:00:00.000Z\",\n                \"countryId\": 0,\n                \"groups\": [\n                    {\n                        \"id\": 100,\n                        \"name\": \"Group A\"\n                    },\n                    {\n                        \"id\": 101,\n                        \"name\": \"Group B\"\n                    },\n                    {\n                        \"id\": 102,\n                        \"name\": \"Group C\"\n                    }\n                ],\n                \"subscriberFieldData\": [\n                    {\n                        \"id\": 1000,\n                        \"subscriberFieldId\": 2000,\n                        \"data\": \"January 1st, 2000\"\n                    },\n                    {\n                        \"id\": 1001,\n                        \"subscriberFieldId\": 2001,\n                        \"data\": \"Custom Field Value\"\n                    }\n                ],\n                \"signupMethod\": 3,\n                \"longNumber\": 11234567890\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 1\n    }\n}"},{"id":"a6a86c17-6101-4c99-85c9-d5dd1d0f782a","name":"Query and Filters Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/subscribers?query=January&filters[signupMethod]=5","host":["{{url}}"],"path":["subscribers"],"query":[{"key":"page","value":"<number>","description":"Specific page number to retrieve","disabled":true},{"key":"pageSize","value":"<number>","description":"Number of results per page","disabled":true},{"key":"sortBy","value":"<firstName|lastName|email|number>","description":"Field to sort results by","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","description":"Direction to sort results by","disabled":true},{"key":"query","value":"January"},{"key":"filters[groupId]","value":"<number>","disabled":true},{"key":"filters[date]","value":"<string>","disabled":true},{"key":"filters[signupMethod]","value":"5"},{"key":"filters[countryId]","value":"<number>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"754"},{"key":"ETag","value":"W/\"2f2-ZVoq6taoT6987n3kmLhiGVRRexU\""},{"key":"Date","value":"Fri, 11 Jun 2021 15:08:58 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 100,\n                \"firstName\": \"firstName\",\n                \"lastName\": \"lastName\",\n                \"email\": \"test@example.com\",\n                \"number\": 1234567890,\n                \"date\": \"2021-01-01T00:00:00.000Z\",\n                \"countryId\": 0,\n                \"groups\": [\n                    {\n                        \"id\": 100,\n                        \"name\": \"Group A\"\n                    },\n                    {\n                        \"id\": 101,\n                        \"name\": \"Group B\"\n                    },\n                    {\n                        \"id\": 102,\n                        \"name\": \"Group C\"\n                    }\n                ],\n                \"subscriberFieldData\": [\n                    {\n                        \"id\": 1000,\n                        \"subscriberFieldId\": 2000,\n                        \"data\": \"January 1st, 2000\"\n                    },\n                    {\n                        \"id\": 1001,\n                        \"subscriberFieldId\": 2001,\n                        \"data\": \"Custom Field Value\"\n                    }\n                ],\n                \"signupMethod\": 3,\n                \"longNumber\": 11234567890\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 1\n    }\n}"}],"_postman_id":"b65d9768-aba7-401f-9794-9b668e4c1380"},{"name":"Update Subscriber","id":"eb9705fa-d6a9-4038-ae26-10a3c5ece136","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"<string>\",\n    \"lastName\": \"<string>\",\n    \"number\": \"<number>\",\n    \"email\": \"<string>\",\n    \"groupIds\": \"<number list>\",\n    \"subscriberFields\": \"<dictionary: subscriberFieldIds as string keys and data as string values>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/subscribers/:idOrNumber","description":"<p>Update details of a specific subscriber. If a field isn't specified, then original value is retained except for <code>groups</code>. For <code>groups</code>: the subscriber will be added as a member to the groups specified and removed from all other groups. If given a phone number or email that already exists, returns <code>success: false</code>.</p>\n<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["subscribers",":idOrNumber"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Subscriber Id or Phone Number</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"idOrNumber"},{"type":"any","value":"<number>","key":"subscriberId"}]}},"response":[{"id":"e27c74b1-730f-4a6b-9fc5-f4cdedffb823","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"First\",\n    \"lastName\": \"Last\",\n    \"number\": 1111111111,\n    \"email\": \"test2@example.com\",\n    \"groupIds\": [101],\n    \"subscriberFieldIds\": {\n        \"2000\": \"New Value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/subscribers/:subscriberId","host":["{{url}}"],"path":["subscribers",":subscriberId"],"variable":[{"key":"subscriberId","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"414"},{"key":"ETag","value":"W/\"19e-cBE9eg3gAuHvtIBmmi7VHLzsSc8\""},{"key":"Date","value":"Fri, 11 Jun 2021 14:55:04 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Updated subscriber with number 1111111111 and email test2@example.com\",\n    \"data\": {\n        \"id\": 100,\n        \"firstName\": \"First\",\n        \"lastName\": \"Last\",\n        \"email\": \"test@example.com\",\n        \"number\": 1111111111,\n        \"date\": \"2021-01-01T00:00:00.000Z\",\n        \"countryId\": 0,\n        \"groups\": [\n            {\n                \"id\": 101,\n                \"name\": \"Group B\"\n            }\n        ],\n        \"subscriberFieldData\": [\n            {\n                \"id\": 1000,\n                \"subscriberFieldId\": 2000,\n                \"data\": \"New Value\"\n            },\n            {\n                \"id\": 1001,\n                \"subscriberFieldId\": 2001,\n                \"data\": \"Custom Field Value\"\n            }\n        ],\n        \"signupMethod\": 3,\n        \"longNumber\": 11111111111\n    }\n}"}],"_postman_id":"eb9705fa-d6a9-4038-ae26-10a3c5ece136"},{"name":"Bulk Create Subscribers","id":"97e66e2c-727c-4da3-a4a4-e0f5a6e70382","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"number\": \"<number>\",\n        \"email\": \"<string>\",\n        \"groupIds\": \"<number list>\",\n        \"subscriberFields\": \"<dictionary: subscriberFieldIds as string keys and data as string values>\"\n    }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/subscribers/bulk?createOnly=<boolean>","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n<h1 id=\"record-limit\">Record Limit</h1>\n<p>This endpoint will accept a maximum of <code>1,000</code> records in a single request. Records of subscribers should be in an array. The <code>createOnly</code> field indicates if the action is creating new subscribers only (doesn't accept records of existing subscribers) or the action is creating or updating (accept records of existing subscribers and update info according to the reords).</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["subscribers","bulk"],"host":["{{url}}"],"query":[{"key":"createOnly","value":"<boolean>"}],"variable":[]}},"response":[{"id":"0f4b3502-19c8-4a86-908d-52fcb10a18ea","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"firstName\": \"FirstName\",\n        \"lastName\": \"LastName\",\n        \"number\": 1234567890,\n        \"email\": \"test@example.com\",\n        \"groupIds\": [100, 101, 102],\n        \"subscriberFieldIds\": {\n            \"2000\": \"January 1st, 2020\",\n            \"2001\": \"Custom Field Data\"\n        }\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{url}}/subscribers/bulk"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Created subscribers.\",\n    \"data\": {\n        \"totalRecordCount\": 3,\n        \"createdRecordCount\": 3,\n        \"errorRecordCount\": 0,\n        \"createdRecords\": [\n            {\n                \"id\": 100,\n                \"firstName\": \"firstName\",\n                \"lastName\": \"lastName\",\n                \"email\": \"test@example.com\",\n                \"number\": 1234567890,\n                \"date\": \"2021-01-01T00:00:00.000Z\",\n                \"countryId\": 0,\n                \"groups\": [\n                    {\n                        \"id\": 100,\n                        \"name\": \"Group A\"\n                    },\n                    {\n                        \"id\": 101,\n                        \"name\": \"Group B\"\n                    },\n                    {\n                        \"id\": 102,\n                        \"name\": \"Group C\"\n                    }\n                ],\n                \"subscriberFieldData\": [\n                    {\n                        \"id\": 1000,\n                        \"subscriberFieldId\": 2000,\n                        \"data\": \"January 1st, 2000\"\n                    },\n                    {\n                        \"id\": 1001,\n                        \"subscriberFieldId\": 2001,\n                        \"data\": \"Custom Field Value\"\n                    }\n                ],\n                \"signupMethod\": 3,\n                \"longNumber\": 1234567890\n            }\n        ],\n        \"errorRecords\": []\n    }\n}"}],"_postman_id":"97e66e2c-727c-4da3-a4a4-e0f5a6e70382"},{"name":"Bulk Update Subscribers","id":"2e8c35e1-f13b-4b61-ad3d-6d9cb8dca349","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": \"<number>\",\n        \"phoneNumber\": \"<string>\",\n        \"email\": \"<string>\",\n        \"record\": {\n            \"firstName\": \"<string>\",\n            \"lastName\": \"<string>\",\n            \"number\": \"<number>\",\n            \"email\": \"<string>\",\n            \"groupIds\": \"<number list>\",\n            \"subscriberFields\": \"<dictionary: subscriberFieldIds as string keys and data as string values>\"\n        }\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{url}}/subscribers/bulk","description":"<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to <code>15</code> requests per <code>15</code> seconds.</p>\n<h1 id=\"record-limit\">Record Limit</h1>\n<p>This endpoint will accept a maximum of <code>1,000</code> records in a single request.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["subscribers","bulk"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"b26ca00e-4aa9-468c-a845-0b401fa778cb","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": 1,\n        \"record\": {\n            \"firstName\": \"Test\"\n        }\n    },\n    {\n        \"phoneNumber\": \"3175555555\",\n        \"record\": {\n            \"lastName\": \"Example\"\n        }\n    },\n    {\n        \"email\": \"test@example.com\",\n        \"record\": {\n            \"number\": \"3175551234\"\n        }\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{url}}/subscribers/bulk"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Updated subscribers.\",\n    \"data\": {\n        \"totalRecordCount\": 3,\n        \"updatedRecordCount\": 3,\n        \"errorRecordCount\": 0,\n        \"updatedRecords\": [\n            {\n                \"id\": 1,\n                \"record\": {\n                    \"id\": 1,\n                    \"firstName\": \"Test\",\n                    \"lastName\": \"Testers\",\n                    \"email\": \"\",\n                    \"number\": 3175551212,\n                    \"date\": \"2021-12-02T17:05:13.000Z\",\n                    \"countryId\": 0,\n                    \"groups\": [],\n                    \"subscriberFieldData\": [],\n                    \"signupMethod\": 1,\n                    \"longNumber\": 13175551212\n                }\n            },\n            {\n                \"phoneNumber\": \"3175555555\",\n                \"record\": {\n                    \"id\": 2,\n                    \"firstName\": \"Test\",\n                    \"lastName\": \"Example\",\n                    \"email\": \"\",\n                    \"number\": 3175555555,\n                    \"date\": \"2022-02-21T22:11:18.000Z\",\n                    \"countryId\": null,\n                    \"groups\": [],\n                    \"subscriberFieldData\": [],\n                    \"signupMethod\": 1,\n                    \"longNumber\": 13175555555\n                }\n            },\n            {\n                \"email\": \"test@example.com\",\n                \"record\": {\n                    \"id\": 3,\n                    \"firstName\": \"Test\",\n                    \"lastName\": \"Testing\",\n                    \"email\": \"test@example.com\",\n                    \"number\": 3175551234,\n                    \"date\": \"2022-02-21T22:11:18.000Z\",\n                    \"countryId\": null,\n                    \"groups\": [],\n                    \"subscriberFieldData\": [],\n                    \"signupMethod\": 1,\n                    \"longNumber\": 13175551234\n                }\n            }\n        ],\n        \"errorRecords\": []\n    }\n}"}],"_postman_id":"2e8c35e1-f13b-4b61-ad3d-6d9cb8dca349"}],"id":"46f6c4e6-5834-4ee9-a6e3-4c7e20900f13","event":[{"listen":"prerequest","script":{"id":"6169787b-25b3-436c-881e-c6ed7da5fc52","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"678f314d-647e-4fbb-b6c7-fa812b0480ca","type":"text/javascript","exec":[""]}}],"_postman_id":"46f6c4e6-5834-4ee9-a6e3-4c7e20900f13","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Templates","item":[{"name":"List Templates","id":"64f75681-465f-4baa-89b6-c595e0483aaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/templates","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["templates"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<id|name|message|timestamp>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"3a048898-838f-42fe-9e80-87981d32f791","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/templates?page=2&pageSize=2&sortBy=id&sortDirection=desc","host":["{{url}}"],"path":["templates"],"query":[{"key":"page","value":"2"},{"key":"pageSize","value":"2"},{"key":"sortBy","value":"id"},{"key":"sortDirection","value":"desc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"203"},{"key":"ETag","value":"W/\"cb-mnVNKr1ksxzRN+MQNXiZpFKF548\""},{"key":"Date","value":"Thu, 29 Apr 2021 21:29:11 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 123,\n                \"name\": \"MMS\",\n                \"message\": \"Here's a picture!\",\n                \"timestamp\": \"2021-01-01T00:00:00.000Z\",\n                \"attachment\": \"image.jpg\",\n                \"mms\": true\n            }\n        ],\n        \"page\": 2,\n        \"pageSize\": 2,\n        \"total\": 3\n    }\n}"}],"_postman_id":"64f75681-465f-4baa-89b6-c595e0483aaa"},{"name":"Create Template","id":"e9012bde-4cde-456f-a524-71cb80943753","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"message\": \"<string>\",\n    \"attachment\": \"<string>\",\n    \"isMMS\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/templates","description":"<p>Required Fields: <code>message</code></p>\n<p>Defaults:\n<code>isMMS</code> will default to false and a regular sms template will be created unless an <code>attachment</code> is provided. If <code>name</code> is not provided, up to the first 32 characters of the message will be used as the name.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["templates"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"6d485e4a-a55a-4252-82b0-488d63617621","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"New Template\",\n    \"message\": \"This is a template message\",\n    \"isMMS\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/templates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"311304be-4cb9-4baf-8e81-1c3ffd6418c9"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"166"},{"key":"Date","value":"Tue, 23 Nov 2021 17:27:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Created template 123.\",\n    \"data\": {\n        \"id\": 123,\n        \"name\": \"New Template\",\n        \"message\": \"This is a template message\",\n        \"timestamp\": \"2021-01-01T00:00:00.000Z\",\n        \"mms\": true\n    }\n}"}],"_postman_id":"e9012bde-4cde-456f-a524-71cb80943753"},{"name":"Delete Template","id":"a76d3228-36d7-4d4b-8deb-a1e01876dea9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"isMMS\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/templates/:templateId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["templates",":templateId"],"host":["{{url}}"],"query":[],"variable":[{"id":"2e64516f-44a0-4903-aab7-26480c4014c2","description":{"content":"<p>Id of template to delete</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"templateId"}]}},"response":[{"id":"029acc23-179c-4e52-9a2c-953e9573ec88","name":"Success","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"isMMS\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/templates/:templateId","host":["{{url}}"],"path":["templates",":templateId"],"variable":[{"key":"templateId","value":"123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"75"},{"key":"ETag","value":"W/\"4b-Erf4XQvKb1s4uIvNCixFsBlM5Js\""},{"key":"Date","value":"Tue, 15 Jun 2021 17:52:25 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted template 123.\"\n}"}],"_postman_id":"a76d3228-36d7-4d4b-8deb-a1e01876dea9"},{"name":"Get Template","id":"b5559637-7c23-480d-a52c-1ba4e3de99b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/templates/:templateId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["templates",":templateId"],"host":["{{url}}"],"query":[{"disabled":true,"key":"isMMS","value":"<boolean>"}],"variable":[{"id":"91b43714-d815-4729-8f83-12e30cba8887","description":{"content":"<p>Id of template to delete</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"templateId"}]}},"response":[{"id":"588a226b-0e33-43c5-8970-46d1f070be18","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/templates/:templateId?isMMS=true","host":["{{url}}"],"path":["templates",":templateId"],"query":[{"key":"isMMS","value":"true","type":"text"}],"variable":[{"key":"templateId","value":"123","description":"Id of template to delete"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"e9906093-eea7-47d3-9ff3-037b768c59fa"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"112"},{"key":"Date","value":"Tue, 23 Nov 2021 18:56:46 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"name\": \"New Template\",\n        \"message\": \"This is a template message\",\n        \"timestamp\": \"2021-01-01T00:00:00.000Z\",\n        \"mms\": true\n    }\n}"}],"_postman_id":"b5559637-7c23-480d-a52c-1ba4e3de99b1"},{"name":"Update Template","id":"c2e5768c-ab62-4e29-9564-7af6fdeca31c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"message\": \"<string>\",\n    \"attachment\": \"<string>\",\n    \"isMMS\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/templates/:templateId","description":"<p>Required Fields: <code>message</code></p>\n<p>Defaults:\n<code>isMMS</code> will default to false and a regular sms template will be created unless an <code>attachment</code> is provided. If <code>name</code> is not provided, up to the first 32 characters of the message will be used as the name.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["templates",":templateId"],"host":["{{url}}"],"query":[],"variable":[{"id":"ddcd29ae-e3da-441f-94f6-5d12b7144c38","type":"any","value":"<number>","key":"templateId"}]}},"response":[{"id":"576f46c3-d6b3-483c-8edd-a1c23c654c84","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Updated Template\",\n    \"message\": \"This is an updated template message\",\n    \"isMMS\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/templates/:templateId","host":["{{url}}"],"path":["templates",":templateId"],"variable":[{"key":"templateId","value":"123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"3c09b140-13c4-45ff-90cf-a524443b9f95"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"197"},{"key":"Date","value":"Tue, 23 Nov 2021 18:31:05 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Updated template 123.\",\n    \"data\": {\n        \"id\": 123,\n        \"name\": \"Updated Template\",\n        \"message\": \"This is an updated template message\",\n        \"timestamp\": \"2021-01-01T00:00:00.000Z\",\n        \"attachment\": null,\n        \"mms\": true\n    }\n}"}],"_postman_id":"c2e5768c-ab62-4e29-9564-7af6fdeca31c"}],"id":"d93b639d-26f1-4ec1-9c48-de7f375977b5","event":[{"listen":"prerequest","script":{"id":"059aa457-1cdf-4219-8d1a-082de8ac123b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"10ef9e52-f211-491f-bd55-46cad13f5280","type":"text/javascript","exec":[""]}}],"_postman_id":"d93b639d-26f1-4ec1-9c48-de7f375977b5","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Threads","item":[{"name":"Get Thread","id":"0f257202-055f-477e-956b-a072399fdf53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/threads/:threadId","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["threads",":threadId"],"host":["{{url}}"],"query":[],"variable":[{"id":"e30ab70d-0c88-46f3-94ef-3d4457c340aa","description":{"content":"<p>Id of thread to retrieve</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"threadId"}]}},"response":[{"id":"bb82fab4-7f5f-47ec-8469-dcc184a0f957","name":"Success (All Subscribers Thread)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/threads/:threadId","host":["{{url}}"],"path":["threads",":threadId"],"variable":[{"key":"threadId","value":"12345"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"11b32601-ff4b-4394-981b-1649e9dc476b"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-Ma/OHC7CllBsoBOmCKZGo1vXlZQ\""},{"key":"Date","value":"Wed, 07 Apr 2021 20:06:12 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 12345,\n        \"name\": \"All Subscribers\",\n        \"allSubscribers\": true,\n        \"groups\": [\n            \"all\"\n        ],\n        \"subscribers\": []\n    }\n}"},{"id":"c91059d5-8a93-4178-bf96-b52875a02033","name":"Success (Specific Groups Thread)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/threads/:threadId","host":["{{url}}"],"path":["threads",":threadId"],"variable":[{"key":"threadId","value":"12346"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"e8ead63c-53fa-4c51-9c28-86f21cd984fd"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"105"},{"key":"ETag","value":"W/\"69-CKVLWz18koMEGoneFrEaFhoznIc\""},{"key":"Date","value":"Wed, 07 Apr 2021 20:08:57 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 12346,\n        \"name\": \"Community Group\",\n        \"allSubscribers\": false,\n        \"groups\": [\n            101\n        ],\n        \"subscribers\": []\n    }\n}"},{"id":"6832078d-e25c-4c5f-81c3-16ae61606f1a","name":"Success (Specific Subscribers Thread)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/threads/:threadId","host":["{{url}}"],"path":["threads",":threadId"],"variable":[{"key":"threadId","value":"12347"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"963dc130-edb0-4f79-a158-c2f76be97554"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"112"},{"key":"ETag","value":"W/\"70-pQcORJOn4Pcc65F3BhiTM7cZzzA\""},{"key":"Date","value":"Wed, 07 Apr 2021 20:09:47 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 12347,\n        \"name\": \"1231231234\",\n        \"allSubscribers\": false,\n        \"groups\": [],\n        \"subscribers\": [\n            \"1231231234\"\n        ]\n    }\n}"}],"_postman_id":"0f257202-055f-477e-956b-a072399fdf53"},{"name":"Get Thread Items","id":"f6c164d9-44f1-4053-88aa-bf7b48ddbddf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/threads/:threadId/items","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["threads",":threadId","items"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>True to include scheduled messages, defaults to false</p>\n","type":"text/plain"},"key":"getScheduled","value":"<boolean>"},{"disabled":true,"description":{"content":"<p>Number of results per page</p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"},{"disabled":true,"description":{"content":"<p>Page number to retrieve</p>\n","type":"text/plain"},"key":"page","value":"<number>"}],"variable":[{"description":{"content":"<p>Id of thread to retrieve</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"threadId"}]}},"response":[{"id":"e63f1d1c-3fcb-42df-9bc1-6ec589c6b588","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/threads/:threadId/items?getScheduled=true","host":["{{url}}"],"path":["threads",":threadId","items"],"query":[{"key":"getScheduled","value":"true"}],"variable":[{"key":"threadId","value":"<number>","description":"Id of thread to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"22afc0e9-c18d-4eae-9925-d339b8c17e39"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"455"},{"key":"ETag","value":"W/\"1c7-MWm54hRXlj6Sif//JuNzMCNVc94\""},{"key":"Date","value":"Tue, 13 Apr 2021 13:22:28 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"accountId\": 1234567,\n        \"name\": \"2223334444\",\n        \"items\": [\n            {\n                \"id\": 12347,\n                \"message\": \"Hello!\",\n                \"timestamp\": \"2021-08-05T21:00:00.000Z\",\n                \"table\": \"scheduled_messages\",\n                \"inbound\": false,\n                \"scheduled\": true\n            },\n            {\n                \"id\": 12346,\n                \"message\": \"Thank you\",\n                \"timestamp\": \"2021-01-21T11:38:39.000Z\",\n                \"table\": \"sent_messages\",\n                \"inbound\": false,\n                \"scheduled\": false\n            }\n        ],\n        \"count\": 2,\n        \"multipleRecipients\": false\n    }\n}"},{"id":"48496833-3a89-4ef8-8af8-d05b366f20f0","name":"Success Group","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/threads/:threadId/items","host":["{{url}}"],"path":["threads",":threadId","items"],"query":[{"key":"getScheduled","value":"<boolean>","description":"True to include scheduled messages, defaults to false","disabled":true},{"key":"pageSize","value":"<number>","description":"Number of results per page","disabled":true},{"key":"page","value":"<number>","description":"Page number to retrieve","disabled":true}],"variable":[{"key":"threadId","value":"<number>","description":"Id of thread to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"8618dfce-6ba1-4bdc-b5b3-89de5ed7644a"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"626"},{"key":"ETag","value":"W/\"272-U31sKzFl28ryjkgnxv/Sr6kAC3g\""},{"key":"Date","value":"Tue, 13 Apr 2021 13:51:11 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"accountId\": 1234567,\n        \"name\": \"\",\n        \"items\": [\n            {\n                \"id\": 1123456,\n                \"users\": \"a:4:{i:0;s:10:\\\"9998886666\\\";i:1;s:10:\\\"9998886667\\\";i:2;s:10:\\\"9998886668\\\";i:3;s:10:\\\"9998886669\\\";}\",\n                \"message\": \"Pls work\",\n                \"timestamp\": \"2021-01-19T18:57:23.000Z\",\n                \"inbound\": false,\n                \"table\": \"sent_messages\",\n                \"scheduled\": false\n            },\n            {\n                \"id\": 1123457,\n                \"message\": \"Works great. What amazing engineers must be behind the scenes!\",\n                \"url\": \"\",\n                \"timestamp\": \"2021-01-19T18:58:27.000Z\",\n                \"table\": \"message_replies\",\n                \"inbound\": true,\n                \"replyFrom\": \"9998887777\",\n                \"scheduled\": false\n            }\n        ],\n        \"count\": 2,\n        \"multipleRecipients\": true,\n        \"recentReply\": {\n            \"name\": \"9998887777\",\n            \"number\": \"9998887777\"\n        }\n    }\n}"}],"_postman_id":"f6c164d9-44f1-4053-88aa-bf7b48ddbddf"},{"name":"Delete Thread Item","id":"448df333-e652-4f51-b3d0-f4a7e791672b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"table\": \"sent_messages|mms_sent_messages|tts_sent_messages|sent_phone_calls|message_replies|scheduled_messages|mms_scheduled_messages\",\n    \"itemId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/threads/:threadId/items","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["threads",":threadId","items"],"host":["{{url}}"],"query":[],"variable":[{"id":"c061ccd3-6453-44a6-bb6c-82dab8fe6039","description":{"content":"<p>Id of thread to retrieve</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"threadId"}]}},"response":[{"id":"21fdfdf2-eaaf-4a79-8bde-2d5da22c9ac9","name":"Success","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"table\": \"sent_messages\",\n    \"itemId\": 100\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/threads/:threadId/items","host":["{{url}}"],"path":["threads",":threadId","items"],"query":[{"key":"getScheduled","value":"<boolean>","description":"True to include scheduled messages, defaults to false","disabled":true},{"key":"pageSize","value":"<number>","description":"Number of results per page","disabled":true},{"key":"page","value":"<number>","description":"Page number to retrieve","disabled":true}],"variable":[{"key":"threadId","value":"100","description":"Id of thread to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"1944f26d-c720-409f-a902-45be4ab7c115"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"ETag","value":"W/\"37-Spmw2aOYJie+ouT4ixrrvgBM9b0\""},{"key":"Date","value":"Tue, 13 Apr 2021 13:58:07 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted item 100.\"\n}"}],"_postman_id":"448df333-e652-4f51-b3d0-f4a7e791672b"},{"name":"Update Thread as Read","id":"abf12b2f-8fe0-44f0-84b3-6cc46ac9e292","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{url}}/threads/:threadId/read","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["threads",":threadId","read"],"host":["{{url}}"],"query":[],"variable":[{"id":"1a572976-f585-4234-a81b-7f3f9fd9a85a","description":{"content":"<p>Id of thread to delete</p>\n","type":"text/plain"},"type":"any","value":"3183697","key":"threadId"}]}},"response":[{"id":"098eef0b-3eee-41ca-b9f8-89f820a1a376","name":"Success","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{url}}/threads/:threadId/read","host":["{{url}}"],"path":["threads",":threadId","read"],"variable":[{"key":"threadId","value":"101","description":"Id of thread to delete"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"5740b270-9863-496b-87ca-14042861cb53"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"58"},{"key":"ETag","value":"W/\"3a-64G09ANkd4ZJSvlmTbAVxfsdXPE\""},{"key":"Date","value":"Fri, 16 Apr 2021 14:07:50 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Thread 101 marked as read\"\n}"}],"_postman_id":"abf12b2f-8fe0-44f0-84b3-6cc46ac9e292"},{"name":"Delete Thread","id":"78609907-87b8-4eaa-a38e-fd52ff7f5b90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{loginToken}}"},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/threads/:threadId","urlObject":{"path":["threads",":threadId"],"host":["{{url}}"],"query":[],"variable":[{"id":"2c0db7db-5c40-4577-98f4-2b52ca508df1","description":{"content":"<p>Id of thread to delete</p>\n","type":"text/plain"},"type":"any","value":"3183697","key":"threadId"}]}},"response":[{"id":"0836bcac-185b-4bed-8b37-7c38f9ac7a01","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/threads/:threadId","host":["{{url}}"],"path":["threads",":threadId"],"variable":[{"key":"threadId","value":"101","description":"Id of thread to delete"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"e53679ba-ae4a-4c55-95ce-fc2c6173be08"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-JLsF08bXK+iUNkuTP56eVd4/OqM\""},{"key":"Date","value":"Tue, 13 Apr 2021 17:59:21 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Thread deleted successfully.\"\n}"}],"_postman_id":"78609907-87b8-4eaa-a38e-fd52ff7f5b90"},{"name":"List Threads","id":"b08ab336-a3d4-424e-a525-4dd272a78297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/threads","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["threads"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Page number to retrieve</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"disabled":true,"description":{"content":"<p>Number of results per page</p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"},{"disabled":true,"description":{"content":"<p>Field to sort results by</p>\n","type":"text/plain"},"key":"sortBy","value":"<id|allSubscribers|groups|subscribers|lastUpdate|unread>"},{"disabled":true,"description":{"content":"<p>Direction to sort results by</p>\n","type":"text/plain"},"key":"sortDirection","value":"<ASC|DESC>"}],"variable":[]}},"response":[{"id":"2716d9ba-0e5b-448e-aeb6-3ade6046ce71","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/threads?page=5&pageSize=3","host":["{{url}}"],"path":["threads"],"query":[{"key":"page","value":"5","description":"Page number to retrieve"},{"key":"pageSize","value":"3","description":"Number of results per page"},{"key":"sortBy","value":"<id|allSubscribers|groups|subscribers|lastUpdate|deleted|unread>","description":"Field to sort results by","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","description":"Direction to sort results by","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"d38fc971-88af-42dd-855a-df2788772bae"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"409"},{"key":"ETag","value":"W/\"199-WfyDQCtHk700MS18lgqzEGuRD4o\""},{"key":"Date","value":"Wed, 07 Apr 2021 21:12:47 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 100,\n                \"name\": \"Community Group\",\n                \"latestMessage\": {\n                    \"message\": \"You: Bake Sale in 30 minutes!\",\n                    \"timestamp\": \"2021-04-20T15:38:19.000Z\"\n                }\n            },\n            {\n                \"id\": 101,\n                \"name\": \"1231231234, 1112223333\",\n                \"latestMessage\": {\n                    \"message\": \"Meeting tomorrow at 3 pm\",\n                    \"timestamp\": \"2021-01-04T14:11:19.000Z\"\n                }\n            },\n            {\n                \"id\": 102,\n                \"name\": \"6667778888\",\n                \"latestMessage\": {\n                    \"message\": \"Thank you!\",\n                    \"timestamp\": \"2021-01-09T14:21:10.000Z\"\n                }\n            }\n        ],\n        \"page\": 5,\n        \"pageSize\": 3,\n        \"total\": 36\n    }\n}"}],"_postman_id":"b08ab336-a3d4-424e-a525-4dd272a78297"}],"id":"7710d5da-aada-4e37-b33b-b1701bee904d","event":[{"listen":"prerequest","script":{"id":"4aca396e-6779-4e66-a895-0a31f7c20e1a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dfbde04b-5811-4aac-8305-8cbf9ed43a6b","type":"text/javascript","exec":[""]}}],"_postman_id":"7710d5da-aada-4e37-b33b-b1701bee904d","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Unsubscribes","item":[{"name":"Unsubscribe Phone Number","id":"77142d4c-374b-4e91-bc5d-23c7e1921585","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"number\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/unsubscribes","description":"<p>List all subscribers.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["unsubscribes"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ff398675-f084-4ab5-9ad1-d5ec137477ec","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"number\": \"2223334444\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/subscribers/unsubscribe"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"69"},{"key":"ETag","value":"W/\"45-on0Sz1XIm+zu7895ZK0elFbsxK8\""},{"key":"Date","value":"Tue, 11 May 2021 21:28:37 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Number 2223334444 has been unsubscribed.\"\n}"}],"_postman_id":"77142d4c-374b-4e91-bc5d-23c7e1921585"},{"name":"Get Unsubscribe Status","id":"f75ee628-156a-4878-a26b-86035c363b0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/unsubscribes/:number","description":"<p>Get details about a specific subscriber.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["unsubscribes",":number"],"host":["{{url}}"],"query":[],"variable":[{"id":"c3a135a8-32f6-4a30-92ef-dd7123bed6ea","type":"any","value":"<number>","key":"number"}]}},"response":[{"id":"f5b5ccd7-9dd9-4a00-a54f-4454907c54f9","name":"Get Unsubscribe Status","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/unsubscribes/:number","host":["{{url}}"],"path":["unsubscribes",":number"],"variable":[{"key":"number","value":"2223334444"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"45"},{"key":"ETag","value":"W/\"2d-tMRKYuPN01v2T/Xy5ZPg5bs9bFI\""},{"key":"Date","value":"Tue, 11 May 2021 21:28:42 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"unsubscribed\": true\n    }\n}"}],"_postman_id":"f75ee628-156a-4878-a26b-86035c363b0f"},{"name":"List Unsubscribes","id":"b6968904-7de1-4e3f-b346-388bb7ea9c13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/unsubscribes","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["unsubscribes"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<id|number|name|email|date>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"6dde79e5-b239-4fbf-8b5a-166328070c10","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/unsubscribes","host":["{{url}}"],"path":["unsubscribes"],"query":[{"key":"page","value":"<number>","type":"text","disabled":true},{"key":"pageSize","value":"<number>","type":"text","disabled":true},{"key":"sortBy","value":"<id|number|name|email|date>","type":"text","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","type":"text","disabled":true},{"key":"query","value":"<string>","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"69137d93-109d-46b9-818c-8ef996d6557a"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2731"},{"key":"Date","value":"Tue, 14 Dec 2021 22:53:28 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 100,\n                \"name\": \"Doe, John\",\n                \"number\": \"1112223333\",\n                \"email\": \"\",\n                \"date\": \"2020-06-22T16:39:02.000Z\"\n            },\n            {\n                \"id\": 101,\n                \"name\": \"Smith, John\",\n                \"number\": \"2223334444\",\n                \"email\": \"\",\n                \"date\": \"2020-06-23T18:12:30.000Z\"\n            },\n            {\n                \"id\": 102,\n                \"name\": \"Day, Jane\",\n                \"number\": \"1012023003\",\n                \"email\": \"\",\n                \"date\": \"2020-06-26T18:51:08.000Z\"\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 3\n    }\n}"}],"_postman_id":"b6968904-7de1-4e3f-b346-388bb7ea9c13"},{"name":"Bulk Unsubscribe","id":"aea5f069-c740-4998-b3bf-eff29d1a8dac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"number\": \"<string>\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{url}}/unsubscribes/bulk","description":"<p>Thie endpoint allows users to unsubscribe subscribers in bulk. The endpoint would accept array of objects with key \"number\", which is the phone number of the subscriber to unsubscribe and of type string.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}},"urlObject":{"path":["unsubscribes","bulk"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3162fa2a-8730-4b5b-98f6-a05d48326739","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"number\": \"3329034530\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{url}}/unsubscribes/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Request-ID","value":"d6fadfbc-79d4-4cc0-9a8f-663036e56507"},{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"30"},{"key":"X-RateLimit-Remaining","value":"29"},{"key":"Date","value":"Wed, 24 Apr 2024 18:14:07 GMT"},{"key":"X-RateLimit-Reset","value":"1713982507"},{"key":"RateLimit-Limit","value":"30"},{"key":"RateLimit-Remaining","value":"29"},{"key":"RateLimit-Reset","value":"60"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"425"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"1 subscribers have been unsubscribed.\",\n    \"data\": {\n        \"totalRecordCount\": 1,\n        \"unsubscribedRecordCount\": 1,\n        \"errorRecordCount\": 0,\n        \"unsubscribedRecords\": [\n            {\n                \"id\": 123,\n                \"firstName\": \"Alice\",\n                \"lastName\": \"Bob\",\n                \"email\": \"\",\n                \"number\": 3329034530,\n                \"e164Number\": \"+13329034530\",\n                \"date\": \"2024-01-01T00:00:00.000Z\",\n                \"countryId\": 209,\n                \"groups\": [],\n                \"subscriberFieldData\": [],\n                \"signupMethod\": null,\n                \"longNumber\": 3329034530\n            }\n        ],\n        \"errorRecords\": []\n    }\n}"}],"_postman_id":"aea5f069-c740-4998-b3bf-eff29d1a8dac"}],"id":"7120c41b-2ee8-4137-9bb4-391035fd8aa9","event":[{"listen":"prerequest","script":{"id":"171d5e46-2b8d-4a5c-b89a-410c1b841e40","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6e28eb01-dd6a-437f-9846-576ecea2d8bc","type":"text/javascript","exec":[""]}}],"_postman_id":"7120c41b-2ee8-4137-9bb4-391035fd8aa9","description":"","auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"},"isInherited":true,"source":{"_postman_id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","id":"9f3b1ef2-b2af-4fe5-b59b-42f5c2a4cd7f","name":"Mobile Text Alerts API - v8","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Customer Defined Endpoints","item":[{"name":"V1","item":[{"name":"Delivery Status Hook","id":"eff91b39-dedb-4b4f-b93d-8492c9c9cea7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"originationNumber\": \"[string|phone_national]\",\n    \"destinationNumber\": \"<string|phone_national>\",\n    \"messageId\": \"<number>\",\n    \"externalId\": \"[string]\",\n    \"status\": \"<number|see:MTA Statuses>\",\n    \"type\": \"delivery-status\",\n    \"senderName\": \"[string]\",\n    \"tags\": {\n        \"key\": \"value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA receives an updated delivery status from a provider regarding a customer's sent message, MTA will post the updated delivery status to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number the message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number the message was sent to.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The MTA internal id of the outbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The id provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The delivery status. See MTADeliveryStatuses.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the outbound message.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>The webhook type: 'delivery-status'.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>MTADeliveryStatuses</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>QUEUED = 1,\nSENDING = 2,\nSENT = 3, // provider sent to carrier\nDELIVERED = 4,\nSENDING_FAILED = 5, // something failed on the provider end\nDELIVERY_FAILED = 6, // sent to carrier, but failed to deliver\nDELIVERY_UNCONFIRMED = 7, // no response from carrier\nDELIVERY_REJECTED = 8, // blocked by carrier\nUNDELIVERED = 9, // handset is turned off, out of coverage, or something else of that nature\nINVALID_NUMBER = 10,\nSTOPPED_NUMBER = 11,\nLANDLINE = 12,\nSEND_REJECTED = 13, // blocked by provider\nQUEUEING_FAILED = 14 // carrier failed to acknowledge message\n\n</code></pre>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"eff91b39-dedb-4b4f-b93d-8492c9c9cea7"},{"name":"Message Reply Hook","id":"1873d28b-d542-4b56-94a4-1f1017606c68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"originationNumber\": \"<number|phone_national>\",\n    \"destinationNumber\": \"<number|phone_national>\",\n    \"message\": \"<string>\",\n    \"messageId\": \"<number>\",\n    \"externalId\": \"[string]\",\n    \"previousMessageId\": \"<number>\",\n    \"isOptOutMessage\": \"<boolean>\",\n    \"type\": \"message-reply\",\n    \"senderName\": \"[string]\",\n    \"tags\": {\n        \"key\": \"value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA receives an an inbound message from a provider, MTA will post the inbound message to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number that the inbound message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number that the inbound message was sent to.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>The inbound message.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The internal MTA id for the inbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The customer provided id from the last outbound message sent to the origination number.</td>\n</tr>\n<tr>\n<td>previousMessageId</td>\n<td>The internal MTA id for the last interaction with the outbound number. This could be an outbound id or an inbound id, whichever happened last.</td>\n</tr>\n<tr>\n<td>isOptOutMessage</td>\n<td>Indicates if the inbound message is considered an opt-out request.</td>\n</tr>\n<tr>\n<td>type</td>\n<td></td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer from the last outbound message sent to the origination number.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the last outbound message sent to the origination number.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"1873d28b-d542-4b56-94a4-1f1017606c68"},{"name":"Message Send Hook","id":"7084e7ba-e9a3-4ca7-a41d-dbaf427144c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"originationNumber\": \"[string|phone_national]\",\n    \"destinationNumber\": \"<string|phone_national>\",\n    \"messageId\": \"<number>\",\n    \"externalId\": \"[string]\",\n    \"message\": \"<string>\",\n    \"url\": \"[string]\",\n    \"type\": \"message-send\",\n    \"senderName\": \"[string]\",\n    \"tags\": {\n        \"key\": \"value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA send a message to a provider, MTA will post the message to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number the message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number the message was sent to.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The MTA internal id of the outbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The id provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>The outbound message.</td>\n</tr>\n<tr>\n<td>url</td>\n<td>The URL of the outbound message was an MMS and had an image attached.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>The webhook type: 'message-send'</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the outbound message.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"7084e7ba-e9a3-4ca7-a41d-dbaf427144c8"},{"name":"Number Opt-In Hook","id":"b778cb0f-916d-4c1b-83d5-c5d347d59ef7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"originationNumber\": \"<string|phone_national>\",\n    \"destinationNumber\": \"[string|phone_national]\",\n    \"optInType\": \"<string|enum:imessage,rcs>\",\n    \"type\": \"number-opt-in\",\n    \"senderName\": \"[string]\"\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA send a message to a provider, MTA will post the message to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number the message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number the message was sent to.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The MTA internal id of the outbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The id provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>The outbound message.</td>\n</tr>\n<tr>\n<td>url</td>\n<td>The URL of the outbound message was an MMS and had an image attached.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>The webhook type: 'message-send'</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the outbound message.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"b778cb0f-916d-4c1b-83d5-c5d347d59ef7"}],"id":"ba6b6ecf-ee67-40fa-ac71-24db0fe735b6","description":"<p>The original version of our outgoing webhooks.</p>\n","_postman_id":"ba6b6ecf-ee67-40fa-ac71-24db0fe735b6","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}}},{"name":"V2","item":[{"name":"Delivery Status Hook","id":"cafd4ed7-789c-4d83-97dd-db598fa51d91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"originationNumber\": \"[string|phone_e164]\",\n    \"destinationNumber\": \"<string|phone_e164>\",\n    \"messageId\": \"<number>\",\n    \"externalId\": \"[string]\",\n    \"status\": \"<number|see:MTA Statuses>\",\n    \"type\": \"delivery-status\",\n    \"senderName\": \"[string]\",\n    \"tags\": {\n        \"key\": \"value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA receives an updated delivery status from a provider regarding a customer's sent message, MTA will post the updated delivery status to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number the message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number the message was sent to.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The MTA internal id of the outbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The id provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The delivery status. See MTADeliveryStatuses.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the outbound message.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>The webhook type: 'delivery-status'.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>MTADeliveryStatuses</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>QUEUED = 1,\nSENDING = 2,\nSENT = 3, // provider sent to carrier\nDELIVERED = 4,\nSENDING_FAILED = 5, // something failed on the provider end\nDELIVERY_FAILED = 6, // sent to carrier, but failed to deliver\nDELIVERY_UNCONFIRMED = 7, // no response from carrier\nDELIVERY_REJECTED = 8, // blocked by carrier\nUNDELIVERED = 9, // handset is turned off, out of coverage, or something else of that nature\nINVALID_NUMBER = 10,\nSTOPPED_NUMBER = 11,\nLANDLINE = 12,\nSEND_REJECTED = 13, // blocked by provider\nQUEUEING_FAILED = 14 // carrier failed to acknowledge message\n\n</code></pre>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"cafd4ed7-789c-4d83-97dd-db598fa51d91"},{"name":"Message Reply Hook","id":"efc4acca-75e3-45cf-ad7f-7b31b54e9924","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"originationNumber\": \"<number|phone_e164>\",\n    \"destinationNumber\": \"<number|phone_e164>\",\n    \"message\": \"<string>\",\n    \"messageId\": \"<number>\",\n    \"externalId\": \"[string]\",\n    \"previousMessageId\": \"<number>\",\n    \"isOptOutMessage\": \"<boolean>\",\n    \"type\": \"message-reply\",\n    \"senderName\": \"[string]\",\n    \"tags\": {\n        \"key\": \"value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA receives an an inbound message from a provider, MTA will post the inbound message to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number that the inbound message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number that the inbound message was sent to.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>The inbound message.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The internal MTA id for the inbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The customer provided id from the last outbound message sent to the origination number.</td>\n</tr>\n<tr>\n<td>previousMessageId</td>\n<td>The internal MTA id for the last interaction with the outbound number. This could be an outbound id or an inbound id, whichever happened last.</td>\n</tr>\n<tr>\n<td>isOptOutMessage</td>\n<td>Indicates if the inbound message is considered an opt-out request.</td>\n</tr>\n<tr>\n<td>type</td>\n<td></td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer from the last outbound message sent to the origination number.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the last outbound message sent to the origination number.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"efc4acca-75e3-45cf-ad7f-7b31b54e9924"},{"name":"Message Send Hook","id":"1142d2a6-19c2-4258-aeb8-778199a4e4ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"originationNumber\": \"[string|phone_e164]\",\n    \"destinationNumber\": \"<string|phone_e164>\",\n    \"messageId\": \"<number>\",\n    \"externalId\": \"[string]\",\n    \"message\": \"<string>\",\n    \"url\": \"[string]\",\n    \"type\": \"message-send\",\n    \"senderName\": \"[string]\",\n    \"tags\": {\n        \"key\": \"value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA send a message to a provider, MTA will post the message to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number the message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number the message was sent to.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The MTA internal id of the outbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The id provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>The outbound message.</td>\n</tr>\n<tr>\n<td>url</td>\n<td>The URL of the outbound message was an MMS and had an image attached.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>The webhook type: 'message-send'</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the outbound message.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"1142d2a6-19c2-4258-aeb8-778199a4e4ab"},{"name":"Number Opt-In Hook","id":"a13a2f39-3b32-48c2-a0cd-af94a3baa4fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"originationNumber\": \"<string|phone_e164>\",\n    \"destinationNumber\": \"[string|phone_e164]\",\n    \"optInType\": \"<string|enum:imessage,rcs>\",\n    \"type\": \"number-opt-in\",\n    \"senderName\": \"[string]\"\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA send a message to a provider, MTA will post the message to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number the message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number the message was sent to.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The MTA internal id of the outbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The id provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>The outbound message.</td>\n</tr>\n<tr>\n<td>url</td>\n<td>The URL of the outbound message was an MMS and had an image attached.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>The webhook type: 'message-send'</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the outbound message.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"a13a2f39-3b32-48c2-a0cd-af94a3baa4fb"}],"id":"6a2a202d-7b4d-4b45-8a5d-9871b2f9998c","description":"<p>The updated version of our outgoing webhooks that uses the same format as V1 but normalizes field types and uses the E164 phone number format for phone numbers.</p>\n","_postman_id":"6a2a202d-7b4d-4b45-8a5d-9871b2f9998c","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}}},{"name":"V3","item":[{"name":"Delivery Status Hook","id":"f5ddb961-54a4-4290-8001-1199d62cd3ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"fromNumber\": \"[string|phone_e164]\",\n    \"toNumber\": \"<string|phone_e164>\",\n    \"messageId\": \"<number>\",\n    \"externalId\": \"[string]\",\n    \"timestamp\": \"<string|date:UTC:ISO-8601>\",\n    \"status\": \"<number|see:MTA Statuses>\",\n    \"type\": \"delivery-status\",\n    \"senderName\": \"[string]\",\n    \"tags\": {\n        \"key\": \"value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA receives an updated delivery status from a provider regarding a customer's sent message, MTA will post the updated delivery status to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number the message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number the message was sent to.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The MTA internal id of the outbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The id provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The delivery status. See MTADeliveryStatuses.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the outbound message.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>The webhook type: 'delivery-status'.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>MTADeliveryStatuses</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>QUEUED = 1,\nSENDING = 2,\nSENT = 3, // provider sent to carrier\nDELIVERED = 4,\nSENDING_FAILED = 5, // something failed on the provider end\nDELIVERY_FAILED = 6, // sent to carrier, but failed to deliver\nDELIVERY_UNCONFIRMED = 7, // no response from carrier\nDELIVERY_REJECTED = 8, // blocked by carrier\nUNDELIVERED = 9, // handset is turned off, out of coverage, or something else of that nature\nINVALID_NUMBER = 10,\nSTOPPED_NUMBER = 11,\nLANDLINE = 12,\nSEND_REJECTED = 13, // blocked by provider\nQUEUEING_FAILED = 14 // carrier failed to acknowledge message\n\n</code></pre>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5ddb961-54a4-4290-8001-1199d62cd3ce"},{"name":"Message Reply Hook","id":"e872607a-d193-4de6-b6b3-9a09ab414c18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"fromNumber\": \"<number|phone_e164>\",\n    \"toNumber\": \"[number|phone_e164]\",\n    \"replyId\": \"<string>\",\n    \"externalId\": \"[string]\",\n    \"message\": \"<string>\",\n    \"messageId\": \"[string]\",\n    \"url\": \"[string]\",\n    \"timestamp\": \"<string|date:UTC:ISO-8601>\",\n    \"senderName\": \"[string]\",\n    \"tags\": {\n        \"key\": \"value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA receives an an inbound message from a provider, MTA will post the inbound message to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number that the inbound message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number that the inbound message was sent to.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>The inbound message.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The internal MTA id for the inbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The customer provided id from the last outbound message sent to the origination number.</td>\n</tr>\n<tr>\n<td>previousMessageId</td>\n<td>The internal MTA id for the last interaction with the outbound number. This could be an outbound id or an inbound id, whichever happened last.</td>\n</tr>\n<tr>\n<td>isOptOutMessage</td>\n<td>Indicates if the inbound message is considered an opt-out request.</td>\n</tr>\n<tr>\n<td>type</td>\n<td></td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer from the last outbound message sent to the origination number.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the last outbound message sent to the origination number.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"e872607a-d193-4de6-b6b3-9a09ab414c18"},{"name":"Message Send Hook","id":"c47b37d8-3451-4b78-bfb5-2aec320e6fcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"fromNumber\": \"[string|phone_e164]\",\n    \"toNumber\": \"<string|phone_e164>\",\n    \"messageId\": \"<number>\",\n    \"externalId\": \"[string]\",\n    \"message\": \"<string>\",\n    \"url\": \"[string]\",\n    \"timestamp\": \"<string|date:UTC:ISO-8601>\",\n    \"senderName\": \"[string]\",\n    \"tags\": {\n        \"key\": \"value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA send a message to a provider, MTA will post the message to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number the message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number the message was sent to.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The MTA internal id of the outbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The id provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>The outbound message.</td>\n</tr>\n<tr>\n<td>url</td>\n<td>The URL of the outbound message was an MMS and had an image attached.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>The webhook type: 'message-send'</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the outbound message.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"c47b37d8-3451-4b78-bfb5-2aec320e6fcb"},{"name":"Number Opt-In Hook","id":"29a6d059-3a04-4aa1-96cf-e875b9f6a66d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"fromNumber\": \"<string|phone_e164>\",\n    \"toNumber\": \"[string|phone_e164]\",\n    \"type\": \"<string|enum:imessage,rcs>\",\n    \"timestamp\": \"<string|date:UTC:ISO-8601>\",\n    \"senderName\": \"[string]\"\n}","options":{"raw":{"language":"json"}}},"url":"/customer-provided-url","description":"<p>When MTA send a message to a provider, MTA will post the message to the customer provided endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originationNumber</td>\n<td>The number the message was sent from.</td>\n</tr>\n<tr>\n<td>destinationNumber</td>\n<td>The number the message was sent to.</td>\n</tr>\n<tr>\n<td>messageId</td>\n<td>The MTA internal id of the outbound message.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>The id provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>The outbound message.</td>\n</tr>\n<tr>\n<td>url</td>\n<td>The URL of the outbound message was an MMS and had an image attached.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>The webhook type: 'message-send'</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>An object of any tags provided by the customer when the message was sent.</td>\n</tr>\n<tr>\n<td>tags.messageId</td>\n<td>The MTA public id of the outbound message.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}},"urlObject":{"path":["customer-provided-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"29a6d059-3a04-4aa1-96cf-e875b9f6a66d"}],"id":"b1faab80-22f0-4b3e-a6aa-6614766ce95e","description":"<p>The latest version of our webhooks.</p>\n","_postman_id":"b1faab80-22f0-4b3e-a6aa-6614766ce95e","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}}}],"id":"a586d6df-2ecf-4574-a281-705b1f1951fc","description":"<p>Customer Defined Endpoints define the payloads that are sent in notification requests to a customer provided endpoint. The only requirement for a customer defined endpoint is that the response has a 200 HTTP status code.</p>\n<p>We currently have three versions of our webhooks that you might receive, depending on when you signed up and if you've had your webhook version changed by customer support.</p>\n<h2 id=\"field-types\">Field Types</h2>\n<p>The type of the field will be enclosed in brackets. The type of bracket depends on the field.</p>\n<h3 id=\"required-fields\">Required Fields</h3>\n<p>Fields that you should always expect in the webhook payload are marked with <code>&lt;&gt;</code>.</p>\n<h3 id=\"optional-fields\">Optional Fields</h3>\n<p>Fields that may not always be in the webhook payload are marked with <code>[]</code>. These fields may be missing from the payload or may be present but have a <code>null</code> value.</p>\n<h3 id=\"type\">Type</h3>\n<p>Dynamic fields in the payload will have a type between the two brackets:</p>\n<ul>\n<li><p>string</p>\n</li>\n<li><p>number</p>\n</li>\n<li><p>boolean</p>\n</li>\n</ul>\n<h3 id=\"formats\">Formats</h3>\n<p>Dynamic fields may also include a format specification.</p>\n<ul>\n<li><p>phone_national - A phone number in the national format. (Ex: <code>5555555555</code>)</p>\n</li>\n<li><p>phone_e164 - A phone number in E164 format. (Ex: <code>+15555555555</code>)</p>\n</li>\n<li><p>enum - A field with a pre-defined list of values.</p>\n</li>\n<li><p>see - A reference to more information about the values available for the field.</p>\n</li>\n<li><p>date - A date string. The timezone and format are specified.</p>\n</li>\n</ul>\n","_postman_id":"a586d6df-2ecf-4574-a281-705b1f1951fc","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","name":"Webhooks","type":"folder"}}},{"name":"Delete Webhook","id":"c585b390-de72-453e-807d-d2734cf91cc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"value":"<value>","key":"<key>"},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/webhooks/:webhookId","urlObject":{"path":["webhooks",":webhookId"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Id of webhook to un-register</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"webhookId"}]}},"response":[{"id":"094eebca-2e92-41ee-9a20-505453ba484c","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/webhooks/:webhookId","host":["{{url}}"],"path":["webhooks",":webhookId"],"variable":[{"key":"webhookId","value":"100","description":"Id of webhook to un-register"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"eadd105a-a342-43f5-b126-c0f07c4215cc"},{"key":"Date","value":"Wed, 23 Feb 2022 17:21:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c585b390-de72-453e-807d-d2734cf91cc2"},{"name":"List Webhooks","id":"cc4bddc9-1dfc-43c4-a7a1-176d09b4ce50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"value":"<value>","key":"<key>"},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/webhooks","urlObject":{"path":["webhooks"],"host":["{{url}}"],"query":[{"disabled":true,"key":"page","value":"<number>"},{"disabled":true,"key":"pageSize","value":"<number>"},{"disabled":true,"key":"sortBy","value":"<url|createdAt>"},{"disabled":true,"key":"sortDirection","value":"<ASC|DESC>"},{"disabled":true,"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"b052e670-dc45-4197-9611-2e368caecccd","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/webhooks","host":["{{url}}"],"path":["webhooks"],"query":[{"key":"page","value":"<number>","type":"text","disabled":true},{"key":"pageSize","value":"<number>","type":"text","disabled":true},{"key":"sortBy","value":"<url|createdAt>","type":"text","disabled":true},{"key":"sortDirection","value":"<ASC|DESC>","type":"text","disabled":true},{"key":"query","value":"<string>","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"eb105f4b-997b-4719-8282-fdd93a921846"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"174"},{"key":"Date","value":"Wed, 23 Feb 2022 17:19:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"id\": 100,\n                \"event\": \"delivery-status\",\n                \"url\": \"https://example.com/webhook/delivery\",\n                \"alertEmail\": \"alert@example.com\",\n                \"createdAt\": \"2021-01-01T00:00:00.000Z\"\n            },\n            {\n                \"id\": 101,\n                \"event\": \"message-reply\",\n                \"url\": \"https://example.com/webhook/reply\",\n                \"alertEmail\": \"alert@example.com\",\n                \"createdAt\": \"2021-01-01T00:00:00.000Z\"\n            }\n        ],\n        \"page\": 0,\n        \"pageSize\": 25,\n        \"total\": 2\n    }\n}"}],"_postman_id":"cc4bddc9-1dfc-43c4-a7a1-176d09b4ce50"},{"name":"List Events","id":"58245e13-628e-4c89-90b9-25dcf84fa8b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"value":"<value>","key":"<key>"},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/webhooks/events?since=YYYY-MM-DDTHH:mm:ssZ&type=<send,reply,status,opt-out>","urlObject":{"path":["webhooks","events"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Retrieve records since this date/time</p>\n","type":"text/plain"},"key":"since","value":"YYYY-MM-DDTHH:mm:ssZ"},{"description":{"content":"<p>Type of event to return</p>\n","type":"text/plain"},"key":"type","value":"<send,reply,status,opt-out>"}],"variable":[]}},"response":[{"id":"5393bc11-3343-4640-9d66-1781b571459d","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/webhooks/events?since=2023-04-12T23:28:00.000Z&type=send","host":["{{url}}"],"path":["webhooks","events"],"query":[{"key":"since","value":"2023-04-12T23:28:00.000Z","description":"Retrieve records since this date/time"},{"key":"type","value":"send","description":"Type of event to return"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 12 Apr 2023 18:36:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"306"},{"key":"Connection","value":"keep-alive"},{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"30"},{"key":"X-RateLimit-Remaining","value":"28"},{"key":"X-RateLimit-Reset","value":"1681324632"},{"key":"RateLimit-Limit","value":"30"},{"key":"RateLimit-Remaining","value":"28"},{"key":"RateLimit-Reset","value":"27"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition"},{"key":"X-Request-ID","value":"609f797e-cfbd-4635-9a0f-11b0182b0125"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"rows\": [\n            {\n                \"destinationNumber\": 5555555555,\n                \"messageId\": 12345678,\n                \"externalId\": \"f2402647-b6d4-440f-bbb4-02e1772651ff\",\n                \"message\": \"Example!\",\n                \"url\": \"\",\n                \"timestamp\": \"2023-04-12T23:29:48.000Z\"\n            }\n        ],\n        \"total\": 1,\n        \"since\": \"2023-04-12T23:28:00.000Z\"\n    }\n}"}],"_postman_id":"58245e13-628e-4c89-90b9-25dcf84fa8b9"},{"name":"Register Webhook","id":"353e227a-1f5c-4d63-9abe-d3fe4859c0c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"value":"<value>","key":"<key>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"event\": \"<message-reply|delivery-status|message-send>\",\n    \"url\": \"<string>\",\n    \"secret\": \"<string>\",\n    \"alertEmail\": \"<string>\",\n    \"sendAlertEmail\": \"<boolean>\",\n    \"skipErrors\" : \"<boolean>\",\n    \"skipErrorCodes\": \"<string[]>\",\n    \"retryOnError\": \"<boolean>\",\n    \"maxThroughputPerMinute\": \"<number>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/webhooks","description":"<h3 id=\"required-fields\">Required Fields</h3>\n<ul>\n<li><code>event</code></li>\n<li><code>url</code></li>\n<li><code>secret</code></li>\n</ul>\n<h3 id=\"failure-email-alerts\">Failure Email Alerts</h3>\n<p>If one of the following issues occur when sending a webhook notification:</p>\n<ul>\n<li>MTA fails to send a postback request to your configured url</li>\n<li>MTA receives a non-200 response code when making the request</li>\n</ul>\n<p>When the <code>sendAlertEmail</code> parameter in the request is set to <code>true</code>, MTA will send a Failure Alert Email to the configured <code>alertEmail</code> on the Webhook. If an <code>alertEmail</code> is not configured, the account's main email will be used. <code>sendAlertEmail</code> defaults to <code>false</code> so no emails will be sent if this flag is not supplied in the request to register your webhook.</p>\n","urlObject":{"path":["webhooks"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"9feaf149-748d-45ae-9b90-0dac117ebe6a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"event\": \"delivery-status\",\n    \"url\": \"https://www.example.com/app/hooks\",\n    \"secret\": \"abc123-abc2-cde1-1234-xyz123456\",\n    \"alertEmail\": \"alert@example.com\",\n    \"sendAlertEmail\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/webhooks"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"5f99a947-cabf-4c8e-aa76-522c2c4506be"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"225"},{"key":"Date","value":"Mon, 18 Apr 2022 21:19:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Webhook 11 created successfully.\",\n    \"data\": {\n        \"id\": 11,\n        \"event\": \"delivery-status\",\n        \"url\": \"https://www.example.com/app/hooks\",\n        \"alertEmail\": \"alert@example.com\",\n        \"sendAlertEmail\": true,\n        \"skipErrors\": false,\n        \"skipErrorCodes\": [],\n        \"retryOnError\": true,\n        \"maxThroughputPerMinute\": 600,\n        \"createdAt\": \"2022-04-18T05:00:00.000Z\"\n    }\n}"}],"_postman_id":"353e227a-1f5c-4d63-9abe-d3fe4859c0c9"},{"name":"Update Webhook","id":"41fadeca-5bcc-4344-9cbf-18f7fea29836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"value":"<value>","key":"<key>"},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"<string>\",\n    \"secret\": \"<string>\",\n    \"alertEmail\": \"<string>\",\n    \"sendAlertEmail\": \"<boolean>\",\n    \"skipErrors\" : \"<boolean>\",\n    \"skipErrorCodes\": \"<string[]>\",\n    \"retryOnError\": \"<boolean>\",\n    \"maxThroughputPerMinute\": \"<number>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/webhooks/:webhookId","description":"<h3 id=\"required-fields\">Required Fields</h3>\n<ul>\n<li><p><code>url</code></p>\n</li>\n<li><p><code>secret</code></p>\n</li>\n</ul>\n<h3 id=\"failure-email-alerts\">Failure Email Alerts</h3>\n<p>If one of the following issues occur when sending a webhook notification:</p>\n<ul>\n<li><p>MTA fails to send a postback request to your configured url</p>\n</li>\n<li><p>MTA receives a non-200 response code when making the request</p>\n</li>\n</ul>\n<p>When the <code>sendAlertEmail</code> parameter in the request is set to <code>true</code>, MTA will send a Failure Alert Email to the configured <code>alertEmail</code> on the Webhook. If an <code>alertEmail</code> is not configured, the account's main email will be used. <code>sendAlertEmail</code> defaults to <code>false</code> so no emails will be sent if this flag is not supplied in the request to register your webhook.</p>\n","urlObject":{"path":["webhooks",":webhookId"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Id of webhook to update</p>\n","type":"text/plain"},"type":"any","value":"","key":"webhookId"}]}},"response":[{"id":"ec232d93-b792-4f2a-8b19-9b1be9c46725","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://www.example.com/app/hooks\",\n    \"secret\": \"abc123-abc2-cde1-1234-xyz123456\",\n    \"alertEmail\": \"alert@example.com\",\n    \"sendAlertEmail\": true,\n    \"maxThroughputPerMinute\": 1000\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/webhooks/:webhookId","host":["{{url}}"],"path":["webhooks",":webhookId"],"variable":[{"key":"webhookId","value":"11","description":"Id of webhook to update"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Surrogate-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Vary","value":"Origin"},{"key":"X-Request-ID","value":"5f99a947-cabf-4c8e-aa76-522c2c4506be"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"225"},{"key":"Date","value":"Mon, 18 Apr 2022 21:19:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"41fadeca-5bcc-4344-9cbf-18f7fea29836"}],"id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f","description":"<p>MTA Webhooks provide real time notifications of sent messages, message replies, and delivery statuses. You can register, delete, and view webhooks on your account. Additionally, the <a href=\"https://docs.mobile-text-alerts.com/#ad0f9b52-1d79-43b6-b937-254ce24accf2\">Configure Webhook Failure Alerts</a> endpoint will allow you to enable/disable alert emails when there is an issue sending a notification.</p>\n<p>Note that the requests documented in <a href=\"https://docs.mobile-text-alerts.com/#a586d6df-2ecf-4574-a281-705b1f1951fc\">Customer Defined Endpoints</a> describe the endpoints you, as an MTA customer, must implement in order to successfully receive notifications.</p>\n<p><em>For additional configuration support, please contact</em> <a href=\"https://mailto:contact@mobile-text-alerts.com\"><i>contact@mobile-text-alerts.com</i></a><em>.</em></p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"2b14c97a-5941-43c3-8b1b-451ab4482490","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d381625a-298e-444d-b200-71d29f8e6e61","type":"text/javascript","exec":[""]}}],"_postman_id":"a87529ee-01b1-4ef8-a48e-d6234ad0517f"},{"name":"iMessage Sending","item":[],"id":"8295f6a6-1a00-4ff9-bcf3-d561255cdbe0","description":"<h1 id=\"introduction\">Introduction</h1>\n<p><em>Please Note: This feature is currently in</em> <em><strong>beta</strong></em> <em>and is not yet generally available. If you're interested in sending iMessages and want to participate in our beta program, please reach out to your account manager to notify them of your interest.</em></p>\n<h2 id=\"what-is-imessage\">What is iMessage?</h2>\n<p>iMessage is an Apple designed and built messaging service available to users of iOS, iPadOS, macOS and watchOS devices. Users can send and receive messages with each other, much like they can via SMS, MMS or email and it is widely known for its \"blue bubbles\". Apple has designed iMessage to be a secure message ecosystem thus increasing user trust when they send and receive iMessages. It is estimated that there are over 1 billion iMessage users across the globe.</p>\n<h2 id=\"why-send-via-imessage\">Why send via iMessage?</h2>\n<p>Due to the security features and ubiquity of iMessage, it has quickly become a highly trusted method of communication for users around the globe. As a result, you can expect to have broader reach and better engagement from those recipients that you contact via iMessage using an identity that is synonymous with your brand (see below). iMessage also has a much higher throughput in terms of media sizes for attachments, enabling higher resolution photos and even videos.</p>\n<hr />\n<h1 id=\"sender-identities\">Sender Identities</h1>\n<p>When communicating with subscribers via iMessage, you'll use a unique, dedicated \"Sender Identity\" that helps identify your brand.</p>\n<h2 id=\"what-is-a-sender-identity\">What is a Sender Identity?</h2>\n<p>A Sender Identity is the sequence of characters that appears at the top of an iMessage conversation when you send a message to any of your iMessage enabled recipients. In other words, it is the \"contact\" that your recipients will receive messages from and reply to when interacting with your brand via iMessage. Sender Identities look like an email address and consist of the sending name and a domain. When sending messages via Mobile Text Alerts, you can use one or more Sender Identities to send iMessages and can select which to use in the same way you select an outbound longcode for SMS messaging.</p>\n<h2 id=\"provisioning-and-using-sender-identities\">Provisioning and Using Sender Identities</h2>\n<p>Upon enrollment in the iMessage sending program, a Sender Identity will be provisioned for your account. You'll be able to supply a desired name for your Sender Identity but it will come with a preconfigured domain that we've configured and verified for iMessage sending. Mobile Text Alerts also provides support for Custom Domains for Sender Identities (more below). You can request additional Sender Identities be provisioned for your account. It may take up to 3 days to complete the provisioning process depending on the number of identities requested. Once provisioned, our team will attach each Sender Identity to an outbound longcode on your account. When sending messages, selection of a particular longcode will correspond to a particular Sender Identity. If Mobile Text Alerts detects that a recipient is iMessage enabled, it will use the Sender Identity associated with the outbound longcode and send via iMessage instead of SMS.</p>\n<h2 id=\"custom-domains\">Custom Domains</h2>\n<p>Mobile Text Alerts is capable of supporting custom domains for your Sender Identities but it requires some additional configuration and set up before you can begin using them. When you submit a request for a Custom Domain to our team, we will discuss and identify the particular domain you'd like to use. Depending on your particular use case, Mobile Text Alerts will either purchase and maintain the domain on your behalf, or you can purchase one and provide it to us. We'll need to configure a few DNS entries to properly set up your custom domain. Once initial configuration is complete, you can provision all future Sender Identities using this domain.</p>\n<hr />\n<h1 id=\"subscriber-opt-in\">Subscriber Opt In</h1>\n<p>As with SMS, capturing the proper consent and opt-ins from your recipients is critical to the successful usage of the iMessage capabilities offered by Mobile Text Alerts. Capturing opt-ins ensures that your recipients are expecting to hear from you via iMessage and it gives you an opportunity to identify yourself to the recipient. In doing so, you can be sure that your messages are safely delivered without being marked as spam by the recipient.</p>\n<h2 id=\"imessage-opt-in\">iMessage Opt In</h2>\n<p>In order to send iMessages to your recipients, you <strong>must</strong> receive an inbound opt-in message from them before you send your first outbound message. Regardless of whether an opt-in was collected for communications via SMS or email, an explicit iMessage opt-in is required. This can be as simple as sending in \"Sign me up\" to your Sender Identity one time. Mobile Text Alerts provides a useful feature for accomplishing this and automatically tracks iMessage opt-ins for you when using this system: deeplinks.</p>\n<h2 id=\"deeplinks\">Deeplinks</h2>\n<p>A deeplink looks and works like any other website link but behaves differently depending on the user's browser, device or operating system. Mobile Text Alerts provides a powerful deeplinking technology that can both identify if a recipient is capable of sending iMessages and link to a prompt to send their first inbound opt-in message to your Sender Identity. A Mobile Text Alerts deeplink works like this:</p>\n<ol>\n<li>Generate your iMessage opt-in deeplink, which will look like this: <code>https://mobile-text-alerts.com/deeplink/abcd1234</code></li>\n<li>Through a method of your choice, direct your subscribers to this deeplink. For example, you could send an SMS campaign from Mobile Text Alerts that announces your customers can now receive iMessages from you by clicking the link (which is your deeplink from Step 1)</li>\n<li>When a recipient clicks this link, Mobile Text Alerts with automatically detect whether they can send/receive iMessages.</li>\n<li>If they can send/receive iMessages, Mobile Text Alerts will redirect them to a special iMessage specific link (ex<code>imessage://yoursenderidentity@your-imsg-domain.com&amp;body=Signup</code>) which launches iMessage and prefills their opt-in message. All they have to do is hit send.</li>\n<li>If they cannot send/receive iMessages (for example, the link was opened on an Android phone or the web), the deeplink will gracefully redirect them to a context-sensible location (launch the SMS app instead, show a web opt-in form etc.)</li>\n</ol>\n<p>If you choose to prompt your recipients for iMessage opt-ins via another method, you can still use the special <code>imessage://</code> style URL to launch the iMessage app and prefill the message.</p>\n<h2 id=\"sending-outbound-messages-first\">Sending Outbound Messages First</h2>\n<p>Mobile Text Alerts presently doesn't allow outbound messages to be sent to recipients before receiving an inbound opt-in message from them. As a result, messages can only be sent via iMessage to recipients that have explicitly completed the opt-in flow. This provides the best protection for your Sender Identities. Recipients are naturally wary of receiving unsolicited messages through iMessage since it is a peer to peer messaging system primarily. Apple may even prompt the user with a \"Report Junk\" warning for outbound messages received without an explicit inbound message from the recipient. These reports can result in your Sender Identity being blocked or disabled, which will directly impact your ability to deliver messages via iMessage. Our opt-in requirement provides the best possible protection for your Sender Identities.</p>\n<h3 id=\"are-there-ways-to-send-outbound-messages-first-via-imessage\">Are there ways to send outbound messages first via iMessage?</h3>\n<p>In certain uncommon cases, the restriction on requiring an inbound opt-in can be relaxed for individual Sender Identities, after careful review by our team. As described above, this significantly increases the risk of impact on delivery rates for that Sender Identity and in making a request to lift this restriction, you are accepting that increased risk. Our team will only consider these requests for pre-existing Sender Identities that have already been in use. Our evaluation will look at the age of the Sender Identity (min 3 months old), number of active conversations and overall inbound message reply rates and it is not guaranteed that a Sender Identity will be approved for outbound-first messaging.</p>\n<hr />\n<h1 id=\"message-sending\">Message Sending</h1>\n<p>Once your subscribers begin opting-in to receiving iMessages, you're ready to begin sending to them. As mentioned above, Mobile Text Alerts will automatically capture and record the inbound opt-in messages and internally flag your subscribers as iMessage enabled and opted-in. Remember, opt-ins are tied to a specific Sender Identity, so you must receive inbound consent from a subscriber on each Sender Identity you plan to use to send messages to them. When sending messages via API, you'll specify a Sender Identity (more on that below) and Mobile Text Alerts will handle routing messages intelligently based on current subscriber status. For those subscibers included in a <code>/send</code> call, the system will examine whether they are enabled for iMessage and will route messages through your Sender Identity if so. The system also handles graceful fallback to SMS (also more on that further below).</p>\n<h2 id=\"specifying-a-sender-identity\">Specifying a Sender Identity</h2>\n<p>When making <code>/send</code> API calls, you won't need to adjust much in order to send messages via iMessage. If you've completed all the necessary configuration and set up steps, you should have a Sender Identity that is attached to one of your existing outbound longcodes used for SMS/MMS. Your API calls will continue to supply a <code>longcodeId</code> and when that longcode has an associated iMessage Sender Identity, Mobile Text Alerts will use that identity for iMessage enabled recipients. This structure enables minimial change necessary to start using the iMessage route and provides flexibility to manage Sender Identities like you currently manage longcodes.</p>\n<h2 id=\"sms-fallback\">SMS Fallback</h2>\n<p>The iMessage route also supports graceful fallback for a number of failure scenarios. An outbound iMessage may fail for any of the following reasons:</p>\n<ul>\n<li>The subscriber is not capable of receiving iMessages</li>\n<li>The subscriber has not opted-in via inbound message to the selected Sender Identity</li>\n<li>The Sender Identity has been disabled, blocked, or banned</li>\n<li>Our iMessage route is temporarily unavailable</li>\n</ul>\n<p>If any of these failures occur, Mobile Text Alerts will fall back gracefully to SMS in order to deliver your message. In this way, you can have the confidence that your subscriber will always receive your message, even if there's an issue preventing us from using iMessage to deliver that particular message.</p>\n<h2 id=\"webhooks\">Webhooks</h2>\n<p>When sending messages via the iMessage route, you can expect to receive webhooks from Mobile Text Alerts consistent with other messaging routes such as SMS. For messages routed via iMessage, you will receive delivery status callbacks as the message's status changes through the process of sending. When inbound messages are sent in to your Sender Identities, Mobile Text Alerts will deliver message reply webhooks consistent with inbound SMS messages. For more information on configuring webhooks for your account, please see the <a href=\"https://docs.mobile-text-alerts.com/#a87529ee-01b1-4ef8-a48e-d6234ad0517f\">Webhooks</a> section of our documentation.</p>\n","auth":{"type":"noauth","isInherited":false},"_postman_id":"8295f6a6-1a00-4ff9-bcf3-d561255cdbe0"}],"auth":{"type":"bearer","bearer":{"token":"{{apiKey}}"}},"event":[{"listen":"prerequest","script":{"id":"c3e9e95f-f2ec-46db-b6af-c526e5439a96","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e823ce9f-fbe0-469d-8217-1eb6e7cf62d6","type":"text/javascript","exec":[""]}}]}