{"info":{"_postman_id":"d321a165-dcc6-4a44-92ce-1fe58ad6da4e","name":"Morph.ai Public APIs","description":"<html><head></head><body><blockquote>\n<p>This postman collections contains the APIs which you can use to intergrate Morph.ai WhatsApp chatbot.</p>\n</blockquote>\n<ol>\n<li>Please refer to <a href=\"https://morphdesk.freshdesk.com/support/solutions/articles/60000659891\">this document</a> for an introduction to using Morph APIs.</li>\n<li>For any doubt, please get in <a href=\"https://morphdesk.freshdesk.com/support/solutions/articles/60000609759\">touch with us</a>. We are always happy to help.</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1271993","collectionId":"d321a165-dcc6-4a44-92ce-1fe58ad6da4e","publishedId":"SzYgPZpK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-04-09T12:03:52.000Z"},"item":[{"name":"Send Post Session Message","id":"dc52b89b-b3c6-4a91-8704-40233ad6ff4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"<access_token>","description":"<p>You need to enter the access token here. Follow <a href>these steps</a> to find your account's access token.</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","type":"text","description":"<p>The content type is always <code>application/json</code></p>\n"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": \"<account_id>\",\n    \"templateId\": \"<template_id>\",\n    \"postSessionParams\": [\n        \"param1\",\n        \"param2\"\n    ],\n    \"customerData\": {\n        \"<property_title>\": \"<value>\"\n    }\n}"},"url":"https://open-api.morph.ai/v1/message/wa/post_session/send/<phone_number_with_country_code>","urlObject":{"protocol":"https","path":["v1","message","wa","post_session","send","<phone_number_with_country_code>"],"host":["open-api","morph","ai"],"query":[],"variable":[]}},"response":[{"id":"0bdaa2f9-b2d7-45f6-8c5d-0736ffe6f92a","name":"Send Notification + Update Customer","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"<access_token>","description":"You need to enter the access token here. Follow [these steps]() to find your account's access token.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text","description":"The content type is always `application/json`"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": \"5d9200f7e01b2b7d57d9ef81\",\n    \"templateId\": \"5d9ef9ecd0d22e0c3ca29643\"\n    \"postSessionParams\": [\n        \"John\",\n        \"NY\"\n    ],\n    \"customerData\": {\n        \"Last Notification Time\": \"1586441178000\",\n        \"Status\": \"Application Submitted\"\n    }\n}"},"url":"https://open-api.morph.ai/v1/message/wa/post_session/send/<phone_number_with_country_code>"},"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Cache-Control","value":"no-cache, no-store, no-transform, must-revalidate","description":"","type":"text"},{"key":"Content-Length","value":"27","description":"","type":"text"},{"key":"Server","value":"Jetty(9.4.11.v20180605)","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"},{"id":"80a1589e-8396-4846-afea-6dc8ae21ca2a","name":"Send Only Notification","originalRequest":{"method":"POST","header":[{"description":"In this you have to send access token which you will get from morph team. Please raise a [request here](https://support.morph.ai/portal/newticket) to get an access token.","key":"Authorization","type":"text","value":"<access_token>"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": \"5d9200f7e01b2b7d57d9ef81\",\n    \"templateId\": \"5d9ef9ecd0d22e0c3ca29643\"\n    \"postSessionParams\": [\n        \"John\",\n        \"NY\"\n    ]\n}"},"url":"https://open-api.morph.ai/v1/message/wa/post_session/send/+919626262626"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Cache-Control","value":"no-cache, no-store, no-transform, must-revalidate"},{"key":"Content-Length","value":"938"},{"key":"Server","value":"Jetty(9.4.11.v20180605)"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"}],"_postman_id":"dc52b89b-b3c6-4a91-8704-40233ad6ff4a"}],"event":[{"listen":"prerequest","script":{"id":"f0a22dec-edf4-42c9-a66a-b9da838fd5f4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8d2555d2-cc18-4e12-84dc-4592c03bc742","type":"text/javascript","exec":[""]}}],"variable":[{"key":"brand_access_token","value":""}]}