{"info":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","description":"<html><head></head><body><p>Manage contacts and lists.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"23328196","collectionId":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","publishedId":"2s7YYscipP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-08T16:16:59.000Z"},"item":[{"name":"Contacts","item":[{"name":"List contacts","id":"7dda6c9d-95df-4b23-aaff-d84d13a1a002","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://e1.envoke.com/v1/contacts","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","contacts"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"67de81f8-8796-4424-bd29-618b347f6ac1","name":"List contacts","originalRequest":{"method":"GET","header":[],"url":"https://e1.envoke.com/v1/contacts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 05 Oct 2022 01:16:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"X-Server","value":"z1a"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1234\",\n        \"external_id\": \"6fbd84c021f720d708b26f7e400cb06b\",\n        \"date_created\": \"2022-01-29T18:04:53+00:00\",\n        \"remote_id\": \"\",\n        \"first_name\": \"Contact\",\n        \"last_name\": \"Example-One\",\n        \"title\": \"\",\n        \"email\": \"contact1@example.com\",\n        \"company\": \"\",\n        \"phone\": \"\",\n        \"address_1\": \"\",\n        \"address_2\": \"\",\n        \"city\": \"\",\n        \"country\": \"\",\n        \"province\": \"\",\n        \"postal_code\": \"\",\n        \"website\": \"\",\n        \"language\": \"en\",\n        \"feedback\": \"\",\n        \"consent_status\": \"Express\",\n        \"consent_description\": \"Express consent contact API example\",\n        \"consent_effective_date\": \"2022-01-29T18:04:53+00:00\",\n        \"consent_expiry\": \"\",\n        \"custom_fields\": [],\n        \"interests\": [\n            \"Newsletter\",\n            \"Call requested\",\n            \"Consumer\",\n            \"Feb 16 list import\",\n            \"long-haul\"\n        ],\n        \"autoresponders\": []\n    },\n    {\n        \"id\": \"2345\",\n        \"external_id\": \"da9994d13e9340a1009ab46338dcf302\",\n        \"date_created\": \"2022-01-29T18:04:53+00:00\",\n        \"remote_id\": \"\",\n        \"first_name\": \"Contact\",\n        \"last_name\": \"Example-Two\",\n        \"title\": \"\",\n        \"email\": \"contact2@example.com\",\n        \"company\": \"\",\n        \"phone\": \"\",\n        \"address_1\": \"\",\n        \"address_2\": \"\",\n        \"city\": \"\",\n        \"country\": \"\",\n        \"province\": \"\",\n        \"postal_code\": \"\",\n        \"website\": \"\",\n        \"language\": \"\",\n        \"feedback\": \"\",\n        \"consent_status\": \"Express\",\n        \"consent_description\": \"Express consent contact API example\",\n        \"consent_effective_date\": \"2022-01-29T18:04:53+00:00\",\n        \"consent_expiry\": \"\",\n        \"custom_fields\": {\n            \"nick_name\": \"Michael\"\n        },\n        \"interests\": [\n            \"Event invitations\"\n        ],\n        \"autoresponders\": [\n            \"Welcome series\"\n        ]\n    }\n]"}],"_postman_id":"7dda6c9d-95df-4b23-aaff-d84d13a1a002"},{"name":"Get a single contact by ID","id":"3a12ae68-f6eb-44a7-bcbb-0f8e49d62ad9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/contacts/:id","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","contacts",":id"],"host":["e1","envoke","com"],"query":[],"variable":[{"type":"any","value":"695374","key":"id"}]}},"response":[{"id":"23fa87fd-dcd7-40cb-a4c8-bee068be7f11","name":"Get a single contact by ID","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://e1.envoke.com/v1/contacts/:id","protocol":"https","host":["e1","envoke","com"],"path":["v1","contacts",":id"],"variable":[{"key":"id","value":"695374"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 09 Jan 2023 18:41:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"X-Server","value":"z1a"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"695374\",\n    \"external_id\": \"1449e4ee3cd26f882f262a9a6ac072d8\",\n    \"date_created\": \"2022-12-01T19:32:55+00:00\",\n    \"remote_id\": \"\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"title\": \"\",\n    \"email\": \"contact1@example.com\",\n    \"company\": \"API Examples Inc.\",\n    \"phone\": \"\",\n    \"address_1\": \"\",\n    \"address_2\": \"\",\n    \"city\": \"Toronto\",\n    \"country\": \"CA\",\n    \"province\": \"ON\",\n    \"postal_code\": \"\",\n    \"website\": \"\",\n    \"language\": \"\",\n    \"feedback\": \"\",\n    \"consent_status\": \"Implied - Transaction\",\n    \"consent_description\": \"Implied consent contact API example\",\n    \"consent_effective_date\": \"2022-12-01T19:32:55+00:00\",\n    \"consent_expiry\": \"2024-12-01\",\n    \"custom_fields\": {\n        \"birthday\": \"1984-03-14\"\n    },\n    \"interests\": [\n        \"Consumer\",\n        \"Segment B\",\n        \"Ontario\",\n        \"long-haul\"\n    ],\n    \"autoresponders\": [\n        \"Welcome series\"\n    ]\n}"}],"_postman_id":"3a12ae68-f6eb-44a7-bcbb-0f8e49d62ad9"},{"name":"Get contact by email","id":"82cf1269-650d-4387-961a-d3f1eb9829d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/contacts?email=contact1@example.com&limit=1","description":"<p>This is example includes the &amp;limit=1 parameter.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","contacts"],"host":["e1","envoke","com"],"query":[{"key":"email","value":"contact1@example.com"},{"key":"limit","value":"1"}],"variable":[]}},"response":[{"id":"1a8c92f3-e77f-45ae-afcd-fc66e897ac5f","name":"Get contact by email","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://e1.envoke.com/v1/contacts?email=contact1@example.com&limit=1","protocol":"https","host":["e1","envoke","com"],"path":["v1","contacts"],"query":[{"key":"email","value":"contact1@example.com"},{"key":"limit","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 09 Jan 2023 18:43:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"X-Server","value":"z1a"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"695374\",\n    \"external_id\": \"1449e4ee3cd26f882f262a9a6ac072d8\",\n    \"date_created\": \"2022-12-01T19:32:55+00:00\",\n    \"remote_id\": \"\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"title\": \"\",\n    \"email\": \"contact1@example.com\",\n    \"company\": \"API Examples Inc.\",\n    \"phone\": \"\",\n    \"address_1\": \"\",\n    \"address_2\": \"\",\n    \"city\": \"Toronto\",\n    \"country\": \"CA\",\n    \"province\": \"ON\",\n    \"postal_code\": \"\",\n    \"website\": \"\",\n    \"language\": \"\",\n    \"feedback\": \"\",\n    \"consent_status\": \"Implied - Transaction\",\n    \"consent_description\": \"Implied consent contact API example\",\n    \"consent_effective_date\": \"2022-12-01T19:32:55+00:00\",\n    \"consent_expiry\": \"2024-12-01\",\n    \"custom_fields\": {\n        \"birthday\": \"1984-03-14\"\n    },\n    \"interests\": [\n        \"Consumer\",\n        \"Segment B\",\n        \"Ontario\",\n        \"long-haul\"\n    ],\n    \"autoresponders\": [\n        \"Welcome series\"\n    ]\n}"}],"_postman_id":"82cf1269-650d-4387-961a-d3f1eb9829d9"},{"name":"Create a contact","id":"fa78600a-9412-4c52-86a5-dc8f487007d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://e1.envoke.com/v1/contacts","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","contacts"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"5162698b-2f69-4ad8-bef2-61c966704d77","name":"Create a contact","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"remote_id\": \"\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"title\": \"\",\n    \"email\": \"contact-create@example.com\",\n    \"company\": \"API Examples Inc.\",\n    \"phone\": \"\",\n    \"address_1\": \"\",\n    \"address_2\": \"\",\n    \"city\": \"Toronto\",\n    \"country\": \"CA\",\n    \"province\": \"ON\",\n    \"postal_code\": \"\",\n    \"website\": \"\",\n    \"language\": \"\",\n    \"feedback\": \"\",\n    \"consent_status\": \"Implied - Transaction\",\n    \"consent_description\": \"Implied consent contact API example\",\n    \"custom_fields\": {\n        \"birthday\": \"1994-06-08\"\n    },\n    \"interests\": [\n        \"Consumer\",\n        \"Segment B\"\n    ],\n    \"autoresponders\": [\n        \"Welcome series\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://e1.envoke.com/v1/contacts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 18 Jan 2023 21:49:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"X-Server","value":"z1b"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"result_data\": {\n        \"id\": \"695376\",\n        \"external_id\": \"33c8b49115ce8e7e72cb063c40f039b9\",\n        \"date_created\": \"2023-01-18T21:49:44+00:00\",\n        \"remote_id\": \"\",\n        \"first_name\": \"\",\n        \"last_name\": \"\",\n        \"title\": \"\",\n        \"email\": \"contact-create@example.com\",\n        \"company\": \"API Examples Inc.\",\n        \"phone\": \"\",\n        \"address_1\": \"\",\n        \"address_2\": \"\",\n        \"city\": \"Toronto\",\n        \"country\": \"CA\",\n        \"province\": \"ON\",\n        \"postal_code\": \"\",\n        \"website\": \"\",\n        \"language\": \"\",\n        \"feedback\": \"\",\n        \"consent_status\": \"Implied - Transaction\",\n        \"consent_description\": \"Implied consent contact API example\",\n        \"consent_effective_date\": \"2023-01-18T21:49:44+00:00\",\n        \"consent_expiry\": \"2025-01-18\",\n        \"custom_fields\": {\n            \"birthday\": \"1994-06-08\"\n        },\n        \"interests\": [\n            \"Consumer\",\n            \"Segment B\",\n            \"Ontario\",\n            \"long-haul\"\n        ],\n        \"autoresponders\": [\n            \"Welcome series\"\n        ]\n    },\n    \"result_text\": \"The contact was successfully created.\"\n}"}],"_postman_id":"fa78600a-9412-4c52-86a5-dc8f487007d2"},{"name":"Update a contact","id":"3040bf2d-4682-49fc-a097-49d22a293adc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://e1.envoke.com/v1/contacts","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","contacts"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"2843bf88-7496-41df-9acb-cde15021d622","name":"Update a contact","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"695376\",\n    \"first_name\": \"Updated!\"\n}","options":{"raw":{"language":"json"}}},"url":"https://e1.envoke.com/v1/contacts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 18 Jan 2023 21:51:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"X-Server","value":"z1b"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"result_data\": {\n        \"id\": \"695376\",\n        \"external_id\": \"33c8b49115ce8e7e72cb063c40f039b9\",\n        \"date_created\": \"2023-01-18T21:49:44+00:00\",\n        \"remote_id\": \"\",\n        \"first_name\": \"Updated!\",\n        \"last_name\": \"\",\n        \"title\": \"\",\n        \"email\": \"contact-create@example.com\",\n        \"company\": \"API Examples Inc.\",\n        \"phone\": \"\",\n        \"address_1\": \"\",\n        \"address_2\": \"\",\n        \"city\": \"Toronto\",\n        \"country\": \"CA\",\n        \"province\": \"ON\",\n        \"postal_code\": \"\",\n        \"website\": \"\",\n        \"language\": \"\",\n        \"feedback\": \"\",\n        \"consent_status\": \"Implied - Transaction\",\n        \"consent_description\": \"Implied consent contact API example\",\n        \"consent_effective_date\": \"2023-01-18T21:49:44+00:00\",\n        \"consent_expiry\": \"2025-01-18\",\n        \"custom_fields\": {\n            \"birthday\": \"1994-06-08\"\n        },\n        \"interests\": [\n            \"Consumer\",\n            \"Segment B\",\n            \"Ontario\",\n            \"long-haul\"\n        ],\n        \"autoresponders\": [\n            \"Welcome series\"\n        ]\n    },\n    \"result_text\": \"The contact was successfully updated.\"\n}"}],"_postman_id":"3040bf2d-4682-49fc-a097-49d22a293adc"},{"name":"Upsert a contact","id":"7aa4cf37-7b4e-41d9-b7fa-b20a0aff59bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"https://e1.envoke.com/v1/contacts?upsert=1","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","contacts"],"host":["e1","envoke","com"],"query":[{"key":"upsert","value":"1"}],"variable":[]}},"response":[{"id":"336eb519-51fa-48bc-b568-f3b0e07f6778","name":"Upsert a contact","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remote_id\": \"\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"title\": \"\",\n    \"email\": \"contact-create@example.com\",\n    \"company\": \"API Examples Inc.\",\n    \"phone\": \"\",\n    \"address_1\": \"\",\n    \"address_2\": \"\",\n    \"city\": \"Toronto\",\n    \"country\": \"CA\",\n    \"province\": \"ON\",\n    \"postal_code\": \"\",\n    \"website\": \"\",\n    \"language\": \"\",\n    \"feedback\": \"\",\n    \"consent_status\": \"Implied - Transaction\",\n    \"consent_description\": \"Implied consent contact API example\",\n    \"custom_fields\": {\n        \"birthday\": \"1994-06-08\"\n    },\n    \"interests\": [\n        \"Consumer\",\n        \"Segment B\"\n    ],\n    \"autoresponders\": [\n        \"Welcome series\"\n    ]\n}"},"url":{"raw":"https://e1.envoke.com/v1/contacts?upsert=1","protocol":"https","host":["e1","envoke","com"],"path":["v1","contacts"],"query":[{"key":"upsert","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"result_data\": {\n        \"id\": \"695376\",\n        \"external_id\": \"33c8b49115ce8e7e72cb063c40f039b9\",\n        \"date_created\": \"2023-01-18T21:49:44+00:00\",\n        \"remote_id\": \"\",\n        \"first_name\": \"Updated!\",\n        \"last_name\": \"\",\n        \"title\": \"\",\n        \"email\": \"contact-create@example.com\",\n        \"company\": \"API Examples Inc.\",\n        \"phone\": \"\",\n        \"address_1\": \"\",\n        \"address_2\": \"\",\n        \"city\": \"Toronto\",\n        \"country\": \"CA\",\n        \"province\": \"ON\",\n        \"postal_code\": \"\",\n        \"website\": \"\",\n        \"language\": \"\",\n        \"feedback\": \"\",\n        \"consent_status\": \"Implied - Transaction\",\n        \"consent_description\": \"Implied consent contact API example\",\n        \"consent_effective_date\": \"2023-01-18T21:49:44+00:00\",\n        \"consent_expiry\": \"2025-01-18\",\n        \"custom_fields\": {\n            \"birthday\": \"1994-06-08\"\n        },\n        \"interests\": [\n            \"Consumer\",\n            \"Segment B\",\n            \"Ontario\",\n            \"long-haul\"\n        ],\n        \"autoresponders\": [\n            \"Welcome series\"\n        ]\n    },\n    \"result_text\": \"The contact was successfully updated.\"\n}"}],"_postman_id":"7aa4cf37-7b4e-41d9-b7fa-b20a0aff59bb"},{"name":"CSV file upload for import sync","id":"9e555373-0efb-408f-8157-781d6ad42c9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"aad70e16-c5cc-4e66-abd8-c81057bda082","value":null}]},"url":"https://e1.envoke.com/v1/contacts/import/upload/sync","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","contacts","import","upload","sync"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"a93e6159-387e-4dd5-9746-fa12cf91c962","name":"Upsert a contact","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"ef92f3f2-a6d8-4c60-bd38-c366eefa9e94","value":null}],"options":{"raw":{"language":"json"}}},"url":"https://e1.envoke.com/v1/contacts/import/upload/sync"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"result_data\": {\n        \"filepath\": \"/auto_import/1_test_20250729.csv\"\n    },\n    \"result_text\": \"File uploaded successfully\"\n}"}],"_postman_id":"9e555373-0efb-408f-8157-781d6ad42c9b"}],"id":"e09f5909-dec4-4e70-8ac1-6b18a2d20043","description":"<p>Support documentation for <a href=\"https://support.envoke.com/en/collections/545755-contact-update-apis\">Contacts API</a></p>\n","_postman_id":"e09f5909-dec4-4e70-8ac1-6b18a2d20043","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Customfields","item":[{"name":"List custom fields","id":"665e366e-d41a-4ace-b3d7-5e57069b1949","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/customfields?limit=10&skip=0&fields=id,name,field_type&result_type=kvp","description":"<p>Returns a paginated array of contact-scoped custom fields for the authenticated account. Use <code>?limit</code> and <code>?skip</code> for pagination. Use <code>?result_type=kvp</code> for a flat id-to-name map.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["customfields"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Maximum number of records to return. Default is 10, hard cap is 100. When used alongside <code>?fields=</code> or <code>?result_type=kvp</code> (shaped responses), the cap is lifted and an explicit limit above 100 is honoured as-is.</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Number of records to skip. Used for pagination.</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When omitted, all fields are returned. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,field_type"},{"description":{"content":"<p>Set to <code>kvp</code> to receive results as a flat key-value object (<code>{ \"&lt;id&gt;\": \"&lt;name&gt;\" }</code>) instead of an array of objects. Useful for populating dropdowns. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"result_type","value":"kvp"}],"variable":[]}},"response":[{"id":"70c8cb9d-b4e4-4976-b9e5-f37c71668586","name":"Successful response. Returns an array of custom fields, or a key-value object when `result_type=kvp` is used.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/customfields?limit=10&skip=0&fields=id,name,field_type&result_type=kvp","host":["https://e1.envoke.com/v2"],"path":["customfields"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp` (shaped responses), the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When omitted, all fields are returned. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,field_type"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. Useful for populating dropdowns. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"result_type","value":"kvp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"1\",\n    \"name\": \"phone_number\",\n    \"description\": \"Customer's mobile number\",\n    \"field_type\": \"text\"\n  },\n  {\n    \"id\": \"2\",\n    \"name\": \"birthday\",\n    \"description\": \"\",\n    \"field_type\": \"date\"\n  }\n]"},{"id":"16b6aec3-5373-40f0-bce0-ddf057ce9979","name":"Invalid query parameters.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/customfields?limit=10&skip=0&fields=id,name,field_type&result_type=kvp","host":["https://e1.envoke.com/v2"],"path":["customfields"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp` (shaped responses), the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When omitted, all fields are returned. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,field_type"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. Useful for populating dropdowns. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"result_type","value":"kvp"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"null"}],"_postman_id":"665e366e-d41a-4ace-b3d7-5e57069b1949"},{"name":"Get a single custom field","id":"94a2ba3f-b34f-4cb5-a020-18cd1e76cf2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/customfields/:id?fields=id,name,field_type","description":"<p>Returns a single custom field by its ID.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["customfields",":id"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When omitted, all fields are returned. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,field_type"}],"variable":[{"id":"18789438-b4e9-4440-8801-d9de27d54ae1","description":{"content":"<p>The unique ID of the custom field.</p>\n","type":"text/plain"},"type":"any","value":"4208","key":"id"}]}},"response":[{"id":"ae127321-f9c1-40b2-8af6-e7e4ca02b0d6","name":"The requested custom field.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/customfields/:id?fields=id,name,field_type","host":["https://e1.envoke.com/v2"],"path":["customfields",":id"],"query":[{"description":"Comma-separated list of fields to include in each response object. When omitted, all fields are returned. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,field_type"}],"variable":[{"key":"id","value":"4208","description":"The unique ID of the custom field."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"42\",\n  \"name\": \"phone_number\",\n  \"description\": \"Customer's mobile phone number\",\n  \"field_type\": \"text\"\n}"},{"id":"101bdedf-2436-478c-96e8-cec2d03da252","name":"The requested custom field ID was not found. GET by ID returns an empty array rather than an error envelope.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/customfields/:id?fields=id,name,field_type","host":["https://e1.envoke.com/v2"],"path":["customfields",":id"],"query":[{"description":"Comma-separated list of fields to include in each response object. When omitted, all fields are returned. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,field_type"}],"variable":[{"key":"id","value":"4208","description":"The unique ID of the custom field."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"94a2ba3f-b34f-4cb5-a020-18cd1e76cf2f"},{"name":"Create a custom field","id":"f1ac6a1a-61da-46b2-b417-bb25f6832c3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"phone_number\",\n  \"field_type\": \"text\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/customfields","description":"<p>Creates a new contact-scoped custom field. <code>name</code> and <code>field_type</code> are required. The <code>field_type</code> cannot be changed after creation.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["customfields"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[]}},"response":[{"id":"039cb267-b638-4f0a-99fa-2c69d66fb2db","name":"Custom field created successfully. Returns the new field object.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"phone_number\",\n  \"field_type\": \"text\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/customfields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Created\",\n  \"result_data\": {\n    \"id\": \"42\",\n    \"name\": \"phone_number\",\n    \"description\": \"Customer's mobile phone number\",\n    \"field_type\": \"text\"\n  }\n}"},{"id":"0a1a530b-7e7a-4f33-9692-e14883f5a806","name":"Validation error.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"phone_number\",\n  \"field_type\": \"text\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/customfields"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"The field 'name' is required\",\n      \"field_type is required\"\n    ]\n  }\n}"}],"_postman_id":"f1ac6a1a-61da-46b2-b417-bb25f6832c3b"},{"name":"Update a custom field","id":"1245e7c1-deea-492b-b506-bbfe7bfcba23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"Updated description for the field\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/customfields/:id","description":"<p>Updates the <code>name</code> and/or <code>description</code> of an existing custom field. <code>field_type</code> cannot be changed after creation.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["customfields",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"c591f9d6-8345-41de-9859-1167c4199062","description":{"content":"<p>The unique ID of the custom field.</p>\n","type":"text/plain"},"type":"any","value":"4208","key":"id"}]}},"response":[{"id":"55e6de67-1384-445e-95dd-62cecb5eb901","name":"Custom field updated successfully. Returns the updated field object.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"Updated description for the field\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/customfields/:id","host":["https://e1.envoke.com/v2"],"path":["customfields",":id"],"variable":[{"key":"id","value":"4208","description":"The unique ID of the custom field."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Updated\",\n  \"result_data\": {\n    \"id\": \"42\",\n    \"name\": \"phone_number\",\n    \"description\": \"Updated description for the field\",\n    \"field_type\": \"text\"\n  }\n}"},{"id":"e6086161-5a15-456c-9c68-38ceb2daa89d","name":"Validation error or field not found. All errors use the validation envelope.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"Updated description for the field\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/customfields/:id","host":["https://e1.envoke.com/v2"],"path":["customfields",":id"],"variable":[{"key":"id","value":"4208","description":"The unique ID of the custom field."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"The field 'field_type' cannot be changed after creation\"\n    ]\n  }\n}"}],"_postman_id":"1245e7c1-deea-492b-b506-bbfe7bfcba23"},{"name":"Delete a custom field","id":"277ef8ad-a742-41ce-b1ce-0466e224141e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/customfields/:id","description":"<p>Permanently deletes a custom field and <strong>all associated contact values</strong>. This action cannot be undone.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["customfields",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"bd899dab-3f05-46cb-ae4e-b80b89d2958d","description":{"content":"<p>The unique ID of the custom field.</p>\n","type":"text/plain"},"type":"any","value":"4208","key":"id"}]}},"response":[{"id":"b6db856f-4f1f-4960-b3bf-f13c88a3efd8","name":"Custom field deleted successfully.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/customfields/:id","host":["https://e1.envoke.com/v2"],"path":["customfields",":id"],"variable":[{"key":"id","value":"4208","description":"The unique ID of the custom field."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Deleted\",\n  \"result_data\": []\n}"},{"id":"d6e9cf08-a123-4fe1-bd9e-481dc44e6eb1","name":"The requested custom field ID was not found. PATCH and DELETE return a validation error envelope.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/customfields/:id","host":["https://e1.envoke.com/v2"],"path":["customfields",":id"],"variable":[{"key":"id","value":"4208","description":"The unique ID of the custom field."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"Item with id '42' not found\"\n    ]\n  }\n}"}],"_postman_id":"277ef8ad-a742-41ce-b1ce-0466e224141e"}],"id":"8967ed3a-7294-4f8a-9dd8-859594471b07","_postman_id":"8967ed3a-7294-4f8a-9dd8-859594471b07","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Groups","item":[{"name":"{type}","item":[{"name":"List groups","id":"557a8df8-92c8-4e48-9fc7-0767fc20af5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/groups/:type?limit=10&skip=0&fields=id,name&result_type=kvp&filter[id]=string&filter[name]=string&filter[parent_group]=string&sort[name]=asc","description":"<p>Returns a paginated array of groups for the authenticated account and the specified item type, sorted alphabetically by name. Supports filtering by <code>id</code>, <code>name</code>, and <code>parent_group</code>. Use <code>?result_type=kvp</code> for a flat id-to-name map.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["groups",":type"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Maximum number of records to return. Default is 10, hard cap is 100. When used alongside <code>?fields=</code> or <code>?result_type=kvp</code>, the cap is lifted and an explicit limit above 100 is honoured as-is.</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Number of records to skip. Used for pagination.</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name"},{"description":{"content":"<p>Set to <code>kvp</code> to receive results as a flat key-value object (<code>{ \"&lt;id&gt;\": \"&lt;name&gt;\" }</code>) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.</p>\n","type":"text/plain"},"key":"result_type","value":"kvp"},{"description":{"content":"<p>Filter by group ID. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[id]","value":"string"},{"description":{"content":"<p>Filter by group name. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[name]","value":"string"},{"description":{"content":"<p>Filter by parent group name or numeric ID. Supports <code>(ne)</code> operator. Pass <code>\"\"</code> or <code>0</code> to filter for top-level groups only.</p>\n","type":"text/plain"},"key":"filter[parent_group]","value":"string"},{"description":{"content":"<p>Sort by name. Value: <code>asc</code> or <code>desc</code>.</p>\n","type":"text/plain"},"key":"sort[name]","value":"asc"}],"variable":[{"id":"adbe29b5-038f-44c2-a99e-f67a1b07a4ca","description":{"content":"<p>The item type whose groups are being managed.</p>\n","type":"text/plain"},"type":"any","value":"subscriptions","key":"type"}]}},"response":[{"id":"1d1c721f-f5a0-4863-b48b-5645c75b8e99","name":"A list of groups.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/groups/:type?limit=10&skip=0&fields=id,name&result_type=kvp&filter[id]=string&filter[name]=string&filter[parent_group]=string&sort[name]=asc","host":["https://e1.envoke.com/v2"],"path":["groups",":type"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp`, the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.","key":"result_type","value":"kvp"},{"description":"Filter by group ID. Supports `(ne)` operator.","key":"filter[id]","value":"string"},{"description":"Filter by group name. Supports `(ne)` operator.","key":"filter[name]","value":"string"},{"description":"Filter by parent group name or numeric ID. Supports `(ne)` operator. Pass `\"\"` or `0` to filter for top-level groups only.","key":"filter[parent_group]","value":"string"},{"description":"Sort by name. Value: `asc` or `desc`.","key":"sort[name]","value":"asc"}],"variable":[{"key":"type","value":"subscriptions","description":"The item type whose groups are being managed."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"7\",\n    \"name\": \"Graduate Studies\",\n    \"parent_group\": \"Academic Programs\"\n  },\n  {\n    \"id\": \"3\",\n    \"name\": \"Student Life\",\n    \"parent_group\": \"\"\n  }\n]"},{"id":"06554c21-1c70-4653-9710-e42e9ec39c2e","name":"Invalid query parameters.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/groups/:type?limit=10&skip=0&fields=id,name&result_type=kvp&filter[id]=string&filter[name]=string&filter[parent_group]=string&sort[name]=asc","host":["https://e1.envoke.com/v2"],"path":["groups",":type"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp`, the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.","key":"result_type","value":"kvp"},{"description":"Filter by group ID. Supports `(ne)` operator.","key":"filter[id]","value":"string"},{"description":"Filter by group name. Supports `(ne)` operator.","key":"filter[name]","value":"string"},{"description":"Filter by parent group name or numeric ID. Supports `(ne)` operator. Pass `\"\"` or `0` to filter for top-level groups only.","key":"filter[parent_group]","value":"string"},{"description":"Sort by name. Value: `asc` or `desc`.","key":"sort[name]","value":"asc"}],"variable":[{"key":"type","value":"subscriptions","description":"The item type whose groups are being managed."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"string\",\n  \"result_data\": {\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"557a8df8-92c8-4e48-9fc7-0767fc20af5d"},{"name":"Get a single group","id":"39c444f9-e837-4b50-8b70-5969c0ffc027","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/groups/:type/:id?fields=id,name","description":"<p>Returns a single group by its ID. Returns an empty array (<code>[]</code>) if the ID is not found.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["groups",":type",":id"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name"}],"variable":[{"id":"74dd3c51-8c72-4b90-9827-6772322dac88","description":{"content":"<p>The item type whose groups are being managed.</p>\n","type":"text/plain"},"type":"any","value":"subscriptions","key":"type"},{"id":"c34e3fe8-1e0f-4ac0-ab7b-eed3e4dd8e05","description":{"content":"<p>The unique ID of the group.</p>\n","type":"text/plain"},"type":"any","value":"7741","key":"id"}]}},"response":[{"id":"85066638-c0dd-4bd9-9899-84a11fee3886","name":"The requested group, or an empty array if not found.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/groups/:type/:id?fields=id,name","host":["https://e1.envoke.com/v2"],"path":["groups",":type",":id"],"query":[{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name"}],"variable":[{"key":"type","value":"subscriptions","description":"The item type whose groups are being managed."},{"key":"id","value":"7741","description":"The unique ID of the group."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"7\",\n  \"name\": \"Graduate Studies\",\n  \"parent_group\": \"Academic Programs\"\n}"}],"_postman_id":"39c444f9-e837-4b50-8b70-5969c0ffc027"},{"name":"Create a group","id":"c2486b33-57b4-4c63-b545-9b4a160af8ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Academic Programs\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/groups/:type","description":"<p>Creates a new group of the specified type. <code>name</code> is required. Optionally nest the group under a parent by providing <code>parent_group</code> as a group name or ID. The parent must itself be a top-level group — only one level of nesting is supported.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["groups",":type"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"e36c39c4-4ad2-44ce-be39-8dccc1d5e26a","description":{"content":"<p>The item type whose groups are being managed.</p>\n","type":"text/plain"},"type":"any","value":"subscriptions","key":"type"}]}},"response":[{"id":"8dbf0b6f-7873-40a6-bb8c-4e3d2d3317f6","name":"Group created successfully.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Academic Programs\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/groups/:type","host":["https://e1.envoke.com/v2"],"path":["groups",":type"],"variable":[{"key":"type","value":"subscriptions","description":"The item type whose groups are being managed."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Created\",\n  \"result_data\": {\n    \"id\": \"8\",\n    \"name\": \"Graduate Studies\",\n    \"parent_group\": \"Academic Programs\"\n  }\n}"},{"id":"57bd9d50-82fc-45c6-8a46-b1d20fcced68","name":"Validation error.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Academic Programs\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/groups/:type","host":["https://e1.envoke.com/v2"],"path":["groups",":type"],"variable":[{"key":"type","value":"subscriptions","description":"The item type whose groups are being managed."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"The field 'name' is required\"\n    ]\n  }\n}"}],"_postman_id":"c2486b33-57b4-4c63-b545-9b4a160af8ae"},{"name":"Update a group","id":"e0347ef1-edb6-44b8-8d62-a6207277a717","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Group Name\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/groups/:type/:id","description":"<p>Updates one or more fields on an existing group. <code>name</code> and <code>parent_group</code> are updatable. If <code>id</code> is included in the body, it must match the <code>{id}</code> in the URL — if they differ, a validation envelope is returned. Pass <code>null</code> or <code>\"\"</code> for <code>parent_group</code> to promote the group to top-level.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["groups",":type",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"1e3269d4-f3d7-44dd-9448-5cc40d09dbd4","description":{"content":"<p>The item type whose groups are being managed.</p>\n","type":"text/plain"},"type":"any","value":"subscriptions","key":"type"},{"id":"9fd3d4ab-65a9-4c32-907e-50ee7c174547","description":{"content":"<p>The unique ID of the group.</p>\n","type":"text/plain"},"type":"any","value":"7741","key":"id"}]}},"response":[{"id":"aee60e0d-fadd-45a3-ad32-f962ea455503","name":"Group updated successfully.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Group Name\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/groups/:type/:id","host":["https://e1.envoke.com/v2"],"path":["groups",":type",":id"],"variable":[{"key":"type","value":"subscriptions","description":"The item type whose groups are being managed."},{"key":"id","value":"7741","description":"The unique ID of the group."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Updated\",\n  \"result_data\": {\n    \"id\": \"7\",\n    \"name\": \"Graduate Studies\",\n    \"parent_group\": \"Academic Programs\"\n  }\n}"},{"id":"ba9396d7-74ac-40e5-9955-e0521fd52b73","name":"Validation error, group not found, or id mismatch.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Group Name\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/groups/:type/:id","host":["https://e1.envoke.com/v2"],"path":["groups",":type",":id"],"variable":[{"key":"type","value":"subscriptions","description":"The item type whose groups are being managed."},{"key":"id","value":"7741","description":"The unique ID of the group."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"Item with id '999999' not found\"\n    ]\n  }\n}"}],"_postman_id":"e0347ef1-edb6-44b8-8d62-a6207277a717"},{"name":"Delete a group","id":"97ea9bce-848d-4353-bbbf-e4eef0a4aa99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/groups/:type/:id","description":"<p>Permanently deletes a group. <strong>The group must be empty</strong> — it cannot have subgroups or assigned items (tags, subscriptions, messages, or templates depending on type). The same validation error is returned in both cases. Remove all subgroups and reassign or delete all assigned items before deleting the group.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["groups",":type",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"c15ed565-1516-47f5-80f7-39ef032dfdef","description":{"content":"<p>The item type whose groups are being managed.</p>\n","type":"text/plain"},"type":"any","value":"subscriptions","key":"type"},{"id":"66943b62-21f9-413f-bbf8-5d5b2d20ee20","description":{"content":"<p>The unique ID of the group.</p>\n","type":"text/plain"},"type":"any","value":"7741","key":"id"}]}},"response":[{"id":"731aa87f-d2e5-4608-9e40-af1968edfe64","name":"Group deleted, or a validation error.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/groups/:type/:id","host":["https://e1.envoke.com/v2"],"path":["groups",":type",":id"],"variable":[{"key":"type","value":"subscriptions","description":"The item type whose groups are being managed."},{"key":"id","value":"7741","description":"The unique ID of the group."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Deleted\",\n  \"result_data\": []\n}"}],"_postman_id":"97ea9bce-848d-4353-bbbf-e4eef0a4aa99"}],"id":"bf31326d-5643-40af-8595-5e7510120adc","_postman_id":"bf31326d-5643-40af-8595-5e7510120adc","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}}],"id":"2462d4df-aadb-4244-883f-f35137455c08","_postman_id":"2462d4df-aadb-4244-883f-f35137455c08","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Messages","item":[{"name":"List messages","id":"f68d9324-9acf-469b-b226-52e90e6df520","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://e1.envoke.com/v2/messages","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","messages"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"c13958e7-e0c8-4943-b1bd-78997e7de4bd","name":"List messages","originalRequest":{"method":"GET","header":[],"url":"https://e1.envoke.com/v2/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 Nov 2024 15:19:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Security-Policy","value":"report-to envoke-csp; report-uri https://envoke.report-uri.com/r/d/csp/reportOnly; default-src * data: blob: about: 'unsafe-eval' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://files.envoke.com/web_files/812/scripts/nvk.js https://js.intercomcdn.com https://widget.intercom.io/widget/ev9a263d https://*.googletagmanager.com https://*.google-analytics.com https://w338l7p6z1nt.statuspage.io https://static.hotjar.com https://cdnjs.cloudflare.com/ajax/libs/ 'strict-dynamic' 'nonce-a8c04feb143c315bcf31c4945b6f4c89' 'unsafe-hashes' 'sha256-Am38bprl7BQPJunroUzCTnX+UO/sZfvzxg5YpeXtH+o=' 'sha256-WeOXGDbPzjBm/bYHwPEmQ39Csa8Vi0OIxPeIg0U92Zk=' 'sha256-U2jHzcJroMbkJDy1d+p5YdXgm7A4+XRYRXKoZ2OoPw0=' 'sha256-ZkbfD9Ak1nuqO070B9P/o5dZt91kU4gvjxKYbG0pOEI=' 'sha256-2rvfFrggTCtyF5WOiTri1gDS8Boibj4Njn0e+VCBmDI=';"},{"key":"X-Server","value":"z1b"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1234567\",\n        \"external_id\": \"26d66d0a3cd805c2871673e1414448d4\",\n        \"preview_url\": \"https://engage.envoke.com/m/55aee4d0dbb93586ad05812b1cc9321e/m/26d66d0a3cd805c2871673e1414448d4\",\n        \"create_time\": \"2024-11-20 11:53:41\",\n        \"modified_time\": \"2024-11-20 18:48:19\",\n        \"name\": \"API example message\",\n        \"group\": \"\",\n        \"status\": \"Draft\",\n        \"send_time\": \"\",\n        \"sender\": \"Envoke Sales <sales@envoke.com>\",\n        \"subject\": \"\",\n        \"language\": \"en\",\n        \"recipient_subscription\": \"\",\n        \"recipient_tag\": \"\",\n        \"recipient_segment\": \"\",\n        \"publish_archive\": false,\n        \"utm_tag_links\": true\n    }\n]"}],"_postman_id":"f68d9324-9acf-469b-b226-52e90e6df520"},{"name":"Get a single message by ID","id":"80f3cf73-e81a-4f0f-afb6-2b8da5eb8f26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/messages/:id","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","messages",":id"],"host":["e1","envoke","com"],"query":[],"variable":[{"type":"any","value":"1234","key":"id"}]}},"response":[{"id":"ab016927-f1f9-45f6-ac2e-2d0945328303","name":"Get a single message by ID","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://e1.envoke.com/v2/messages/:id","protocol":"https","host":["e1","envoke","com"],"path":["v2","messages",":id"],"variable":[{"key":"id","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 Nov 2024 15:52:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Security-Policy","value":"report-to envoke-csp; report-uri https://envoke.report-uri.com/r/d/csp/reportOnly; default-src * data: blob: about: 'unsafe-eval' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://files.envoke.com/web_files/812/scripts/nvk.js https://js.intercomcdn.com https://widget.intercom.io/widget/ev9a263d https://*.googletagmanager.com https://*.google-analytics.com https://w338l7p6z1nt.statuspage.io https://static.hotjar.com https://cdnjs.cloudflare.com/ajax/libs/ 'strict-dynamic' 'nonce-d7dcf1a85241f623ad8b0aebb33edb66' 'unsafe-hashes' 'sha256-Am38bprl7BQPJunroUzCTnX+UO/sZfvzxg5YpeXtH+o=' 'sha256-WeOXGDbPzjBm/bYHwPEmQ39Csa8Vi0OIxPeIg0U92Zk=' 'sha256-U2jHzcJroMbkJDy1d+p5YdXgm7A4+XRYRXKoZ2OoPw0=' 'sha256-ZkbfD9Ak1nuqO070B9P/o5dZt91kU4gvjxKYbG0pOEI=' 'sha256-2rvfFrggTCtyF5WOiTri1gDS8Boibj4Njn0e+VCBmDI=';"},{"key":"X-Server","value":"z1b"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"9876543\",\n    \"external_id\": \"26d66d0a3cd805c2871673e1415648d4\",\n    \"preview_url\": \"https://engage.envoke.com/m/55aee4d0dbb93586ad05812b1cc9321e/m/26d66d0a3cd805c2871673e1415648d4\",\n    \"create_time\": \"2024-11-20 11:53:41\",\n    \"modified_time\": \"2024-11-20 18:48:19\",\n    \"name\": \"API example message\",\n    \"group\": \"\",\n    \"status\": \"Draft\",\n    \"send_time\": \"\",\n    \"sender\": \"Envoke Support <helpdesk@envoke.com>\",\n    \"subject\": \"\",\n    \"language\": \"en\",\n    \"recipient_subscription\": \"\",\n    \"recipient_tag\": \"\",\n    \"recipient_segment\": \"\",\n    \"publish_archive\": false,\n    \"utm_tag_links\": false\n}"}],"_postman_id":"80f3cf73-e81a-4f0f-afb6-2b8da5eb8f26"},{"name":"Create a message","id":"3dc3bae4-720b-4e37-8f23-a9216319f5c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://e1.envoke.com/v2/messages","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","messages"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"2c65c89e-ebd3-4cb0-853f-efc985ab29db","name":"Create a message","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"API example message create\",\n    \"html\": \"Hello, world!\"\n}","options":{"raw":{"language":"json"}}},"url":"https://e1.envoke.com/v2/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 Nov 2024 12:13:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Security-Policy","value":"report-to envoke-csp; report-uri https://envoke.report-uri.com/r/d/csp/reportOnly; default-src * data: blob: about: 'unsafe-eval' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://files.envoke.com/web_files/812/scripts/nvk.js https://js.intercomcdn.com https://widget.intercom.io/widget/ev9a263d https://*.googletagmanager.com https://*.google-analytics.com https://w338l7p6z1nt.statuspage.io https://static.hotjar.com https://cdnjs.cloudflare.com/ajax/libs/ 'strict-dynamic' 'nonce-3fd4aff736bda1e7ff413e67df36a5b6' 'unsafe-hashes' 'sha256-Am38bprl7BQPJunroUzCTnX+UO/sZfvzxg5YpeXtH+o=' 'sha256-WeOXGDbPzjBm/bYHwPEmQ39Csa8Vi0OIxPeIg0U92Zk=' 'sha256-U2jHzcJroMbkJDy1d+p5YdXgm7A4+XRYRXKoZ2OoPw0=' 'sha256-ZkbfD9Ak1nuqO070B9P/o5dZt91kU4gvjxKYbG0pOEI=' 'sha256-2rvfFrggTCtyF5WOiTri1gDS8Boibj4Njn0e+VCBmDI=';"},{"key":"X-Server","value":"z1a"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"result_text\": \"Successfully created\",\n    \"result_data\": {\n        \"id\": \"3741474\",\n        \"external_id\": \"959dd186e24a512568d6745bb6de1ba8\",\n        \"preview_url\": \"https://engage.envoke.com/m/55aee4d0dbb93586ad05812b1cc9321e/m/959dd186e24a512568d6745bb6de1ba8\",\n        \"create_time\": \"2024-11-26 07:13:33\",\n        \"modified_time\": \"2024-11-26 07:13:33\",\n        \"name\": \"API example message create\",\n        \"group\": \"\",\n        \"status\": \"Draft\",\n        \"send_time\": \"\",\n        \"sender\": \"Envoke Sales <sales@envoke.com>\",\n        \"subject\": \"\",\n        \"language\": \"en\",\n        \"recipient_subscription\": \"\",\n        \"recipient_tag\": \"\",\n        \"recipient_segment\": \"\",\n        \"publish_archive\": false,\n        \"utm_tag_links\": true\n    }\n}"}],"_postman_id":"3dc3bae4-720b-4e37-8f23-a9216319f5c7"},{"name":"Update a message","id":"70fe6040-3d13-4754-8be2-7ed259db9f59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://e1.envoke.com/v2/messages/:id","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","messages",":id"],"host":["e1","envoke","com"],"query":[],"variable":[{"type":"any","value":"1234","key":"id"}]}},"response":[{"id":"476fa1ff-d54e-4b7e-b13a-e7ecc51f9ae4","name":"Update a message","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"subject\": \"API example update\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/messages/:id","protocol":"https","host":["e1","envoke","com"],"path":["v2","messages",":id"],"variable":[{"key":"id","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 Nov 2024 12:20:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Security-Policy","value":"report-to envoke-csp; report-uri https://envoke.report-uri.com/r/d/csp/reportOnly; default-src * data: blob: about: 'unsafe-eval' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://files.envoke.com/web_files/812/scripts/nvk.js https://js.intercomcdn.com https://widget.intercom.io/widget/ev9a263d https://*.googletagmanager.com https://*.google-analytics.com https://w338l7p6z1nt.statuspage.io https://static.hotjar.com https://cdnjs.cloudflare.com/ajax/libs/ 'strict-dynamic' 'nonce-602a87216740db4187e0846129a21fe3' 'unsafe-hashes' 'sha256-Am38bprl7BQPJunroUzCTnX+UO/sZfvzxg5YpeXtH+o=' 'sha256-WeOXGDbPzjBm/bYHwPEmQ39Csa8Vi0OIxPeIg0U92Zk=' 'sha256-U2jHzcJroMbkJDy1d+p5YdXgm7A4+XRYRXKoZ2OoPw0=' 'sha256-ZkbfD9Ak1nuqO070B9P/o5dZt91kU4gvjxKYbG0pOEI=' 'sha256-2rvfFrggTCtyF5WOiTri1gDS8Boibj4Njn0e+VCBmDI=';"},{"key":"X-Server","value":"z1a"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"result_text\": \"Successfully updated\",\n    \"result_data\": {\n        \"id\": \"3741474\",\n        \"external_id\": \"959dd186e24a512568d6745bb6de1ba8\",\n        \"preview_url\": \"https://engage.envoke.com/m/55aee4d0dbb93586ad05812b1cc9321e/m/959dd186e24a512568d6745bb6de1ba8\",\n        \"create_time\": \"2024-11-26 07:13:33\",\n        \"modified_time\": \"2024-11-26 07:20:20\",\n        \"name\": \"API example message create\",\n        \"group\": \"\",\n        \"status\": \"Draft\",\n        \"send_time\": \"\",\n        \"sender\": \"Envoke Sales <sales@envoke.com>\",\n        \"subject\": \"API example update\",\n        \"language\": \"en\",\n        \"recipient_subscription\": \"\",\n        \"recipient_tag\": \"\",\n        \"recipient_segment\": \"\",\n        \"publish_archive\": false,\n        \"utm_tag_links\": true\n    }\n}"}],"_postman_id":"70fe6040-3d13-4754-8be2-7ed259db9f59"},{"name":"Send a message","id":"56c2ea95-7a49-46af-a3c3-5ab8cf3e0810","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/messages/:id/send","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","messages",":id","send"],"host":["e1","envoke","com"],"query":[],"variable":[{"type":"any","value":"1234","key":"id"}]}},"response":[{"id":"2cb9c2f6-6b51-44f1-bde7-26ade697160c","name":"Send a message","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"send_time\": \"2024-12-01 13:30:00\",\n    \"recipient_tag\": \"API example list\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/messages/:id/send","protocol":"https","host":["e1","envoke","com"],"path":["v2","messages",":id","send"],"variable":[{"key":"id","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 Nov 2024 15:10:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Security-Policy","value":"report-to envoke-csp; report-uri https://envoke.report-uri.com/r/d/csp/reportOnly; default-src * data: blob: about: 'unsafe-eval' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://files.envoke.com/web_files/812/scripts/nvk.js https://js.intercomcdn.com https://widget.intercom.io/widget/ev9a263d https://*.googletagmanager.com https://*.google-analytics.com https://w338l7p6z1nt.statuspage.io https://static.hotjar.com https://cdnjs.cloudflare.com/ajax/libs/ 'strict-dynamic' 'nonce-2a5b2a9f111d8c30c0dc52392cc85212' 'unsafe-hashes' 'sha256-Am38bprl7BQPJunroUzCTnX+UO/sZfvzxg5YpeXtH+o=' 'sha256-WeOXGDbPzjBm/bYHwPEmQ39Csa8Vi0OIxPeIg0U92Zk=' 'sha256-U2jHzcJroMbkJDy1d+p5YdXgm7A4+XRYRXKoZ2OoPw0=' 'sha256-ZkbfD9Ak1nuqO070B9P/o5dZt91kU4gvjxKYbG0pOEI=' 'sha256-2rvfFrggTCtyF5WOiTri1gDS8Boibj4Njn0e+VCBmDI=';"},{"key":"X-Server","value":"z1b"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"result_text\": \"Message scheduled for send\",\n    \"result_data\": {\n        \"id\": \"3741474\",\n        \"send_time\": \"2024-12-01 13:30:00\",\n        \"recipients\": {\n            \"total_selected\": 1,\n            \"emails_to_be_sent\": 1,\n            \"excluded_unsubscribed_contacts\": 0,\n            \"excluded_invalid_emails\": 0,\n            \"excluded_bounced_emails\": 0,\n            \"excluded_unverified_emails\": 0\n        }\n    }\n}"}],"_postman_id":"56c2ea95-7a49-46af-a3c3-5ab8cf3e0810"},{"name":"Cancel a scheduled message","id":"572a09ef-135e-44c8-aa54-94c5ff9aec58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/messages/:id/cancel","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","messages",":id","cancel"],"host":["e1","envoke","com"],"query":[],"variable":[{"type":"any","value":"1234","key":"id"}]}},"response":[{"id":"86b5c15b-c58f-478d-ba38-595a1b4bdfd0","name":"Send a message","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"send_time\": \"2024-12-01 13:30:00\",\n    \"recipient_tag\": \"API example list\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/messages/:id/cancel","protocol":"https","host":["e1","envoke","com"],"path":["v2","messages",":id","cancel"],"variable":[{"key":"id","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 Nov 2024 15:10:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Security-Policy","value":"report-to envoke-csp; report-uri https://envoke.report-uri.com/r/d/csp/reportOnly; default-src * data: blob: about: 'unsafe-eval' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://files.envoke.com/web_files/812/scripts/nvk.js https://js.intercomcdn.com https://widget.intercom.io/widget/ev9a263d https://*.googletagmanager.com https://*.google-analytics.com https://w338l7p6z1nt.statuspage.io https://static.hotjar.com https://cdnjs.cloudflare.com/ajax/libs/ 'strict-dynamic' 'nonce-2a5b2a9f111d8c30c0dc52392cc85212' 'unsafe-hashes' 'sha256-Am38bprl7BQPJunroUzCTnX+UO/sZfvzxg5YpeXtH+o=' 'sha256-WeOXGDbPzjBm/bYHwPEmQ39Csa8Vi0OIxPeIg0U92Zk=' 'sha256-U2jHzcJroMbkJDy1d+p5YdXgm7A4+XRYRXKoZ2OoPw0=' 'sha256-ZkbfD9Ak1nuqO070B9P/o5dZt91kU4gvjxKYbG0pOEI=' 'sha256-2rvfFrggTCtyF5WOiTri1gDS8Boibj4Njn0e+VCBmDI=';"},{"key":"X-Server","value":"z1b"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"result_text\": \"Message scheduled for send\",\n    \"result_data\": {\n        \"id\": \"3741474\",\n        \"send_time\": \"2024-12-01 13:30:00\",\n        \"recipients\": {\n            \"total_selected\": 1,\n            \"emails_to_be_sent\": 1,\n            \"excluded_unsubscribed_contacts\": 0,\n            \"excluded_invalid_emails\": 0,\n            \"excluded_bounced_emails\": 0,\n            \"excluded_unverified_emails\": 0\n        }\n    }\n}"}],"_postman_id":"572a09ef-135e-44c8-aa54-94c5ff9aec58"}],"id":"d2bf9ca2-cca0-4d59-be1f-8366663900a4","description":"<p>Support documentation for <a href=\"https://support.envoke.com/en/articles/10192124-messages-api\">Messages API</a></p>\n","_postman_id":"d2bf9ca2-cca0-4d59-be1f-8366663900a4","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Send","item":[{"name":"Send a message","id":"f7e3e6d1-fdbe-43fb-835b-d7f72fb234e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/send","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","send"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"0a39400d-bb9f-41c1-a9bb-49fcb28469ea","name":"Send a message","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"subject\": \"API example send\",\n    \"recipients\": [ \"example@api.com\" ],\n    \"html\": \"<h1>Hello!</h1><p>World</p>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://e1.envoke.com/v1/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 Nov 2024 15:10:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Security-Policy","value":"report-to envoke-csp; report-uri https://envoke.report-uri.com/r/d/csp/reportOnly; default-src * data: blob: about: 'unsafe-eval' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://files.envoke.com/web_files/812/scripts/nvk.js https://js.intercomcdn.com https://widget.intercom.io/widget/ev9a263d https://*.googletagmanager.com https://*.google-analytics.com https://w338l7p6z1nt.statuspage.io https://static.hotjar.com https://cdnjs.cloudflare.com/ajax/libs/ 'strict-dynamic' 'nonce-2a5b2a9f111d8c30c0dc52392cc85212' 'unsafe-hashes' 'sha256-Am38bprl7BQPJunroUzCTnX+UO/sZfvzxg5YpeXtH+o=' 'sha256-WeOXGDbPzjBm/bYHwPEmQ39Csa8Vi0OIxPeIg0U92Zk=' 'sha256-U2jHzcJroMbkJDy1d+p5YdXgm7A4+XRYRXKoZ2OoPw0=' 'sha256-ZkbfD9Ak1nuqO070B9P/o5dZt91kU4gvjxKYbG0pOEI=' 'sha256-2rvfFrggTCtyF5WOiTri1gDS8Boibj4Njn0e+VCBmDI=';"},{"key":"X-Server","value":"z1b"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Message is sending\",\n  \"result_data\": {\n    \"id\": 123456,\n    \"new_contacts_created\": 0,\n    \"summary\": {\n      \"total_selected\": 1,\n      \"emails_to_be_sent\": 1,\n      \"excluded_unsubscribed_contacts\": 0,\n      \"excluded_invalid_emails\": 0,\n      \"excluded_bounced_emails\": 0,\n      \"excluded_unverified_emails\": 0\n    },\n    \"recipients\": [\n      {\n        \"id\": 654321,\n        \"email\": \"example@api.com\",\n        \"emails_to_be_sent\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"f7e3e6d1-fdbe-43fb-835b-d7f72fb234e9"}],"id":"6f729432-cdd3-4de4-b374-54ec83d2a0d8","description":"<p>Support documentation for <a href=\"https://support.envoke.com/en/articles/10192124-messages-api\">Messages API</a></p>\n","_postman_id":"6f729432-cdd3-4de4-b374-54ec83d2a0d8","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Senders","item":[{"name":"List sender identities","id":"d3ac0d6f-4a9e-4e67-acbb-93ca3508f180","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/senders?limit=10&skip=0&fields=id,name,email&result_type=kvp&filter[id]=string&filter[name]=string&filter[email]=string&filter[is_default]=1","description":"<p>Returns a paginated array of sender identities for the authenticated account. Supports filtering by id, name, email, and is_default. Note: sorting is not currently supported.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","senders"],"host":["e1","envoke","com"],"query":[{"description":{"content":"<p>Maximum number of records to return. Default is 10, hard cap is 100. When used alongside ?fields= or ?result_type=kvp, the cap is lifted and an explicit limit above 100 is honoured as-is.</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Number of records to skip. Used for pagination.</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,email"},{"description":{"content":"<p>Set to kvp to receive results as a flat key-value object ({ \"\": \"\" }) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.</p>\n","type":"text/plain"},"key":"result_type","value":"kvp"},{"description":{"content":"<p>Filter by sender ID. Supports operators: <code>(ne)</code>.</p>\n","type":"text/plain"},"key":"filter[id]","value":"string"},{"description":{"content":"<p>Filter by sender display name. Supports operators: <code>(ne)</code>.</p>\n","type":"text/plain"},"key":"filter[name]","value":"string"},{"description":{"content":"<p>Filter by sender email address. Supports operators: <code>(ne)</code>.</p>\n","type":"text/plain"},"key":"filter[email]","value":"string"},{"description":{"content":"<p>Filter by default status. Use 1 to return only the default sender, 0 to return only non-default senders.</p>\n","type":"text/plain"},"key":"filter[is_default]","value":"1"}],"variable":[]}},"response":[{"id":"4d8c837d-5130-43e3-8755-0bd0f9cf69d6","name":"A list of sender identities.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":{"raw":"https://e1.envoke.com/v1/senders?limit=10&skip=0&fields=id,name,email&result_type=kvp&filter[id]=string&filter[name]=string&filter[email]=string&filter[is_default]=1","protocol":"https","host":["e1","envoke","com"],"path":["v1","senders"],"query":[{"key":"limit","value":"10","description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside ?fields= or ?result_type=kvp, the cap is lifted and an explicit limit above 100 is honoured as-is."},{"key":"skip","value":"0","description":"Number of records to skip. Used for pagination."},{"key":"fields","value":"id,name,email","description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the hard cap is lifted."},{"key":"result_type","value":"kvp","description":"Set to kvp to receive results as a flat key-value object ({ \"<id>\": \"<name>\" }) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted."},{"key":"filter[id]","value":"string","description":"Filter by sender ID. Supports operators: `(ne)`."},{"key":"filter[name]","value":"string","description":"Filter by sender display name. Supports operators: `(ne)`."},{"key":"filter[email]","value":"string","description":"Filter by sender email address. Supports operators: `(ne)`."},{"key":"filter[is_default]","value":"1","description":"Filter by default status. Use 1 to return only the default sender, 0 to return only non-default senders."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"1\",\n    \"name\": \"City of Harborview\",\n    \"email\": \"communications@harborview.gov\",\n    \"is_default\": true\n  },\n  {\n    \"id\": \"2\",\n    \"name\": \"Parks & Recreation\",\n    \"email\": \"parks@harborview.gov\",\n    \"is_default\": false\n  }\n]"},{"id":"1aa7bef1-c866-4125-81eb-ddfe6e294a87","name":"Invalid query parameters.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":{"raw":"https://e1.envoke.com/v1/senders?limit=10&skip=0&fields=id,name,email&result_type=kvp&filter[id]=string&filter[name]=string&filter[email]=string&filter[is_default]=1","protocol":"https","host":["e1","envoke","com"],"path":["v1","senders"],"query":[{"key":"limit","value":"10","description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside ?fields= or ?result_type=kvp, the cap is lifted and an explicit limit above 100 is honoured as-is."},{"key":"skip","value":"0","description":"Number of records to skip. Used for pagination."},{"key":"fields","value":"id,name,email","description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the hard cap is lifted."},{"key":"result_type","value":"kvp","description":"Set to kvp to receive results as a flat key-value object ({ \"<id>\": \"<name>\" }) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted."},{"key":"filter[id]","value":"string","description":"Filter by sender ID. Supports operators: `(ne)`."},{"key":"filter[name]","value":"string","description":"Filter by sender display name. Supports operators: `(ne)`."},{"key":"filter[email]","value":"string","description":"Filter by sender email address. Supports operators: `(ne)`."},{"key":"filter[is_default]","value":"1","description":"Filter by default status. Use 1 to return only the default sender, 0 to return only non-default senders."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"string\",\n  \"result_data\": {\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"d3ac0d6f-4a9e-4e67-acbb-93ca3508f180"},{"name":"Get a single sender identity","id":"e5148665-5212-4b38-a1a3-e923fe513880","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/senders/:id?fields=id,name,email","description":"<p>Returns a single sender identity by ID. Returns an empty array ([]) if the ID is not found.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","senders",":id"],"host":["e1","envoke","com"],"query":[{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,email"}],"variable":[{"description":{"content":"<p>The unique ID of the sender identity.</p>\n","type":"text/plain"},"type":"any","value":"9315","key":"id"}]}},"response":[{"id":"ff77b7dc-4cc3-47d6-9e81-4fbb689e4dbe","name":"The requested sender identity, or an empty array if not found.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":{"raw":"https://e1.envoke.com/v1/senders/:id?fields=id,name,email","protocol":"https","host":["e1","envoke","com"],"path":["v1","senders",":id"],"query":[{"key":"fields","value":"id,name,email","description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the hard cap is lifted."}],"variable":[{"key":"id","value":"9315","description":"The unique ID of the sender identity."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"1\",\n  \"name\": \"City of Harborview\",\n  \"email\": \"communications@harborview.gov\",\n  \"is_default\": true\n}"}],"_postman_id":"e5148665-5212-4b38-a1a3-e923fe513880"},{"name":"Create a sender identity","id":"ee647ce5-15dd-474d-a4df-d88d3377ef8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"City of Harborview\",\n  \"email\": \"communications@harborview.gov\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v1/senders","description":"<p>Creates a new sender identity. Both name and email are required. The first identity created is automatically set as the account's default.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","senders"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"4c69cdad-29b3-44d9-a327-2bc944bf0482","name":"Sender created successfully.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"City of Harborview\",\n  \"email\": \"communications@harborview.gov\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v1/senders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Created\",\n  \"result_data\": {\n    \"id\": \"1\",\n    \"name\": \"City of Harborview\",\n    \"email\": \"communications@harborview.gov\",\n    \"is_default\": true,\n    \"dkim_status\": {\n      \"verified\": true,\n      \"domain\": \"harborview.gov\"\n    }\n  }\n}"},{"id":"f714d38d-51cd-4e94-adbc-75bdea21d589","name":"Validation error.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"City of Harborview\",\n  \"email\": \"communications@harborview.gov\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v1/senders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"The field 'name' is required\"\n    ]\n  }\n}"}],"_postman_id":"ee647ce5-15dd-474d-a4df-d88d3377ef8c"},{"name":"Update a sender identity","id":"ee9096a9-3c97-4e42-885f-e0d11ba863a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Office of Communications\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v1/senders/:id","description":"<p>Updates the name and/or email of an existing sender identity. At least one field must be provided. id and is_default are read-only and cannot be changed via PATCH — to change the default sender use POST /senders/{id}/default. If id is included in the request body it must match the {id} in the URL.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","senders",":id"],"host":["e1","envoke","com"],"query":[],"variable":[{"description":{"content":"<p>The unique ID of the sender identity.</p>\n","type":"text/plain"},"type":"any","value":"9315","key":"id"}]}},"response":[{"id":"a639fb54-50e5-4c1c-8dff-516485eb45c0","name":"Sender updated successfully.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Office of Communications\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v1/senders/:id","protocol":"https","host":["e1","envoke","com"],"path":["v1","senders",":id"],"variable":[{"key":"id","value":"9315","description":"The unique ID of the sender identity."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Updated\",\n  \"result_data\": {\n    \"id\": \"2\",\n    \"name\": \"Office of Communications\",\n    \"email\": \"info@harborview.gov\",\n    \"is_default\": false,\n    \"dkim_status\": {\n      \"verified\": true,\n      \"domain\": \"harborview.gov\"\n    }\n  }\n}"},{"id":"3814bbee-3757-4daa-9a89-836ec493b453","name":"Validation error, sender not found, or id mismatch.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Office of Communications\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v1/senders/:id","protocol":"https","host":["e1","envoke","com"],"path":["v1","senders",":id"],"variable":[{"key":"id","value":"9315","description":"The unique ID of the sender identity."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"errors\": [\n    \"Item with id '42' not found\"\n  ]\n}"}],"_postman_id":"ee9096a9-3c97-4e42-885f-e0d11ba863a7"},{"name":"Set the default sender","id":"6706f3a5-17ba-4345-a539-8bbd9c1e7742","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/senders/:id/default","description":"<p>Promotes the specified sender identity to be the account's default. Clears the default flag from all other identities and syncs the account's default From name and email. The default sender is used automatically when no sender is explicitly specified in a campaign.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","senders",":id","default"],"host":["e1","envoke","com"],"query":[],"variable":[{"description":{"content":"<p>The unique ID of the sender identity.</p>\n","type":"text/plain"},"type":"any","value":"9315","key":"id"}]}},"response":[{"id":"3250d7fa-f091-4b3c-8307-a774dfdbf25c","name":"Default sender updated successfully.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":{"raw":"https://e1.envoke.com/v1/senders/:id/default","protocol":"https","host":["e1","envoke","com"],"path":["v1","senders",":id","default"],"variable":[{"key":"id","value":"9315","description":"The unique ID of the sender identity."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Updated\",\n  \"result_data\": []\n}"},{"id":"d539adde-03d0-4de8-9984-e9e55fb1624d","name":"The requested sender ID was not found. Returns a validation error envelope.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":{"raw":"https://e1.envoke.com/v1/senders/:id/default","protocol":"https","host":["e1","envoke","com"],"path":["v1","senders",":id","default"],"variable":[{"key":"id","value":"9315","description":"The unique ID of the sender identity."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"errors\": [\n    \"Item with id '42' not found\"\n  ]\n}"}],"_postman_id":"6706f3a5-17ba-4345-a539-8bbd9c1e7742"},{"name":"Delete a sender identity","id":"71a054e4-8fc5-4e0c-9f54-182975ad8da4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/senders/:id","description":"<p>Permanently deletes a sender identity. The default sender cannot be deleted — use POST /senders/{id}/default to promote a different identity first.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","senders",":id"],"host":["e1","envoke","com"],"query":[],"variable":[{"description":{"content":"<p>The unique ID of the sender identity.</p>\n","type":"text/plain"},"type":"any","value":"9315","key":"id"}]}},"response":[{"id":"b3dcacc1-2627-4da2-a21a-e5030e5d04bc","name":"Sender deleted successfully.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":{"raw":"https://e1.envoke.com/v1/senders/:id","protocol":"https","host":["e1","envoke","com"],"path":["v1","senders",":id"],"variable":[{"key":"id","value":"9315","description":"The unique ID of the sender identity."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Deleted\",\n  \"result_data\": []\n}"},{"id":"1b0afb79-8a80-42dc-9585-29077a0a824b","name":"Sender not found or sender is the default.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":{"raw":"https://e1.envoke.com/v1/senders/:id","protocol":"https","host":["e1","envoke","com"],"path":["v1","senders",":id"],"variable":[{"key":"id","value":"9315","description":"The unique ID of the sender identity."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"errors\": [\n    \"Item with id '42' not found\"\n  ]\n}"}],"_postman_id":"71a054e4-8fc5-4e0c-9f54-182975ad8da4"}],"id":"31ad5fa4-960a-4b34-bd77-774d1524ee6b","_postman_id":"31ad5fa4-960a-4b34-bd77-774d1524ee6b","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Subscriptions","item":[{"name":"List subscriptions","id":"2d483d57-5d0a-42e4-8ee1-2d643a9635f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/subscriptions?limit=10&skip=0&fields=id,name,group&result_type=kvp&filter[id]=string&filter[name]=string&filter[external_id]=string&filter[group]=string&filter[prefpage_access]=public&sort[name]=desc","description":"<p>Returns a paginated array of subscriptions for the authenticated account, sorted alphabetically by name by default. Supports filtering by <code>id</code>, <code>name</code>, <code>external_id</code>, <code>group</code>, and <code>prefpage_access</code>. Use <code>?result_type=kvp</code> for a flat id-to-name map. Filter operators supported: exact match and <code>(ne)</code> (not equal).</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["subscriptions"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Maximum number of records to return. Default is 10, hard cap is 100. When used alongside <code>?fields=</code> or <code>?result_type=kvp</code>, the cap is lifted and an explicit limit above 100 is honoured as-is.</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Number of records to skip. Used for pagination.</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,group"},{"description":{"content":"<p>Set to <code>kvp</code> to receive results as a flat key-value object (<code>{ \"&lt;id&gt;\": \"&lt;name&gt;\" }</code>) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.</p>\n","type":"text/plain"},"key":"result_type","value":"kvp"},{"description":{"content":"<p>Filter by subscription ID. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[id]","value":"string"},{"description":{"content":"<p>Filter by subscription name. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[name]","value":"string"},{"description":{"content":"<p>Filter by external ID. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[external_id]","value":"string"},{"description":{"content":"<p>Filter by group name. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[group]","value":"string"},{"description":{"content":"<p>Filter by preference page access. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[prefpage_access]","value":"public"},{"description":{"content":"<p>Sort by name. Value: <code>asc</code> or <code>desc</code>.</p>\n","type":"text/plain"},"key":"sort[name]","value":"desc"}],"variable":[]}},"response":[{"id":"b9245630-6c6d-480d-a8f1-be0fa2c7b86c","name":"A list of subscriptions.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/subscriptions?limit=10&skip=0&fields=id,name,group&result_type=kvp&filter[id]=string&filter[name]=string&filter[external_id]=string&filter[group]=string&filter[prefpage_access]=public&sort[name]=desc","host":["https://e1.envoke.com/v2"],"path":["subscriptions"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp`, the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,group"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.","key":"result_type","value":"kvp"},{"description":"Filter by subscription ID. Supports `(ne)` operator.","key":"filter[id]","value":"string"},{"description":"Filter by subscription name. Supports `(ne)` operator.","key":"filter[name]","value":"string"},{"description":"Filter by external ID. Supports `(ne)` operator.","key":"filter[external_id]","value":"string"},{"description":"Filter by group name. Supports `(ne)` operator.","key":"filter[group]","value":"string"},{"description":"Filter by preference page access. Supports `(ne)` operator.","key":"filter[prefpage_access]","value":"public"},{"description":"Sort by name. Value: `asc` or `desc`.","key":"sort[name]","value":"desc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"12\",\n    \"external_id\": \"a1b2c3d4e5f6\",\n    \"name\": \"Campus Weekly Newsletter\",\n    \"group\": \"Student Communications\",\n    \"prefpage_access\": \"public\",\n    \"display_names\": {\n      \"en\": \"Campus Weekly Newsletter\",\n      \"fr\": \"Bulletin hebdomadaire du campus\"\n    },\n    \"display_descriptions\": {\n      \"en\": \"A weekly roundup of campus news and events.\",\n      \"fr\": \"\"\n    }\n  }\n]"},{"id":"add10ab1-21b2-4f29-8e09-26f71c1ebc16","name":"Invalid query parameters.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/subscriptions?limit=10&skip=0&fields=id,name,group&result_type=kvp&filter[id]=string&filter[name]=string&filter[external_id]=string&filter[group]=string&filter[prefpage_access]=public&sort[name]=desc","host":["https://e1.envoke.com/v2"],"path":["subscriptions"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp`, the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,group"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.","key":"result_type","value":"kvp"},{"description":"Filter by subscription ID. Supports `(ne)` operator.","key":"filter[id]","value":"string"},{"description":"Filter by subscription name. Supports `(ne)` operator.","key":"filter[name]","value":"string"},{"description":"Filter by external ID. Supports `(ne)` operator.","key":"filter[external_id]","value":"string"},{"description":"Filter by group name. Supports `(ne)` operator.","key":"filter[group]","value":"string"},{"description":"Filter by preference page access. Supports `(ne)` operator.","key":"filter[prefpage_access]","value":"public"},{"description":"Sort by name. Value: `asc` or `desc`.","key":"sort[name]","value":"desc"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"string\",\n  \"result_data\": {\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"2d483d57-5d0a-42e4-8ee1-2d643a9635f4"},{"name":"Get a single subscription","id":"70e29385-d2e3-4b08-9e5d-426bf89812bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/subscriptions/:id?fields=id,name,group","description":"<p>Returns a single subscription by its ID. Returns an empty array (<code>[]</code>) if the ID is not found.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["subscriptions",":id"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,group"}],"variable":[{"id":"cd5dfb1c-d805-47e1-a4e5-ba7e81bb67b3","description":{"content":"<p>The unique ID of the subscription.</p>\n","type":"text/plain"},"type":"any","value":"6823","key":"id"}]}},"response":[{"id":"71a0f005-4543-4c6c-a88b-1adc93c26553","name":"The requested subscription, or an empty array if not found.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/subscriptions/:id?fields=id,name,group","host":["https://e1.envoke.com/v2"],"path":["subscriptions",":id"],"query":[{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,group"}],"variable":[{"key":"id","value":"6823","description":"The unique ID of the subscription."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"12\",\n  \"external_id\": \"a1b2c3d4e5f6\",\n  \"name\": \"Campus Weekly Newsletter\",\n  \"group\": \"Student Communications\",\n  \"prefpage_access\": \"public\",\n  \"display_names\": {\n    \"en\": \"Campus Weekly Newsletter\",\n    \"fr\": \"Bulletin hebdomadaire du campus\"\n  },\n  \"display_descriptions\": {\n    \"en\": \"A weekly roundup of campus news and events.\",\n    \"fr\": \"\"\n  }\n}"}],"_postman_id":"70e29385-d2e3-4b08-9e5d-426bf89812bf"},{"name":"Create a subscription","id":"3b7f7238-f2dd-4fa2-a5e8-0043d8ecedbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Campus Weekly Newsletter\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/subscriptions","description":"<p>Creates a new subscription. <code>name</code> is required. Optional fields: <code>group</code>, <code>prefpage_access</code>, <code>display_names</code>, <code>display_descriptions</code>.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["subscriptions"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[]}},"response":[{"id":"17caaa01-f187-4f0f-aa0f-76b843ddba3a","name":"Subscription created successfully.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Campus Weekly Newsletter\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/subscriptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Created\",\n  \"result_data\": {\n    \"id\": \"12\",\n    \"external_id\": \"a1b2c3d4e5f6\",\n    \"name\": \"Campus Weekly Newsletter\",\n    \"group\": \"Student Communications\",\n    \"prefpage_access\": \"public\",\n    \"display_names\": {\n      \"en\": \"Campus Weekly Newsletter\",\n      \"fr\": \"\"\n    },\n    \"display_descriptions\": {\n      \"en\": \"A weekly roundup of campus news and events.\",\n      \"fr\": \"\"\n    }\n  }\n}"},{"id":"75ef184a-4b1e-42a4-b69b-a6c506beac3f","name":"Validation error.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Campus Weekly Newsletter\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/subscriptions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"The field 'name' is required\"\n    ]\n  }\n}"}],"_postman_id":"3b7f7238-f2dd-4fa2-a5e8-0043d8ecedbe"},{"name":"Update a subscription","id":"e799ab51-a34c-4c0a-b6ed-b911b1a4b74b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Campus Weekly (Updated)\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/subscriptions/:id","description":"<p>Updates one or more fields on an existing subscription. <code>name</code>, <code>group</code>, <code>prefpage_access</code>, <code>display_names</code>, and <code>display_descriptions</code> are updatable. <code>external_id</code> is silently ignored if included. If <code>id</code> is included in the body, it must match the <code>{id}</code> in the URL — if they differ, a validation envelope is returned.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["subscriptions",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"06c487d9-0828-48ef-96aa-a1450397a2a7","description":{"content":"<p>The unique ID of the subscription.</p>\n","type":"text/plain"},"type":"any","value":"6823","key":"id"}]}},"response":[{"id":"edc59670-3fb1-4f88-a305-d53f0db241fd","name":"Subscription updated successfully.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Campus Weekly (Updated)\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/subscriptions/:id","host":["https://e1.envoke.com/v2"],"path":["subscriptions",":id"],"variable":[{"key":"id","value":"6823","description":"The unique ID of the subscription."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Updated\",\n  \"result_data\": {\n    \"id\": \"12\",\n    \"external_id\": \"a1b2c3d4e5f6\",\n    \"name\": \"Campus Weekly (Updated)\",\n    \"group\": \"Student Communications\",\n    \"prefpage_access\": \"public\",\n    \"display_names\": {\n      \"en\": \"Campus Weekly\",\n      \"fr\": \"Campus hebdo\"\n    },\n    \"display_descriptions\": {\n      \"en\": \"Updated description for the weekly newsletter.\",\n      \"fr\": \"\"\n    }\n  }\n}"},{"id":"868020dd-1dcf-432f-aaa6-6ca4c07a81eb","name":"Validation error, subscription not found, or id mismatch.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Campus Weekly (Updated)\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/subscriptions/:id","host":["https://e1.envoke.com/v2"],"path":["subscriptions",":id"],"variable":[{"key":"id","value":"6823","description":"The unique ID of the subscription."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"Item with id '999999' not found\"\n    ]\n  }\n}"}],"_postman_id":"e799ab51-a34c-4c0a-b6ed-b911b1a4b74b"},{"name":"Delete a subscription","id":"7e67b357-28cf-4496-8b29-3092eb668403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/subscriptions/:id","description":"<p>Permanently deletes a subscription. <strong>The subscription must have no contacts assigned to it</strong> — attempting to delete one with contacts assigned returns a validation error. Remove all contacts first using the <code>DELETE /subscriptions/{id}/contacts</code> endpoint.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["subscriptions",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"08ff1aa8-6347-42b1-bd88-011084dfb8f1","description":{"content":"<p>The unique ID of the subscription.</p>\n","type":"text/plain"},"type":"any","value":"6823","key":"id"}]}},"response":[{"id":"fe386d04-116d-422e-97fc-d9ebfe4756ac","name":"Subscription deleted successfully, or a validation error.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/subscriptions/:id","host":["https://e1.envoke.com/v2"],"path":["subscriptions",":id"],"variable":[{"key":"id","value":"6823","description":"The unique ID of the subscription."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Deleted\",\n  \"result_data\": []\n}"}],"_postman_id":"7e67b357-28cf-4496-8b29-3092eb668403"},{"name":"Add contacts to a subscription","id":"d4fb573f-888a-407e-953a-d086355e5a0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102,\n    103\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/subscriptions/:id/contacts","description":"<p>Bulk-assigns contacts to a subscription. Accepts either <code>contact_ids</code> or <code>contact_emails</code> (not both). Maximum 1,000 items per request. The operation is idempotent — adding a contact that is already subscribed is a no-op.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["subscriptions",":id","contacts"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"cc906b7e-acc1-497c-b5c0-32ae8ae1ceb7","description":{"content":"<p>The unique ID of the subscription.</p>\n","type":"text/plain"},"type":"any","value":"6823","key":"id"}]}},"response":[{"id":"2ff1c603-ec81-4d4b-b158-d13c62768b54","name":"Operation completed. Check `success` and `result_data` for details.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102,\n    103\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/subscriptions/:id/contacts","host":["https://e1.envoke.com/v2"],"path":["subscriptions",":id","contacts"],"variable":[{"key":"id","value":"6823","description":"The unique ID of the subscription."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Set to contacts\",\n  \"result_data\": {\n    \"processed\": 3\n  }\n}"},{"id":"324529a6-5a78-42c2-8216-e87e49ef1071","name":"Validation error or subscription not found.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102,\n    103\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/subscriptions/:id/contacts","host":["https://e1.envoke.com/v2"],"path":["subscriptions",":id","contacts"],"variable":[{"key":"id","value":"6823","description":"The unique ID of the subscription."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"Either 'contact_ids' or 'contact_emails' must be provided\"\n    ]\n  }\n}"}],"_postman_id":"d4fb573f-888a-407e-953a-d086355e5a0b"},{"name":"Remove contacts from a subscription","id":"e7870937-e3e5-430f-baa2-42119b82d97c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/subscriptions/:id/contacts","description":"<p>Bulk-removes contacts from a subscription. Accepts either <code>contact_ids</code> or <code>contact_emails</code> (not both). Maximum 1,000 items per request. The operation is idempotent — removing a contact that is not subscribed is a no-op.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["subscriptions",":id","contacts"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"57484ce8-3f84-40c6-91d6-0b01d50d857d","description":{"content":"<p>The unique ID of the subscription.</p>\n","type":"text/plain"},"type":"any","value":"6823","key":"id"}]}},"response":[{"id":"e9144ab0-3ae9-442e-aa24-dafabb3e817f","name":"Operation completed. Check `success` and `result_data` for details.","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/subscriptions/:id/contacts","host":["https://e1.envoke.com/v2"],"path":["subscriptions",":id","contacts"],"variable":[{"key":"id","value":"6823","description":"The unique ID of the subscription."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Set to contacts\",\n  \"result_data\": {\n    \"processed\": 2\n  }\n}"},{"id":"b69e2102-9ab4-4a90-9812-a97dbf064dd8","name":"Validation error or subscription not found.","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/subscriptions/:id/contacts","host":["https://e1.envoke.com/v2"],"path":["subscriptions",":id","contacts"],"variable":[{"key":"id","value":"6823","description":"The unique ID of the subscription."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"string\",\n  \"result_data\": {\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"e7870937-e3e5-430f-baa2-42119b82d97c"}],"id":"50c84d3a-9fc2-444f-b497-0f66271fbfaa","_postman_id":"50c84d3a-9fc2-444f-b497-0f66271fbfaa","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Tags","item":[{"name":"List tags","id":"e62ec905-4bc3-4c44-852e-4c56231ca665","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/tags?limit=10&skip=0&fields=id,name,group&result_type=kvp&filter[id]=string&filter[name]=string&filter[external_id]=string&filter[group]=string&filter[description]=string&sort[name]=desc","description":"<p>Returns a paginated array of tags for the authenticated account, sorted alphabetically by name by default. Supports filtering by <code>id</code>, <code>name</code>, <code>external_id</code>, <code>group</code>, and <code>description</code>. Use <code>?result_type=kvp</code> for a flat id-to-name map. Filter operators supported: exact match and <code>(ne)</code> (not equal).</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["tags"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Maximum number of records to return. Default is 10, hard cap is 100. When used alongside <code>?fields=</code> or <code>?result_type=kvp</code>, the cap is lifted and an explicit limit above 100 is honoured as-is.</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Number of records to skip. Used for pagination.</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,group"},{"description":{"content":"<p>Set to <code>kvp</code> to receive results as a flat key-value object (<code>{ \"&lt;id&gt;\": \"&lt;name&gt;\" }</code>) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.</p>\n","type":"text/plain"},"key":"result_type","value":"kvp"},{"description":{"content":"<p>Filter by tag ID. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[id]","value":"string"},{"description":{"content":"<p>Filter by tag name. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[name]","value":"string"},{"description":{"content":"<p>Filter by external ID. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[external_id]","value":"string"},{"description":{"content":"<p>Filter by group name. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[group]","value":"string"},{"description":{"content":"<p>Filter by description. Supports <code>(ne)</code> operator.</p>\n","type":"text/plain"},"key":"filter[description]","value":"string"},{"description":{"content":"<p>Sort by name. Value: <code>asc</code> or <code>desc</code>.</p>\n","type":"text/plain"},"key":"sort[name]","value":"desc"}],"variable":[]}},"response":[{"id":"9570b89b-fae4-4993-bfde-ad0e99477f13","name":"A list of tags.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/tags?limit=10&skip=0&fields=id,name,group&result_type=kvp&filter[id]=string&filter[name]=string&filter[external_id]=string&filter[group]=string&filter[description]=string&sort[name]=desc","host":["https://e1.envoke.com/v2"],"path":["tags"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp`, the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,group"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.","key":"result_type","value":"kvp"},{"description":"Filter by tag ID. Supports `(ne)` operator.","key":"filter[id]","value":"string"},{"description":"Filter by tag name. Supports `(ne)` operator.","key":"filter[name]","value":"string"},{"description":"Filter by external ID. Supports `(ne)` operator.","key":"filter[external_id]","value":"string"},{"description":"Filter by group name. Supports `(ne)` operator.","key":"filter[group]","value":"string"},{"description":"Filter by description. Supports `(ne)` operator.","key":"filter[description]","value":"string"},{"description":"Sort by name. Value: `asc` or `desc`.","key":"sort[name]","value":"desc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"42\",\n    \"external_id\": \"a1b2c3d4e5f6\",\n    \"name\": \"Newsletter Subscribers\",\n    \"group\": \"Engagement\",\n    \"description\": \"Contacts who opted in to the monthly newsletter\",\n    \"display_names\": {\n      \"en\": \"Newsletter\"\n    }\n  }\n]"},{"id":"6e800c74-163e-4420-adb5-5c6d58bad2c1","name":"Invalid query parameters.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/tags?limit=10&skip=0&fields=id,name,group&result_type=kvp&filter[id]=string&filter[name]=string&filter[external_id]=string&filter[group]=string&filter[description]=string&sort[name]=desc","host":["https://e1.envoke.com/v2"],"path":["tags"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp`, the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,group"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.","key":"result_type","value":"kvp"},{"description":"Filter by tag ID. Supports `(ne)` operator.","key":"filter[id]","value":"string"},{"description":"Filter by tag name. Supports `(ne)` operator.","key":"filter[name]","value":"string"},{"description":"Filter by external ID. Supports `(ne)` operator.","key":"filter[external_id]","value":"string"},{"description":"Filter by group name. Supports `(ne)` operator.","key":"filter[group]","value":"string"},{"description":"Filter by description. Supports `(ne)` operator.","key":"filter[description]","value":"string"},{"description":"Sort by name. Value: `asc` or `desc`.","key":"sort[name]","value":"desc"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"string\",\n  \"result_data\": {\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"e62ec905-4bc3-4c44-852e-4c56231ca665"},{"name":"Get a single tag","id":"476ba26f-e7f6-4c20-bfa5-c4abd1f4dd58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/tags/:id?fields=id,name,group","description":"<p>Returns a single tag by its ID. Returns an empty array (<code>[]</code>) if the ID is not found.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["tags",":id"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,group"}],"variable":[{"id":"d5c0639f-9614-49c9-97f6-5e1546eee09d","description":{"content":"<p>The unique ID of the tag.</p>\n","type":"text/plain"},"type":"any","value":"8955","key":"id"}]}},"response":[{"id":"f63d7eb2-ffdd-4a48-98f1-8f4683ed7243","name":"The requested tag, or an empty array if not found.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/tags/:id?fields=id,name,group","host":["https://e1.envoke.com/v2"],"path":["tags",":id"],"query":[{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,group"}],"variable":[{"key":"id","value":"8955","description":"The unique ID of the tag."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"42\",\n  \"external_id\": \"a1b2c3d4e5f6\",\n  \"name\": \"Newsletter Subscribers\",\n  \"group\": \"Engagement\",\n  \"description\": \"Contacts who opted in to the monthly newsletter\",\n  \"display_names\": {\n    \"en\": \"Newsletter\"\n  }\n}"}],"_postman_id":"476ba26f-e7f6-4c20-bfa5-c4abd1f4dd58"},{"name":"Create a tag","id":"151e4744-cb85-4dd9-9cdb-85e048b7ebef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Newsletter Subscribers\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/tags","description":"<p>Creates a new tag. <code>name</code> is required. Optional fields: <code>group</code>, <code>description</code>, <code>display_names</code>.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["tags"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[]}},"response":[{"id":"36215e91-7273-40c5-8282-3c78c2af0ee1","name":"Tag created successfully.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Newsletter Subscribers\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Created\",\n  \"result_data\": {\n    \"id\": \"42\",\n    \"external_id\": \"a1b2c3d4e5f6\",\n    \"name\": \"Newsletter Subscribers\",\n    \"group\": \"Engagement\",\n    \"description\": \"Contacts who opted in to the monthly newsletter\",\n    \"display_names\": {\n      \"en\": \"Newsletter\"\n    }\n  }\n}"},{"id":"fe9cf6a4-8b40-408a-8935-669f50e57a4a","name":"Validation error.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Newsletter Subscribers\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/tags"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"The field 'name' is required\"\n    ]\n  }\n}"}],"_postman_id":"151e4744-cb85-4dd9-9cdb-85e048b7ebef"},{"name":"Update a tag","id":"c8f987f1-00d2-4756-83ef-07fcaae83183","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Tag Name\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/tags/:id","description":"<p>Updates one or more fields on an existing tag. <code>name</code>, <code>group</code>, <code>description</code>, and <code>display_names</code> are updatable. <code>external_id</code> is silently ignored if included. If <code>id</code> is included in the body, it must match the <code>{id}</code> in the URL — if they differ, a validation envelope is returned.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["tags",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"ef4fd3fa-ae38-4035-9b61-c7b6b0a945b7","description":{"content":"<p>The unique ID of the tag.</p>\n","type":"text/plain"},"type":"any","value":"8955","key":"id"}]}},"response":[{"id":"9fb25c78-31f2-4f4b-b68b-43d3ee4cfb11","name":"Tag updated successfully.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Tag Name\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/tags/:id","host":["https://e1.envoke.com/v2"],"path":["tags",":id"],"variable":[{"key":"id","value":"8955","description":"The unique ID of the tag."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Updated\",\n  \"result_data\": {\n    \"id\": \"42\",\n    \"external_id\": \"a1b2c3d4e5f6\",\n    \"name\": \"Updated Tag Name\",\n    \"group\": \"Certification Programs\",\n    \"description\": \"Updated description\",\n    \"display_names\": {\n      \"en\": \"Updated Tag\"\n    }\n  }\n}"},{"id":"f93cf41f-6764-4d4a-afbf-df1a4697db74","name":"Validation error, tag not found, or id mismatch.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Tag Name\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/tags/:id","host":["https://e1.envoke.com/v2"],"path":["tags",":id"],"variable":[{"key":"id","value":"8955","description":"The unique ID of the tag."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"Item with id '999999' not found\"\n    ]\n  }\n}"}],"_postman_id":"c8f987f1-00d2-4756-83ef-07fcaae83183"},{"name":"Delete a tag","id":"f5fc46c9-d20d-4547-9869-0616bcc70943","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/tags/:id","description":"<p>Permanently deletes a tag and all contact-to-tag associations. Contacts are not deleted — they simply lose their assignment to this tag.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["tags",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"deeb0e86-73c6-4b89-9566-a382626eda26","description":{"content":"<p>The unique ID of the tag.</p>\n","type":"text/plain"},"type":"any","value":"8955","key":"id"}]}},"response":[{"id":"982c5e2e-5c91-4f19-a481-8f8b036cc7e4","name":"Tag deleted successfully.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/tags/:id","host":["https://e1.envoke.com/v2"],"path":["tags",":id"],"variable":[{"key":"id","value":"8955","description":"The unique ID of the tag."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Deleted\",\n  \"result_data\": []\n}"},{"id":"cf7ea89c-1004-4013-a184-c66816eff2d6","name":"The requested tag ID was not found. Returns a validation error envelope.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/tags/:id","host":["https://e1.envoke.com/v2"],"path":["tags",":id"],"variable":[{"key":"id","value":"8955","description":"The unique ID of the tag."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"Item with id '999999' not found\"\n    ]\n  }\n}"}],"_postman_id":"f5fc46c9-d20d-4547-9869-0616bcc70943"},{"name":"Add contacts to a tag","id":"2554f4b3-cf99-40e1-8fa8-6f220766ee60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102,\n    103\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/tags/:id/contacts","description":"<p>Bulk-assigns contacts to a tag. Accepts either <code>contact_ids</code> or <code>contact_emails</code> (not both). Maximum 1,000 items per request. The operation is idempotent — adding a contact that is already tagged is a no-op.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["tags",":id","contacts"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"4481a927-190a-4d25-b7bb-a9edfb08c155","description":{"content":"<p>The unique ID of the tag.</p>\n","type":"text/plain"},"type":"any","value":"8955","key":"id"}]}},"response":[{"id":"9c9c8c50-f5bd-444a-8f42-81383b9f2dc6","name":"Operation completed. Check `success` and `result_data` for details.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102,\n    103\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/tags/:id/contacts","host":["https://e1.envoke.com/v2"],"path":["tags",":id","contacts"],"variable":[{"key":"id","value":"8955","description":"The unique ID of the tag."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Set to contacts\",\n  \"result_data\": {\n    \"processed\": 3\n  }\n}"},{"id":"2298a184-06bd-4592-a6d0-32190ffc52a9","name":"Validation error or tag not found.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102,\n    103\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/tags/:id/contacts","host":["https://e1.envoke.com/v2"],"path":["tags",":id","contacts"],"variable":[{"key":"id","value":"8955","description":"The unique ID of the tag."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"Either 'contact_ids' or 'contact_emails' must be provided\"\n    ]\n  }\n}"}],"_postman_id":"2554f4b3-cf99-40e1-8fa8-6f220766ee60"},{"name":"Remove contacts from a tag","id":"20814d24-007f-450f-a0d3-f93838dfb803","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/tags/:id/contacts","description":"<p>Bulk-removes contacts from a tag. Accepts either <code>contact_ids</code> or <code>contact_emails</code> (not both). Maximum 1,000 items per request. The operation is idempotent — removing a contact that is not tagged is a no-op.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["tags",":id","contacts"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"3a2de873-0aea-4378-9f75-9c7b1e3203f9","description":{"content":"<p>The unique ID of the tag.</p>\n","type":"text/plain"},"type":"any","value":"8955","key":"id"}]}},"response":[{"id":"ed6a7ad5-cf83-4b12-a6aa-a76f9cb2a697","name":"Operation completed. Check `success` and `result_data` for details.","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/tags/:id/contacts","host":["https://e1.envoke.com/v2"],"path":["tags",":id","contacts"],"variable":[{"key":"id","value":"8955","description":"The unique ID of the tag."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Set to contacts\",\n  \"result_data\": {\n    \"processed\": 2\n  }\n}"},{"id":"f9882ac1-b870-42ab-8dfa-5b74102320fe","name":"Validation error or tag not found.","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"contact_ids\": [\n    101,\n    102\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/tags/:id/contacts","host":["https://e1.envoke.com/v2"],"path":["tags",":id","contacts"],"variable":[{"key":"id","value":"8955","description":"The unique ID of the tag."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"string\",\n  \"result_data\": {\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"20814d24-007f-450f-a0d3-f93838dfb803"}],"id":"c2d8dcab-c047-4a24-a5c3-aa258650d6d1","_postman_id":"c2d8dcab-c047-4a24-a5c3-aa258650d6d1","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Templates","item":[{"name":"List templates","id":"2c61211c-f321-499e-8fd8-3ecbda479971","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/templates?limit=10&skip=0&fields=id,name,status&result_type=kvp&filter[name]=string&filter[status]=published&filter[language]=string&filter[group]=string&filter[id]=9627&sort[name]=desc&sort[modified_time]=desc&sort[create_time]=desc&sort[language]=desc&sort[group]=desc&sort[status]=desc","description":"<p>Returns a paginated array of templates for the authenticated account, sorted by most recently modified first by default. Supports sorting via <code>sort[]</code> query parameters. Supports filtering by <code>id</code>, <code>name</code>, <code>status</code>, <code>language</code>, and <code>group</code>. Use <code>?result_type=kvp</code> for a flat id-to-name map.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["templates"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Maximum number of records to return. Default is 10, hard cap is 100. When used alongside <code>?fields=</code> or <code>?result_type=kvp</code>, the cap is lifted and an explicit limit above 100 is honoured as-is.</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Number of records to skip. Used for pagination.</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,status"},{"description":{"content":"<p>Set to <code>kvp</code> to receive results as a flat key-value object (<code>{ \"&lt;id&gt;\": \"&lt;name&gt;\" }</code>) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.</p>\n","type":"text/plain"},"key":"result_type","value":"kvp"},{"description":{"content":"<p>Filter by template name. Supports operators: <code>(ne)</code>, <code>(in)</code>.</p>\n","type":"text/plain"},"key":"filter[name]","value":"string"},{"description":{"content":"<p>Filter by status. Valid values: <code>published</code>, <code>unpublished</code>.</p>\n","type":"text/plain"},"key":"filter[status]","value":"published"},{"description":{"content":"<p>Filter by language. Accepts a two-letter IETF code (e.g. <code>en</code>, <code>fr</code>).</p>\n","type":"text/plain"},"key":"filter[language]","value":"string"},{"description":{"content":"<p>Filter by group name.</p>\n","type":"text/plain"},"key":"filter[group]","value":"string"},{"description":{"content":"<p>Filter by template ID.</p>\n","type":"text/plain"},"key":"filter[id]","value":"9627"},{"description":{"content":"<p>Sort by name. Value: <code>asc</code> or <code>desc</code>.</p>\n","type":"text/plain"},"key":"sort[name]","value":"desc"},{"description":{"content":"<p>Sort by last modified time. Value: <code>asc</code> or <code>desc</code>.</p>\n","type":"text/plain"},"key":"sort[modified_time]","value":"desc"},{"description":{"content":"<p>Sort by creation time. Value: <code>asc</code> or <code>desc</code>.</p>\n","type":"text/plain"},"key":"sort[create_time]","value":"desc"},{"description":{"content":"<p>Sort by language. Value: <code>asc</code> or <code>desc</code>.</p>\n","type":"text/plain"},"key":"sort[language]","value":"desc"},{"description":{"content":"<p>Sort by group name. Value: <code>asc</code> or <code>desc</code>.</p>\n","type":"text/plain"},"key":"sort[group]","value":"desc"},{"description":{"content":"<p>Sort by status. Value: <code>asc</code> or <code>desc</code>.</p>\n","type":"text/plain"},"key":"sort[status]","value":"desc"}],"variable":[]}},"response":[{"id":"efc3c4f3-72bc-45f8-b5fd-394c85ce7a48","name":"A list of templates.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/templates?limit=10&skip=0&fields=id,name,status&result_type=kvp&filter[name]=string&filter[status]=published&filter[language]=string&filter[group]=string&filter[id]=9627&sort[name]=desc&sort[modified_time]=desc&sort[create_time]=desc&sort[language]=desc&sort[group]=desc&sort[status]=desc","host":["https://e1.envoke.com/v2"],"path":["templates"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp`, the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,status"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.","key":"result_type","value":"kvp"},{"description":"Filter by template name. Supports operators: `(ne)`, `(in)`.","key":"filter[name]","value":"string"},{"description":"Filter by status. Valid values: `published`, `unpublished`.","key":"filter[status]","value":"published"},{"description":"Filter by language. Accepts a two-letter IETF code (e.g. `en`, `fr`).","key":"filter[language]","value":"string"},{"description":"Filter by group name.","key":"filter[group]","value":"string"},{"description":"Filter by template ID.","key":"filter[id]","value":"9627"},{"description":"Sort by name. Value: `asc` or `desc`.","key":"sort[name]","value":"desc"},{"description":"Sort by last modified time. Value: `asc` or `desc`.","key":"sort[modified_time]","value":"desc"},{"description":"Sort by creation time. Value: `asc` or `desc`.","key":"sort[create_time]","value":"desc"},{"description":"Sort by language. Value: `asc` or `desc`.","key":"sort[language]","value":"desc"},{"description":"Sort by group name. Value: `asc` or `desc`.","key":"sort[group]","value":"desc"},{"description":"Sort by status. Value: `asc` or `desc`.","key":"sort[status]","value":"desc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"external_id\": \"a1b2c3d4e5f6\",\n    \"preview_url\": \"https://e1.envoke.com/m/acme-corp/m/a1b2c3d4e5f6\",\n    \"name\": \"Welcome Email\",\n    \"status\": \"published\",\n    \"language\": \"en\",\n    \"group\": \"Onboarding\",\n    \"create_time\": \"2026-04-01 09:00:00\",\n    \"modified_time\": \"2026-04-10 18:00:00\"\n  }\n]"},{"id":"873fbef5-6633-46d1-a3c5-e47c4a872e53","name":"Invalid query parameters.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/templates?limit=10&skip=0&fields=id,name,status&result_type=kvp&filter[name]=string&filter[status]=published&filter[language]=string&filter[group]=string&filter[id]=9627&sort[name]=desc&sort[modified_time]=desc&sort[create_time]=desc&sort[language]=desc&sort[group]=desc&sort[status]=desc","host":["https://e1.envoke.com/v2"],"path":["templates"],"query":[{"description":"Maximum number of records to return. Default is 10, hard cap is 100. When used alongside `?fields=` or `?result_type=kvp`, the cap is lifted and an explicit limit above 100 is honoured as-is.","key":"limit","value":"10"},{"description":"Number of records to skip. Used for pagination.","key":"skip","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,status"},{"description":"Set to `kvp` to receive results as a flat key-value object (`{ \"<id>\": \"<name>\" }`) instead of an array of objects. When set, the default limit increases to 100,000 and the hard cap is lifted.","key":"result_type","value":"kvp"},{"description":"Filter by template name. Supports operators: `(ne)`, `(in)`.","key":"filter[name]","value":"string"},{"description":"Filter by status. Valid values: `published`, `unpublished`.","key":"filter[status]","value":"published"},{"description":"Filter by language. Accepts a two-letter IETF code (e.g. `en`, `fr`).","key":"filter[language]","value":"string"},{"description":"Filter by group name.","key":"filter[group]","value":"string"},{"description":"Filter by template ID.","key":"filter[id]","value":"9627"},{"description":"Sort by name. Value: `asc` or `desc`.","key":"sort[name]","value":"desc"},{"description":"Sort by last modified time. Value: `asc` or `desc`.","key":"sort[modified_time]","value":"desc"},{"description":"Sort by creation time. Value: `asc` or `desc`.","key":"sort[create_time]","value":"desc"},{"description":"Sort by language. Value: `asc` or `desc`.","key":"sort[language]","value":"desc"},{"description":"Sort by group name. Value: `asc` or `desc`.","key":"sort[group]","value":"desc"},{"description":"Sort by status. Value: `asc` or `desc`.","key":"sort[status]","value":"desc"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"null"}],"_postman_id":"2c61211c-f321-499e-8fd8-3ecbda479971"},{"name":"Get a single template","id":"07323ed7-166d-4879-a79b-4cfaeab928db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/templates/:id?include_html=0&fields=id,name,status","description":"<p>Returns a single template by its ID. Add <code>?include_html=1</code> to include the full HTML content in the response.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["templates",":id"],"host":["https://e1.envoke.com/v2"],"query":[{"description":{"content":"<p>Set to <code>1</code> to include the full HTML content in a single-template response. Has no effect on list requests.</p>\n","type":"text/plain"},"key":"include_html","value":"0"},{"description":{"content":"<p>Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.</p>\n","type":"text/plain"},"key":"fields","value":"id,name,status"}],"variable":[{"id":"9a7eceea-7292-41f6-afa4-7e936bfc5b15","description":{"content":"<p>The unique ID of the template.</p>\n","type":"text/plain"},"type":"any","value":"8884","key":"id"}]}},"response":[{"id":"ffc201a4-ced6-4ddb-a24a-131d914c73bd","name":"The requested template. Includes `html` field only when `?include_html=1` is set.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/templates/:id?include_html=0&fields=id,name,status","host":["https://e1.envoke.com/v2"],"path":["templates",":id"],"query":[{"description":"Set to `1` to include the full HTML content in a single-template response. Has no effect on list requests.","key":"include_html","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,status"}],"variable":[{"key":"id","value":"8884","description":"The unique ID of the template."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 42,\n  \"external_id\": \"a1b2c3d4e5f6\",\n  \"preview_url\": \"https://e1.envoke.com/m/acme-corp/m/a1b2c3d4e5f6\",\n  \"name\": \"Welcome Email\",\n  \"status\": \"published\",\n  \"language\": \"en\",\n  \"group\": \"\",\n  \"create_time\": \"2026-04-11 09:00:00\",\n  \"modified_time\": \"2026-04-11 09:00:00\"\n}"},{"id":"ed4e0fa1-84ab-4199-b016-e0873351ba98","name":"The requested template ID was not found. Returns an empty array.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/templates/:id?include_html=0&fields=id,name,status","host":["https://e1.envoke.com/v2"],"path":["templates",":id"],"query":[{"description":"Set to `1` to include the full HTML content in a single-template response. Has no effect on list requests.","key":"include_html","value":"0"},{"description":"Comma-separated list of fields to include in each response object. When set, the default limit increases to 100,000 and the 100-record hard cap is lifted.","key":"fields","value":"id,name,status"}],"variable":[{"key":"id","value":"8884","description":"The unique ID of the template."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"07323ed7-166d-4879-a79b-4cfaeab928db"},{"name":"Create a template","id":"38317fcb-708d-45f0-b8c3-f08ab46b4a4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Welcome Email\",\n  \"html\": \"<html><body><h1>Welcome!</h1></body></html>\",\n  \"language\": \"en\",\n  \"group\": \"Onboarding\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/templates","description":"<p>Creates a new email template. Either <code>html</code> or <code>template_id</code> must be provided. <code>name</code> is optional — if omitted, it is auto-generated as <code>API Template {timestamp}</code>. New templates are always created with <code>status: published</code> regardless of any <code>status</code> value in the request body.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["templates"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[]}},"response":[{"id":"9b5ebea0-e325-47db-9824-7e9f0ab1e87b","name":"Template created successfully.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Welcome Email\",\n  \"html\": \"<html><body><h1>Welcome!</h1></body></html>\",\n  \"language\": \"en\",\n  \"group\": \"Onboarding\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/templates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Created\",\n  \"result_data\": {\n    \"id\": 42,\n    \"external_id\": \"a1b2c3d4e5f6\",\n    \"preview_url\": \"https://e1.envoke.com/m/acme-corp/m/a1b2c3d4e5f6\",\n    \"name\": \"Welcome Email\",\n    \"status\": \"published\",\n    \"language\": \"en\",\n    \"group\": \"Onboarding\",\n    \"create_time\": \"2026-04-11 09:00:00\",\n    \"modified_time\": \"2026-04-11 09:00:00\"\n  }\n}"},{"id":"d566f9ae-f59d-4f4c-850e-5a9c2d9be0f3","name":"Validation error.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Welcome Email\",\n  \"html\": \"<html><body><h1>Welcome!</h1></body></html>\",\n  \"language\": \"en\",\n  \"group\": \"Onboarding\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/templates"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"One of the fields 'template_id' or 'html' must be provided in order to create a template\"\n    ]\n  }\n}"}],"_postman_id":"38317fcb-708d-45f0-b8c3-f08ab46b4a4e"},{"name":"Update a template","id":"cb5e1a14-076b-45b5-af21-d7e9022cfdeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Welcome Email\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v2/templates/:id","description":"<p>Updates one or more fields on an existing template. <code>name</code>, <code>status</code>, <code>language</code>, <code>group</code>, and <code>html</code> are updatable. <code>external_id</code>, <code>preview_url</code>, <code>create_time</code>, and <code>modified_time</code> are silently ignored if included. If <code>id</code> is included in the request body, it must match the <code>{id}</code> in the URL — if they differ, a validation error is returned.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["templates",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"c001fa7b-1f25-4e9c-9569-9ba9a190bf5c","description":{"content":"<p>The unique ID of the template.</p>\n","type":"text/plain"},"type":"any","value":"8884","key":"id"}]}},"response":[{"id":"4509b299-6ef8-45c1-b1e5-2ef8df956332","name":"Template updated successfully.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Welcome Email\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/templates/:id","host":["https://e1.envoke.com/v2"],"path":["templates",":id"],"variable":[{"key":"id","value":"8884","description":"The unique ID of the template."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Updated\",\n  \"result_data\": {\n    \"id\": 42,\n    \"external_id\": \"a1b2c3d4e5f6\",\n    \"preview_url\": \"https://e1.envoke.com/m/acme-corp/m/a1b2c3d4e5f6\",\n    \"name\": \"Updated Welcome Email\",\n    \"status\": \"published\",\n    \"language\": \"en\",\n    \"group\": \"\",\n    \"create_time\": \"2026-04-11 09:00:00\",\n    \"modified_time\": \"2026-04-11 15:00:00\"\n  }\n}"},{"id":"cbf14a93-155d-47d4-b048-0783f7db6679","name":"Validation error or template not found. All errors use the validation envelope.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Welcome Email\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://e1.envoke.com/v2/templates/:id","host":["https://e1.envoke.com/v2"],"path":["templates",":id"],"variable":[{"key":"id","value":"8884","description":"The unique ID of the template."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"The field 'name' must be at least 3 characters long\"\n    ]\n  }\n}"}],"_postman_id":"cb5e1a14-076b-45b5-af21-d7e9022cfdeb"},{"name":"Delete a template","id":"1d9a271d-58e3-4e4a-b882-af6ea1d21e5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v2/templates/:id","description":"<p>Soft-deletes a template. The template is archived and no longer returned by the API, but the underlying data is not immediately purged.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"path":["templates",":id"],"host":["https://e1.envoke.com/v2"],"query":[],"variable":[{"id":"6a868b7b-a95a-4d20-917f-79c98c5c4f30","description":{"content":"<p>The unique ID of the template.</p>\n","type":"text/plain"},"type":"any","value":"8884","key":"id"}]}},"response":[{"id":"72829cf7-3664-4739-b77b-42dbe7c8ff54","name":"Template deleted successfully.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/templates/:id","host":["https://e1.envoke.com/v2"],"path":["templates",":id"],"variable":[{"key":"id","value":"8884","description":"The unique ID of the template."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Deleted\",\n  \"result_data\": []\n}"},{"id":"096c0aee-a0df-4e88-9c39-c2f5ed403e5b","name":"The template ID was not found. Returns a validation error envelope.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"https://e1.envoke.com/v2/templates/:id","host":["https://e1.envoke.com/v2"],"path":["templates",":id"],"variable":[{"key":"id","value":"8884","description":"The unique ID of the template."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"Item with id '999999' not found\"\n    ]\n  }\n}"}],"_postman_id":"1d9a271d-58e3-4e4a-b882-af6ea1d21e5a"}],"id":"b594bfe1-6e2e-42b3-a1bb-893966d9ec8b","_postman_id":"b594bfe1-6e2e-42b3-a1bb-893966d9ec8b","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Hooks","item":[{"name":"List webhook subscriptions","id":"d27c1f3d-a1e7-461f-8afa-02ebb0e369bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/hooks?limit=5&skip=0&fields=id,type,url&type=preference_page_submission","description":"<p>Returns all webhook subscriptions for the authenticated account. All subscriptions are returned by default (no limit). Supports filtering by <code>type</code>, pagination, and field selection.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","hooks"],"host":["e1","envoke","com"],"query":[{"description":{"content":"<p>Maximum number of subscriptions to return. When omitted, all subscriptions are returned.</p>\n","type":"text/plain"},"key":"limit","value":"5"},{"description":{"content":"<p>Number of records to skip. Used with <code>limit</code> for pagination.</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Comma-separated list of fields to include in each response object.</p>\n","type":"text/plain"},"key":"fields","value":"id,type,url"},{"description":{"content":"<p>Filter results to subscriptions matching the given event type.</p>\n","type":"text/plain"},"key":"type","value":"preference_page_submission"}],"variable":[]}},"response":[{"id":"fa738ed2-c460-4646-9684-de42185a5b66","name":"An array of webhook subscriptions. Returns `[]` if none exist.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":{"raw":"https://e1.envoke.com/v1/hooks?limit=5&skip=0&fields=id,type,url&type=preference_page_submission","protocol":"https","host":["e1","envoke","com"],"path":["v1","hooks"],"query":[{"key":"limit","value":"5","description":"Maximum number of subscriptions to return. When omitted, all subscriptions are returned."},{"key":"skip","value":"0","description":"Number of records to skip. Used with `limit` for pagination."},{"key":"fields","value":"id,type,url","description":"Comma-separated list of fields to include in each response object."},{"key":"type","value":"preference_page_submission","description":"Filter results to subscriptions matching the given event type."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"9f1c2a42baedb56c7e65b3eeaf1a8814\",\n    \"type\": \"form_submission\",\n    \"url\": \"https://hooks.zapier.com/hooks/catch/123456/abcdef/\",\n    \"filter\": {\n      \"form_id\": \"abc123def456\"\n    }\n  },\n  {\n    \"id\": \"a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7\",\n    \"type\": \"email_open\",\n    \"url\": \"https://hooks.zapier.com/hooks/catch/123456/ghijkl/\",\n    \"filter\": {\n      \"campaign_id\": \"789\"\n    }\n  }\n]"}],"_postman_id":"d27c1f3d-a1e7-461f-8afa-02ebb0e369bd"},{"name":"Get a single webhook subscription","id":"a014f327-4d48-4e0a-a7bf-e91724db058c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/hooks/{{id}}.json","description":"<p>Returns a single webhook subscription by its ID. Returns <code>null</code> if the ID is not found.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","hooks","{{id}}.json"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"6d533093-49b8-4322-b448-53bf1d5093bd","name":"The webhook subscription, or `null` if not found.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":"https://e1.envoke.com/v1/hooks/{{id}}.json"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"9f1c2a42baedb56c7e65b3eeaf1a8814\",\n  \"type\": \"form_submission\",\n  \"url\": \"https://crm.ridgeline.edu/webhooks/envoke/admissions\",\n  \"filter\": {\n    \"form_id\": \"abc123def456\"\n  }\n}"}],"_postman_id":"a014f327-4d48-4e0a-a7bf-e91724db058c"},{"name":"Create a webhook subscription","id":"468e5b82-7ca9-43e8-920c-c4a8747f8ebe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"form_submission\",\n  \"url\": \"https://crm.ridgeline.edu/webhooks/envoke/admissions\",\n  \"filter\": {\n    \"form_id\": \"abc123def456\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v1/hooks","description":"<p>Creates a new webhook subscription. <code>type</code> and <code>url</code> are required. <code>filter</code> is optional — omit it or pass <code>{}</code> to receive all events of the given type.</p>\n<p>Returns HTTP 201 on success. Returns HTTP 400 with a duplicate error if a subscription with the same <code>type</code> and <code>url</code> already exists.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","hooks"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"7f9fdde7-44cf-455b-8fd9-c435424427e2","name":"Subscription created successfully.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"form_submission\",\n  \"url\": \"https://crm.ridgeline.edu/webhooks/envoke/admissions\",\n  \"filter\": {\n    \"form_id\": \"abc123def456\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v1/hooks"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"9f1c2a42baedb56c7e65b3eeaf1a8814\"\n}"},{"id":"11ab2d51-984f-4c23-9c2c-91341118a2dd","name":"Validation error or duplicate subscription.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"form_submission\",\n  \"url\": \"https://crm.ridgeline.edu/webhooks/envoke/admissions\",\n  \"filter\": {\n    \"form_id\": \"abc123def456\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://e1.envoke.com/v1/hooks"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"result_text\": \"Validation failed, see 'result_data' -> 'errors'\",\n  \"result_data\": {\n    \"errors\": [\n      \"'type' is required\"\n    ]\n  }\n}"}],"_postman_id":"468e5b82-7ca9-43e8-920c-c4a8747f8ebe"},{"name":"Delete a webhook subscription","id":"90f1e209-5609-4e77-9591-178f0ddd1db1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://e1.envoke.com/v1/hooks/{{id}}.json","description":"<p>Permanently deletes a webhook subscription. No further events are delivered once deleted. The operation is idempotent — deleting a non-existent ID returns a success response.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","hooks","{{id}}.json"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"48f4bac5-5523-461b-bcab-83d9bb69da57","name":"Subscription deleted (or did not exist — deletion is idempotent).","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic <credentials>","description":"Added as a part of security scheme: basic"}],"url":"https://e1.envoke.com/v1/hooks/{{id}}.json"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"result_text\": \"Deleted\",\n  \"result_data\": []\n}"}],"_postman_id":"90f1e209-5609-4e77-9591-178f0ddd1db1"}],"id":"460c2ac5-984f-4d68-9686-ca4652552f5c","_postman_id":"460c2ac5-984f-4d68-9686-ca4652552f5c","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Reports (beta)","item":[{"name":"Email stats by id","id":"5ed90045-baee-4df5-8efc-2db0ed4188dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://e1.envoke.com/v1/reports/emailActivityMetrics?message_id=123","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","reports","emailActivityMetrics"],"host":["e1","envoke","com"],"query":[{"key":"message_id","value":"123"}],"variable":[]}},"response":[{"id":"4c9c4ebd-492c-46fe-8b20-068089b14f57","name":"Email stats by id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://e1.envoke.com/v1/reports/emailActivityMetrics?message_id=123","protocol":"https","host":["e1","envoke","com"],"path":["v1","reports","emailActivityMetrics"],"query":[{"key":"message_id","value":"123"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"message_id\": \"123\",\n        \"message_name\": \"Test message\",\n        \"subject\": \"Test message subject\",\n        \"sends\": \"17\",\n        \"opens\": \"18\",\n        \"clicks\": \"0\",\n        \"bounces\": \"0\",\n        \"revoked_consent\": \"5\"\n    }\n]"}],"_postman_id":"5ed90045-baee-4df5-8efc-2db0ed4188dd"},{"name":"Email stats by date range","id":"94553b3f-3333-41bd-8bd2-ea033135587c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://e1.envoke.com/v1/reports/emailActivityMetrics?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","reports","emailActivityMetrics"],"host":["e1","envoke","com"],"query":[{"key":"start_date","value":"YYYY-MM-DD"},{"key":"end_date","value":"YYYY-MM-DD"}],"variable":[]}},"response":[{"id":"0cc9ae73-c1b3-49dd-828b-8e5efac0bd3c","name":"Email stats by date range","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://e1.envoke.com/v1/reports/emailActivityMetrics?start_date=2023-01-01&end_date=2023-01-31","protocol":"https","host":["e1","envoke","com"],"path":["v1","reports","emailActivityMetrics"],"query":[{"key":"start_date","value":"2023-01-01"},{"key":"end_date","value":"2023-01-31"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"message_id\": \"123\",\n        \"message_name\": \"Test message\",\n        \"subject\": \"Test message subject\",\n        \"sends\": \"17\",\n        \"opens\": \"18\",\n        \"clicks\": \"0\",\n        \"bounces\": \"0\",\n        \"revoked_consent\": \"5\"\n    },\n    {\n        \"message_id\": \"124\",\n        \"message_name\": \"testing\",\n        \"subject\": \"test message\",\n        \"sends\": \"19\",\n        \"opens\": \"17\",\n        \"clicks\": \"0\",\n        \"bounces\": \"2\",\n        \"revoked_consent\": \"0\"\n    }\n]"}],"_postman_id":"94553b3f-3333-41bd-8bd2-ea033135587c"},{"name":"Email stats by recipient tag","id":"6e45a7d1-384b-410f-a7b5-7fffbe85c1f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://e1.envoke.com/v1/reports/emailActivityMetrics?segment=iid|TAG_ID","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","reports","emailActivityMetrics"],"host":["e1","envoke","com"],"query":[{"key":"segment","value":"iid|TAG_ID"}],"variable":[]}},"response":[{"id":"15c54b41-f394-442d-ae1d-f89ce1179228","name":"Email stats by recipient list","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://e1.envoke.com/v1/reports/emailActivityMetrics?segment=iid|123","protocol":"https","host":["e1","envoke","com"],"path":["v1","reports","emailActivityMetrics"],"query":[{"key":"segment","value":"iid|123"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"message_id\": \"123\",\n        \"message_name\": \"Test message\",\n        \"subject\": \"Test message subject\",\n        \"sends\": \"17\",\n        \"opens\": \"18\",\n        \"clicks\": \"0\",\n        \"bounces\": \"0\",\n        \"revoked_consent\": \"5\"\n    },\n    {\n        \"message_id\": \"124\",\n        \"message_name\": \"testing\",\n        \"subject\": \"test message\",\n        \"sends\": \"19\",\n        \"opens\": \"17\",\n        \"clicks\": \"0\",\n        \"bounces\": \"2\",\n        \"revoked_consent\": \"0\"\n    }\n]"}],"_postman_id":"6e45a7d1-384b-410f-a7b5-7fffbe85c1f5"},{"name":"Email stats by recipient segment","id":"8b9df197-73d7-4d05-8b82-51cfab7230ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://e1.envoke.com/v1/reports/emailActivityMetrics?segment=fid|SEGMENT_ID","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","reports","emailActivityMetrics"],"host":["e1","envoke","com"],"query":[{"key":"segment","value":"fid|SEGMENT_ID"}],"variable":[]}},"response":[{"id":"1aafa7f6-dbfb-4ca0-9f52-cf65dd53ece0","name":"Email stats by recipient tag","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://e1.envoke.com/v1/reports/emailActivityMetrics?segment=fid|123","protocol":"https","host":["e1","envoke","com"],"path":["v1","reports","emailActivityMetrics"],"query":[{"key":"segment","value":"fid|123"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"message_id\": \"123\",\n        \"message_name\": \"Test message\",\n        \"subject\": \"Test message subject\",\n        \"sends\": \"17\",\n        \"opens\": \"18\",\n        \"clicks\": \"0\",\n        \"bounces\": \"0\",\n        \"revoked_consent\": \"5\"\n    },\n    {\n        \"message_id\": \"124\",\n        \"message_name\": \"testing\",\n        \"subject\": \"test message\",\n        \"sends\": \"19\",\n        \"opens\": \"17\",\n        \"clicks\": \"0\",\n        \"bounces\": \"2\",\n        \"revoked_consent\": \"0\"\n    }\n]"}],"_postman_id":"8b9df197-73d7-4d05-8b82-51cfab7230ca"}],"id":"afe3656d-f41e-42a5-b892-f79c7185c14e","description":"<p>Return stats about email campaigns including: sends, opens, clicks, bounces, revoked_consent.</p>\n<p>Support documentation for <a href=\"https://support.envoke.com/en/articles/6162131-reporting-api\">Reports API</a></p>\n<blockquote>\n<p><em>The reporting API is currently a beta release. Beta features are early releases that are still a bit rough around the edges. They are fully functional, but aspects may be subject to change. In the case of APIs this may include breaking changes to field names, endpoints, or attribution logic. Through our customers' usage and feedback of beta features we gain insights about how to finalize development.</em></p>\n</blockquote>\n","_postman_id":"afe3656d-f41e-42a5-b892-f79c7185c14e","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}},{"name":"Send emails (legacy)","item":[{"name":"Send single email","id":"18a44a61-887a-4cc6-b6e6-b3ff5e4719d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://e1.envoke.com/api/v4legacy/send/SendEmails.json","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v4legacy","send","SendEmails.json"],"host":["e1","envoke","com"],"query":[],"variable":[]}},"response":[{"id":"9cefcede-e946-43cb-a2f9-cdb0e67b1223","name":"Send single email","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SendEmails\": [\n        {\n            \"EmailDataArray\": [\n                {\n                    \"email\": [\n                        {\n                            \"to_email\": \"name@domain.com\",\n                            \"to_name\": \"John Doe\",\n                            \"from_email\": \"info@acme.com\",\n                            \"from_name\": \"Acme Info\",\n                            \"reply_email\": \"noreply@acme.com\",\n                            \"reply_name\": \"No reply\",\n                            \"message_subject\": \"Test API send\",\n                            \"message_html\": \"This is an HMTL email sent to: {email} via the <b><a href='https://envoke.com'>Envoke</a> Send Emails API</b>\",\n                            \"message_text\": \"This is a text version equivalent sent to: {email} via the Envoke Emails API\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"},"url":"https://e1.envoke.com/api/v4legacy/send/SendEmails.json"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"result_type\": \"0\",\n        \"result_value\": \"true\",\n        \"result_data\": [\n            {\n                \"response\": [\n                    {\n                        \"request_type\": \"send\",\n                        \"request_id\": \"name@domain.com\",\n                        \"response_type\": 0,\n                        \"response_value\": \"true\",\n                        \"response_data\": \"1234\",\n                        \"response_text\": \"TRUE: Request successful, email sent to: name@domain.com\"\n                    }\n                ]\n            }\n        ],\n        \"result_text\": \"TRUE: Request successful, 1 email(s) sent\"\n    }\n]"}],"_postman_id":"18a44a61-887a-4cc6-b6e6-b3ff5e4719d4"}],"id":"551896ad-3374-4e20-8e15-7e8f90150ce9","description":"<p><strong>IMPORTANT: This API is deprecated and supported only for existing integrations.</strong></p>\n<p><strong>Use the modern</strong> <a href=\"https://support.envoke.com/en/articles/12663483-send-api-fields\"><b>send API</b></a> <strong>instead.</strong></p>\n<p>The Send emails API can be used to send out transactional emails from outside the Envoke user interface.</p>\n<p>Support documentation for <a href=\"https://support.envoke.com/en/articles/1697213-send-email-api\">Send emails API</a></p>\n","_postman_id":"551896ad-3374-4e20-8e15-7e8f90150ce9","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]},"isInherited":true,"source":{"_postman_id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","id":"e7cddb3b-4b7a-44b1-b702-66624b7bcb57","name":"Envoke API documentation","type":"collection"}}}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{BasicAuthUser}}"},{"key":"password","value":"{{BasicAuthPass}}"}]}},"event":[{"listen":"prerequest","script":{"id":"14b5ae91-b549-40a3-8436-2a15489d5d26","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"063d8e01-358f-4bdf-98cf-4bad8b4814fb","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://e1.envoke.com/v2"}]}