{"info":{"_postman_id":"c2df6af6-9839-4bcd-bf27-54265431a267","name":"Botsify APIs","description":"<html><head></head><body><h2 id=\"how-to-get-bot-api-key\">How To Get Bot API Key:</h2>\n<ol>\n<li><p>Login to Botsify and select your bot.</p>\n</li>\n<li><p>In the side menu hover over publish bot icon</p>\n</li>\n<li><p>A pop will appear, click the messenger icon, sidebar will trigger</p>\n</li>\n<li><p>Click publish bot</p>\n</li>\n<li><p>Copy the API key.</p>\n</li>\n</ol>\n<img src=\"https://bot-file-upload-eu-1.s3.eu-west-1.amazonaws.com/templates/images/Screenshot_1_98469_1644602994.png\">\n\n<h2 id=\"how-to-get-bot-idpayload\">How To Get Bot ID/Payload:</h2>\n<ol>\n<li><p>Login to Botsify</p>\n</li>\n<li><p>If you are on bot dashboard, Go to Home Page</p>\n</li>\n<li><p>From the bots listing, click the : icon and copy payload.</p>\n</li>\n</ol>\n<img src=\"https://bot-file-upload-eu-1.s3.eu-west-1.amazonaws.com/templates/images/Screenshot_3_113499_1644611282.png\"></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13814537","collectionId":"c2df6af6-9839-4bcd-bf27-54265431a267","publishedId":"TVmTdF7W","public":true,"customColor":{"top-bar":"061C59","right-sidebar":"061C59","highlight":"0A5BFF"},"publishDate":"2020-12-10T08:39:33.000Z"},"item":[{"name":"Authorization","item":[{"name":"Login","id":"d1e2a194-6d34-4d64-8dff-9628a2dc1077","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"email\": \"<YOUR_BOTSIFY_EMAIL>\",\r\n    \"password\" : \"<YOUR_BOTSIFY_PASSWORD>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/login","urlObject":{"protocol":"https","path":["api","v1","login"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"135153ea-91c9-43d7-95e9-ad6f2b031df6","name":"Login : Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"email\": \"<YOUR_BOTSIFY_EMAIL>\",\r\n    \"password\" : \"<YOUR_BOTSIFY_PASSWORD>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n\t\"email\": \"Invalid\",\n    \"password\" : \"Invalid\"\n}"},{"id":"6690be6f-76be-4781-921a-16d6df606e9e","name":"Login : Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"email\": \"<YOUR_BOTSIFY_EMAIL>\",\r\n    \"password\" : \"<YOUR_BOTSIFY_PASSWORD>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"user’s email\",\n    \"auth_id\" : \"user's id\",\n    \"client_id\": \"Passport client id\",\n    \"client_secret\": \"Passport client secret\"\n}"}],"_postman_id":"d1e2a194-6d34-4d64-8dff-9628a2dc1077"},{"name":"Oauth Token","id":"87b08498-c18a-4a96-8993-2b82b061479e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"grant_type\" : \"password\",\r\n\t\"client_id\": \"<FROM_LOGIN_API>\",\r\n\t\"client_secret\": \"<FROM_LOGIN_API>\",\r\n\t\"username\": \"<YOUR_BOTSIFY_EMAIL>\",\r\n    \"password\" : \"<YOUR_BOTSIFY_PASSWORD>\",\r\n    \"scope\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/oauth/token","urlObject":{"protocol":"https","path":["oauth","token"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"1f8bbd95-3f9a-4a07-b160-ba0784e069fc","name":"Oauth Token : Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"grant_type\" : \"password\",\r\n\t\"client_id\": \"<FROM_LOGIN_API>\",\r\n\t\"client_secret\": \"<FROM_LOGIN_API>\",\r\n\t\"username\": \"<YOUR_BOTSIFY_EMAIL>\",\r\n    \"password\" : \"<YOUR_BOTSIFY_PASSWORD>\",\r\n    \"scope\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"user’s access_token\"\n}"},{"id":"350405c2-e036-41cc-86d6-f90a8e6c3082","name":"Oauth Token : Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"username\": \"invalid email address\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n\t\"email\": \"Invalid\",\n    \"password\" : \"Invalid\"\n}"}],"_postman_id":"87b08498-c18a-4a96-8993-2b82b061479e"}],"id":"b0993faf-3c17-4538-a4ff-30d8963f5524","_postman_id":"b0993faf-3c17-4538-a4ff-30d8963f5524","description":""},{"name":"Bots","item":[{"name":"Change Bot User's Activation Status","id":"866052bc-a3c1-4600-a7d3-f48f6c8458d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"fbId\" : \"<USER_FBID>\",\r\n    \"status\" : 1 or 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/change-bot-activation-by-muId","urlObject":{"protocol":"https","path":["api","v1","change-bot-activation-by-muId"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"26fb2cdb-c4d8-4fbe-bd92-10905380bb7e","name":"Change Bot User's Activation Status : Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"fbId\" : \"<USER_FBID>\",\r\n    \"status\" : 1 or 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/change-bot-activation-by-muId"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthenticated.\"\n}"},{"id":"b16603f3-54c4-496a-be76-afb5335a284e","name":"Change Bot User's Activation Status : Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"fbId\" : \"<USER_FBID>\",\r\n    \"status\" : 1 or 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/change-bot-activation-by-muId"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"}],"_postman_id":"866052bc-a3c1-4600-a7d3-f48f6c8458d9"},{"name":"Get Bot User's Chat","id":"e93b2f26-2118-422b-babc-011b5c3da05a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer <ACCOUNT_ACCESS_TOKEN>"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"fbId\" : \"<USER_FBID>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-chat","urlObject":{"protocol":"https","path":["api","v1","get-chat"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"b5e1032a-f27a-425f-83aa-a64a4464bd2d","name":"Get Bot User's Chat : Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"fbId\" : \"<USER_FBID>\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.botsify.com/api/v1/get-chat","protocol":"https","host":["app","botsify","com"],"path":["api","v1","get-chat"],"query":[{"key":"","value":"","type":"text","disabled":true},{"key":"","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"conversations\": {\n        \"-MNT-hbYbnvnISwGWy3y\": {\n            \"bot_id\": \"bot_id\",\n            \"created_at\": \"2020-12-01 11:14:31\",\n            \"deleted\": 0,\n            \"json_sent\": {\n                \"text\": \"shukran\"\n            },\n            \"user_id\": \"messenger_user_id\",\n            \"user_name\": \"Anonymous 2\"\n        }\n    }\n}"},{"id":"a05da836-b212-435d-ac11-f2fc773fd15f","name":"Get Bot User's Chat : ERROR","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer <ACCOUNT_ACCESS_TOKEN>"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"fbId\" : \"<USER_FBID>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-chat"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Sep 2022 10:28:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"x-ratelimit-limit","value":"500"},{"key":"x-ratelimit-remaining","value":"430"},{"key":"access-control-allow-origin","value":"*"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=LaKDyf%2BDPSXiG1Vg%2FOyyr4FeVP6%2BcUuypmALmSTO8ytoWXBbShpbAHobCzKcaEUDcJxO7bXHm4BCu38M%2BGGTpqy%2BHVOJxYdPhweAGBEmS3jh0V%2FG0N3xvGMtl5SahwU12w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"74a86fc23b9256da-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthenticated.\"\n}"}],"_postman_id":"e93b2f26-2118-422b-babc-011b5c3da05a"},{"name":"Get Bot Conversations","id":"f2dba92a-4101-40db-9c33-548bd333e6fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer <ACCOUNT_ACCESS_TOKEN>"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"source\" : \"all/facebook/website (default: all)\",\r\n    \"page\": \"number (default: 1)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-conversations","urlObject":{"protocol":"https","path":["api","v1","get-conversations"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"40c0ee4b-4284-410c-be96-c15defe5f69d","name":"Get Bots Conversations : Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"source\" : \"all/facebook/website (default: all)\",\r\n    \"page\": \"number (default: 1)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-conversations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\t\n\t\"messengerUsers\" : [\n        {\n            \"id\": \"messenger user id\",\n            \"name\": \"Saad\",\n            \"type\": \"facebook\",\n            \"fbId\": \"asd1234\"\n        }\n    ]\n}"},{"id":"dfa1b3b9-fa6e-4ded-bb2a-797d318285b0","name":"Get Bots Conversations : Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"source\" : \"all/facebook/website (default: all)\",\r\n    \"page\": \"number (default: 1)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-conversations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthenticated.\"\n}"}],"_postman_id":"f2dba92a-4101-40db-9c33-548bd333e6fc"},{"name":"Get Bots","id":"1d3500c2-866b-413b-b004-71574f963173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer <ACCOUNT_ACCESS_TOKEN>"},{"key":"Accept","type":"text","value":"application/json"}],"url":"https://app.botsify.com/api/v1/get-bots","urlObject":{"protocol":"https","path":["api","v1","get-bots"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"acea096c-f6a5-4b7b-add2-e4b56392ab7b","name":"Get Bots : Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.botsify.com/api/v1/get-bots"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"bots\": [\n    {\n      \"id\": \"bot id\",\n      \"name\": \"123123\",\n      \"apikey\": \"bot api key\"\n    }\n  ],\n  \"shared_bots\": [\n    {\n      \"id\": \"bot id\",\n      \"name\": \"123123-2\",\n      \"apikey\": \"bot api key\"\n    }\n  ]\n}"},{"id":"51784d80-4a71-4079-8350-44f64feb1bd3","name":"Get Bots: Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.botsify.com/api/v1/get-bots"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthenticated.\"\n}"}],"_postman_id":"1d3500c2-866b-413b-b004-71574f963173"},{"name":"Create Bot","id":"fba51c07-e76c-4dd4-b620-a149806fb0d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"bot_name\" : \"Testers Bot2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/create-bot","urlObject":{"protocol":"https","path":["api","v1","create-bot"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"3add0071-03cb-4795-8ad9-d066873c41a3","name":"Create Bot: Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"bot_name\" : \"Testers Bot2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/create-bot"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 11 Oct 2021 11:42:08 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"499"}],"cookie":[],"responseTime":null,"body":"{\n    \"bot_id\": \"bot-id\",\n    \"bot_name\": \"Testers Bot2\",\n    \"bot_token\": \"bot-token\",\n    \"bot_api_key\": \"bot-api-key\"\n}"},{"id":"c5619280-13e6-4dd4-89b7-9645a07cea86","name":"Create Bot: Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"bot_name\" : \"Testers Bot2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-bots"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthenticated.\"\n}"}],"_postman_id":"fba51c07-e76c-4dd4-b620-a149806fb0d7"},{"name":"Get Query Response","id":"f646f2ce-85dc-4421-b0d6-8c73994982e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"query\":\"hi\", \n    \"apikey\":\"<CHATBOT_APIKEY>\" , \n    \"fbId\":\"<USER_FBID>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-query-response","urlObject":{"protocol":"https","path":["api","v1","get-query-response"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"125ecaf6-8c02-424a-9907-efbf2991fb7a","name":"Get Query Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"query\":\"hi\", \n    \"apikey\":\"<CHATBOT_APIKEY>\" , \n    \"fbId\":\"<USER_FBID>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-query-response"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        {\n            \"text\": \"How are you\"\n        }\n    ]\n}"}],"_postman_id":"f646f2ce-85dc-4421-b0d6-8c73994982e3"}],"id":"186ee39a-b9c0-4097-88fb-2cf496714169","_postman_id":"186ee39a-b9c0-4097-88fb-2cf496714169","description":""},{"name":"Messenger Users","item":[{"name":"Get Bot Messenger Users","id":"ec4fabcc-03bc-42e4-bdd9-c92393b21b49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-bot-users","urlObject":{"protocol":"https","path":["api","v1","get-bot-users"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"deae864c-334f-49bd-8a4b-d58c02a98799","name":"Get Bot Messenger Users: Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-bot-users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 02 Dec 2020 12:01:44 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"bot_users\": [\n        {\n            \"name\": \"Sundar Parkash\",\n            \"email\": \"\",\n            \"type\": \"facebook\",\n            \"fbId\": \"3426190900747873\",\n            \"created_at\": \"2020-07-31 12:01:29\",\n            \"user_attributes\": \"created_at:2020-07-31\"\n        }\n    ]\n}"},{"id":"35052ba2-71ad-4c54-b854-c63ec54a74df","name":"Get Bot Messenger Users: Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-bot-users"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"failed\",\r\n\t\"error\": \"Error message\"\r\n}\r\n"}],"_postman_id":"ec4fabcc-03bc-42e4-bdd9-c92393b21b49"},{"name":"Create Bot Messenger Users","id":"d1e81fc0-b032-44a7-bd26-1e0020f46f7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"users\":[\r\n        {\r\n            \"name\":\"<USER_NAME>\",\r\n            \"fbId\":\"<USER_FBID>\", // For whatsapp,sms it should be same as phone\r\n            \"phone\":\"<USER_PHONE>\", // Not neccessary for website, facebook, and instagram\r\n            \"type\":\"<USER_TYPE>\" // website,facebook,whatsapp,sms.instagram\r\n        }\r\n    ],\r\n    \"segmentId\":\"<SEGMENT_ID>\" // should be INTEGER (Only required if want to add user in any segment)\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/create-bot-user","urlObject":{"protocol":"https","path":["api","v1","create-bot-user"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"8cfd5f06-4012-4881-95c0-1cfff60dd8f5","name":"Get Bot Messenger Users: Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-bot-users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 02 Dec 2020 12:01:44 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"bot_users\": [\n        {\n            \"name\": \"Sundar Parkash\",\n            \"email\": \"\",\n            \"type\": \"facebook\",\n            \"fbId\": \"3426190900747873\",\n            \"created_at\": \"2020-07-31 12:01:29\",\n            \"user_attributes\": \"created_at:2020-07-31\"\n        }\n    ]\n}"},{"id":"e52844ee-daab-424c-b5a6-abdf1744422e","name":"Get Bot Messenger Users: Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/get-bot-users"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"failed\",\r\n\t\"error\": \"Error message\"\r\n}\r\n"}],"_postman_id":"d1e81fc0-b032-44a7-bd26-1e0020f46f7a"}],"id":"415e3655-9768-40d8-8fb3-964ae94cbf03","description":"<p><a href=\"#intro\">Get your Chatbot API key</a></p>\n","_postman_id":"415e3655-9768-40d8-8fb3-964ae94cbf03"},{"name":"Send Message","item":[{"name":"Send Text Message to User","id":"ace96e73-0eb2-4b66-866a-1c4419d05594","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"type\":\"<TARGET_CHANNEL>\", //website, facebook, whatsapp, telegram, instgram, sms\r\n    \"to\" : \"<USER_FBID>\",\r\n    \"message\": \"Your text message\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/converse/send-message-to-user","description":"<p>Note: * represents required fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>FIELDS</th>\n<th>VALUES</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>apikey*</td>\n<td>chatbot's key</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>website, messenger, whatsapp, telegram, instagram, and sms.</td>\n</tr>\n<tr>\n<td>to*</td>\n<td>messenger user id</td>\n</tr>\n<tr>\n<td>message*</td>\n<td>your message to user</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","converse","send-message-to-user"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"bdc14844-fd6e-4291-8489-b8060b28235d","name":"Send Text Message To Chatbot: Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"type\":\"<TARGET_CHANNEL>\", //website, facebook, whatsapp, telegram, instgram, sms\r\n    \"to\" : \"<USER_FBID>\",\r\n    \"message\": \"Your text message\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/converse/send-message-to-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"log\": [\n        \"Your text message\"\n    ]\n}"},{"id":"310b7079-67e3-4b5a-bc7d-20d1841390d5","name":"Send Text Messge to Chatbot : Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"type\":\"<TARGET_CHANNEL>\", //website, facebook, whatsapp, telegram, instgram, sms\r\n    \"to\" : \"<USER_FBID>\",\r\n    \"message\": \"Your text message\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/converse/send-message-to-user"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"failed\",\n    \"message\": \"Invalid API key provided.\"\n}"}],"_postman_id":"ace96e73-0eb2-4b66-866a-1c4419d05594"},{"name":"Send Media Block or Story to User","id":"c9561f26-4570-4dbc-9380-669a42ba840f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"type\":\"<TARGET_CHANNEL>\", //website, facebook, whatsapp, telegram, instgram, sms\r\n    \"to\" : \"<USER_FBID>\",\r\n    \"message\": {\r\n        \"story_postback\" : \"STORY_ID-123123\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/converse/send-message-to-user/json","description":"<p>Note: * represents required fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>FIELDS</th>\n<th>VALUES</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>apikey*</td>\n<td>chatbot's key</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>website, messenger, whatsapp, telegram, instagram, and sms.</td>\n</tr>\n<tr>\n<td>to*</td>\n<td>messenger user id</td>\n</tr>\n<tr>\n<td>message*</td>\n<td>Object Type:  <br />  <br />story_postback or template_postback</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>See the attachment to get the story postback.</p>\n</blockquote>\n<p><img src=\"https://bot-file-upload-eu-1.s3.eu-west-1.amazonaws.com/templates/images/Screenshot_2_98469_1644610803.png\" alt /></p>\n","urlObject":{"protocol":"https","path":["api","v1","converse","send-message-to-user","json"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"659bdd00-8071-4eb1-8825-46c34bce3bce","name":"Send Media Block or Story to User: Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"type\":\"<TARGET_CHANNEL>\", //website, facebook, whatsapp, telegram, instgram, sms\r\n    \"to\" : \"<USER_FBID>\",\r\n    \"message\": {\r\n        \"story_postback\" : \"STORY_ID-123123\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/converse/send-message-to-user/json"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"log\": [\n        \"Your text message\"\n    ]\n}"},{"id":"b0fe5399-6ec8-4ac7-9792-0b4887f9a525","name":"Send Media Block or Story to User : Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"type\":\"<TARGET_CHANNEL>\", //website, facebook, whatsapp, telegram, instgram, sms\r\n    \"to\" : \"<USER_FBID>\",\r\n    \"message\": {\r\n        \"story_postback\" : \"STORY_ID-123123\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/converse/send-message-to-user/json"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"failed\",\n    \"message\": \"Invalid API key provided.\"\n}"}],"_postman_id":"c9561f26-4570-4dbc-9380-669a42ba840f"}],"id":"1663c3ff-89ea-4829-a0ed-4e3f66ae2074","description":"<p><a href=\"#intro\">Get your Chatbot API key</a></p>\n","_postman_id":"1663c3ff-89ea-4829-a0ed-4e3f66ae2074"},{"name":"User Attributes","item":[{"name":"Set User Attribute","id":"b8b97374-e914-40bd-8fb5-7abcd11aa283","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"messenger_user_id\" : \"<USER_FBID>\",\r\n    \"key\": \"gender\",//Desired key\r\n    \"value\": \"male\"//Desired value\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/add-user-attribute","urlObject":{"protocol":"https","path":["api","v1","add-user-attribute"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"49a8d3cb-a1df-46de-ab39-e554955f30bc","name":"Set User Attribute : Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"messenger_user_id\" : \"<USER_FBID>\",\r\n    \"key\": \"gender\",//Desired key\r\n    \"value\": \"male\"//Desired value\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/add-user-attribute"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"},{"id":"d1dfcd1d-e6c4-4031-a57f-6b1490ad76c3","name":"Set User Attribute : Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"messenger_user_id\" : \"<USER_FBID>\",\r\n    \"key\": \"gender\",//Desired key\r\n    \"value\": \"male\"//Desired value\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/add-user-attribute"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"failed\"\n}"}],"_postman_id":"b8b97374-e914-40bd-8fb5-7abcd11aa283"}],"id":"e75df12a-f98e-448c-9229-e51aee14046d","description":"<p><a href=\"#intro\">Get your Chatbot API key</a></p>\n","_postman_id":"e75df12a-f98e-448c-9229-e51aee14046d"},{"name":"Analytics","item":[{"name":"Whatsapp Broadcast Stats","id":"37cf33ba-2b03-480c-b1ab-a01837253552","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"apikey\" : \"<CHATBOT_APIKEY>\",\n    \"start_date\" : \"2022-05-01\",\n    \"end_date\" : \"2022-08-01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/whatsapp-broadcast-report","urlObject":{"protocol":"https","path":["api","v1","whatsapp-broadcast-report"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"37cf33ba-2b03-480c-b1ab-a01837253552"},{"name":"Bot Dashboard Stats","id":"04c2b675-3780-402f-a59c-9d4dc525649d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"date_from\" : \"2020-03-22 (optional)\",\r\n    \"date_to\": \"2020-04-22 (optional)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/bot-dashboard-stats","urlObject":{"protocol":"https","path":["api","v1","bot-dashboard-stats"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"19436a62-fb58-4689-a56a-07b2f36ba6ea","name":"Bot Dashboard Stats : Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"date_from\" : \"2020-03-22 (optional)\",\r\n    \"date_to\": \"2020-04-22 (optional)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/bot-dashboard-stats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:41:07 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"269"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"total_users\": 19,\n    \"incoming_messages\": 1353,\n    \"outgoing_messages\": 1360,\n    \"user_segments\": {\n        \"Seg 122\": 1\n    }\n}"},{"id":"a85ecc99-de79-4e3a-bc7d-4bd416d66dc5","name":"Bot Dashboard Stats : Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"apikey\": \"<CHATBOT_APIKEY>\",\r\n    \"date_from\" : \"2020-03-22 (optional)\",\r\n    \"date_to\": \"2020-04-22 (optional)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/bot-dashboard-stats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 03 Dec 2020 05:42:01 GMT"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"270"},{"key":"X-RateLimit-Remaining","value":"268"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"failed\",\n    \"message\": \"Invalid bot api key\"\n}"}],"_postman_id":"04c2b675-3780-402f-a59c-9d4dc525649d"}],"id":"08a8b0ad-3c82-4dfa-9f22-c56529d4fee6","_postman_id":"08a8b0ad-3c82-4dfa-9f22-c56529d4fee6","description":""},{"name":"Whatsapp","item":[{"name":"Single Broadcast STATIC MESSAGE TEMPLATE","id":"7cd61857-d720-469f-9769-5ecbda4b35db","protocolProfileBehavior":{"disableBodyPruning":true,"strictSSL":true,"followRedirects":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"apikey\": \"apikey\",\n    \"type\": 8,\n    \"template\": \"WHATSAPP_TEMPLATE_ID-\",\n    \"users\": [\n        {\n            \"phone_number\": \"923228289979\"\n        },\n        {\n            \"phone_number\": \"923323121208\"\n        }\n    ],\n    \"template_data\": {\n        \"category\": \"AUTO_REPLY\",\n        \"type\": \"text\",\n        \"Attachment_link\": \"\",\n        \"bodyIncludes\": [\n            \"body\",\n            \"footer\",\n            \"buttons\",\n            \"header\"\n        ],\n        \"variables\": {\n            \"header\": null,\n            \"body\": [],\n            \"button\": null\n        }\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/whatsapp/single-message-send","urlObject":{"protocol":"https","path":["api","v1","whatsapp","single-message-send"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"f04213dd-ac08-4b74-bacd-89608d1a82b8","name":"Single Broadcast STATIC MESSAGE TEMPLATE","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"apikey\" : \"<CHATBOT_APIKEY>\",\n   \"type\": 8,\n   \"template\": \"<WABA_TEMPLATE_NAME>\",\n   \"users\": [{\n       \"phone_number\": \"<PHONE NUMBER>\"\n   }],\n   \"template_data\":{\n       \"category\": \"AUTO_REPLY\",\n       \"type\": \"text\",\n       \"Attachment_link\": \"\",\n       \"bodyIncludes\": [\"body\"],\n        \"buttons\": [],\n       \"variables\":{\n           \"header\": null,\n           \"body\":[],\n           \"button\": null\n       }\n   }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/whatsapp/single-message-send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"}],"_postman_id":"7cd61857-d720-469f-9769-5ecbda4b35db"},{"name":"Single Broadcast DYNAMIC MESSAGE TEMPLATE Copy","id":"45ee8e72-9d8c-40e5-9e8d-a0b2676178a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"apikey\" : \"<CHATBOT_APIKEY>\",\n   \"type\": 8,\n   \"template\": \"<WABA_TEMPLATE_ID>\", // 876\n   \"users\": [{\n       \"phone_number\": \"<PHONE_NUMBER>\"\n   }],\n   \"template_data\":\n   {\n       \"category\": \"AUTO_REPLY\",\n       \"type\": \"text\",\n       \"attachment_link\": \"\",\n       \"bodyIncludes\": [\"body\", \"footer\", \"buttons\" , \"header\"],\n        \"buttons\": [],\n       \"variables\":{\n           \"header\": null,\n           \"body\": [\n           {\n               \"key\": \"{{1}}\",\n               \"value\": \"Var 1\"\n           },\n           {\n               \"key\": \"{{2}}\",\n               \"value\": \"Var 2\"\n           },\n           {\n               \"key\": \"{{3}}\",\n               \"value\": \"Var 3\"\n           },\n           {\n               \"key\": \"{{4}}\",\n               \"value\": \"Var 4\"\n           }],\n           \"button\": null\n       }\n   }\n}\n"},"url":"https://app.botsify.com/api/v1/whatsapp/single-message-send","urlObject":{"protocol":"https","path":["api","v1","whatsapp","single-message-send"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"673ca3a8-ec71-4f09-a0e7-dcce495319f9","name":"Single Broadcast DYNAMIC MESSAGE TEMPLATE Copy","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"apikey\" : \"<CHATBOT_APIKEY>\",\n   \"type\": 8,\n   \"template\": \"<WABA_TEMPLATE_NAME>\",\n   \"users\": [{\n       \"phone_number\": \"<PHONE_NUMBER>\"\n   }],\n   \"template_data\":\n   {\n       \"category\": \"AUTO_REPLY\",\n       \"type\": \"text\",\n       \"attachment_link\": \"\",\n       \"bodyIncludes\": [\"body\", \"footer\", \"buttons\" , \"header\"],\n        \"buttons\": [],\n       \"variables\":{\n           \"header\": null,\n           \"body\": [\n           {\n               \"key\": \"{{1}}\",\n               \"value\": \"Var 1\"\n           },\n           {\n               \"key\": \"{{2}}\",\n               \"value\": \"Var 2\"\n           },\n           {\n               \"key\": \"{{3}}\",\n               \"value\": \"Var 3\"\n           },\n           {\n               \"key\": \"{{4}}\",\n               \"value\": \"Var 4\"\n           }],\n           \"button\": null\n       }\n   }\n}\n"},"url":"https://app.botsify.com/api/v1/whatsapp/single-message-send"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"}],"_postman_id":"45ee8e72-9d8c-40e5-9e8d-a0b2676178a2"},{"name":"Create Template","id":"ef3a61f6-f8df-498b-8759-63db457ca4f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Simple Text Block\",\n    \"apikey\": \"<chatbot-api-key>\",\n    \"text\": \"Hello! How can I assist you?\",\n    \"image_url\": null,\n    \"video_url\": null,\n    \"buttons\": [],\n    \"language\": \"en\",\n    \"template_specs\": {\n        \"category\": \"UTILITY\",\n        \"header\": \"text\",\n        \"button_type\": null,\n        \"bodyIncludes\": [\"body\"],\n        \"variables\": {\n            \"body\": []\n        }\n\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/media-block/create","urlObject":{"protocol":"https","path":["api","v1","media-block","create"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"75914883-5a82-4dd2-b2c4-708f624afc1f","name":"Simple Text","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Simple Text Block\",\n    \"apikey\": \"<chatbot-api-key>\",\n    \"text\": \"Hello! How can I assist you?\",\n    \"image_url\": null,\n    \"video_url\": null,\n    \"buttons\": [],\n    \"language\": \"en\",\n    \"template_specs\": {\n        \"category\": \"UTILITY\",\n        \"header\": \"text\",\n        \"button_type\": null,\n        \"bodyIncludes\": [\"body\"],\n        \"variables\": {\n            \"body\": []\n        }\n\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/media-block/create"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"},{"id":"18b380f6-3a47-4c85-a48c-8a983f1e49b9","name":"Media Template","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Template with Image Header\",\n    \"apikey\": \"<chatbot-api-key>\",\n    \"text\": \"Check out this image!\",\n    \"image_url\": \"https://example.com/image.jpg\", // For video it will be video_url\n    \"video_url\": null,\n    \"buttons\": [],\n    \"language\": \"en\",\n    \"template_specs\": {\n        \"category\": \"MARKETING\",\n        \"header\": \"image\", // value will be video for video template\n        \"type\": \"media\",\n        \"button_type\": null,\n        \"footer_text\": \"Hope you like it!\",\n        \"bodyIncludes\": [\"body\", \"header\"],\n        \"variables\": {\n            \"header\": null,\n            \"body\": []\n        }\n\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/media-block/create"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"1ce4e34d-2566-48e2-bef1-38bbe9fe76dc","name":"Button Templates","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Interactive Template\",\n    \"apikey\": \"<chatbot-api-key>\",\n    \"text\": \"Contact Us\",\n    \"image_url\": null,\n    \"video_url\": null,\n    \"buttons\": [\n        {\n            \"api\": 1,\n            \"error\": false,\n            \"type\": \"url\",\n            \"title\": \"button label\",\n            \"response\": \"\",\n            \"payload\": \"\",\n            \"url\": \"https://app.omniconvo.ai/bot/manage-team/{{1}}\"\n        },\n        {\n            \"api\": 1,\n            \"type\": \"phone_number\",\n            \"title\": \"Call Support\",\n            \"payload\": \"+1234567890\"\n        }\n    ],\n    \"language\": \"en\",\n    \"template_specs\": {\n        \"category\": \"MARKETING\",\n        \"header\": \"text\",\n        \"button_type\": \"cta\",\n        \"footer_text\": \"Contact us anytime.\",\n        \"bodyIncludes\": [\"body\", \"buttons\"],\n        \"variables\": {\n            \"header\": null,\n            \"body\": [],\n            \"button\": [{\"key\": \"{{1}}\", \"value\": \"media\"}]\n        }\n        \n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/media-block/create"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"cddd9665-0cf7-4a58-bba1-3859d70cb05d","name":"Dynamic Template","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Text Block with Variables\",\n    \"apikey\": \"<chatbot-api-key>\",\n    \"text\": \"Hi {{1}}, your appointment is confirmed!\",\n    \"image_url\": null,\n    \"video_url\": null,\n    \"buttons\": [],\n    \"language\": \"en\",\n    \"template_specs\": {\n        \"category\": \"AUTHENTICATION\",\n        \"header\": \"text\",\n        \"button_type\": null,\n        \"header_text\": \"Hello {{1}}!\",\n        \"footer_text\": \"See you soon!\",\n        \"bodyIncludes\": [\"body\", \"header\"],\n        \"variables\": {\n            \"header\": { \"key\": \"{{1}}\", \"value\": \"John Doe\" },\n            \"body\": [{ \"key\": \"{{1}}\", \"value\": \"John\" }]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.botsify.com/api/v1/media-block/create?","protocol":"https","host":["app","botsify","com"],"path":["api","v1","media-block","create"],"query":[{"key":"","value":null,"type":"text"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"59aceef2-de93-4d77-962b-fe30c015d3ce","name":"Template With Footer & Header","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Text Block with Variables\",\n    \"apikey\": \"<chatbot-api-key>\",\n    \"text\": \"Hi {{1}}, your appointment is confirmed!\",\n    \"image_url\": null,\n    \"video_url\": null,\n    \"buttons\": [],\n    \"language\": \"en\",\n    \"template_specs\": {\n        \"category\": \"AUTHENTICATION\",\n        \"header\": \"text\",\n        \"button_type\": null,\n        \"header_text\": \"Header Text\",\n        \"footer_text\": \"See you soon!\",\n        \"bodyIncludes\": [\"body\", \"header\"],\n        \"variables\": {\n            \"header\": NULL,\n            \"body\": []\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/media-block/create"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ef3a61f6-f8df-498b-8759-63db457ca4f0"},{"name":"Get Templates","id":"1ee859e5-5db1-4031-b2f3-8d796eb33b63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apikey\": \"<chatbot-api-key>\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/media-block/fetch","urlObject":{"protocol":"https","path":["api","v1","media-block","fetch"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"6d0393a1-497a-4277-8cf5-98fa7128e5c5","name":"Get All Templates","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apikey\": \"<chatbot-api-key>\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/media-block/fetch"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"templates\": [\n        {\n            \"id\": 825,\n            \"template_id\": 398720,\n            \"bot_id\": 120108,\n            \"name\": \"md Block\",\n            \"template_name\": \"md_block\",\n            \"map_on_template\": \"md Block\",\n            \"generic\": 1,\n            \"status\": 1,\n            \"type\": \"text\",\n            \"language\": \"en\",\n            \"lines\": 0,\n            \"buttons\": null,\n            \"data\": \"{\\\"category\\\":\\\"MARKETING\\\",\\\"components\\\":[{\\\"text\\\":\\\"Hi\\\",\\\"type\\\":\\\"BODY\\\"}],\\\"created_at\\\":\\\"2025-03-27T11:43:06Z\\\"}\",\n            \"params\": \"[]\",\n            \"rejected_reason\": \"NONE\",\n            \"created_at\": \"2025-03-27T11:43:09.000000Z\",\n            \"updated_at\": \"2025-03-28T12:19:28.000000Z\",\n            \"template\": {\n                \"id\": 398720,\n                \"title\": \"\",\n                \"type\": \"button\",\n                \"template_type\": \"wapp\",\n                \"text\": \"Hi\",\n                \"name\": \"md Block\",\n                \"code\": \"{{md-Block}}\",\n                \"whatsapp_template\": \"md Block\",\n                \"template_slug\": \"md Block\"\n            }\n        }\n    ]\n}"},{"id":"01053fdf-7abe-42f8-82e7-87c6134f70a1","name":"Get Specific Template","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apikey\": \"<chatbot-api-key>\",\n  \"template_id\": \"825\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/media-block/fetch"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"templates\": [\n        {\n            \"id\": 825,\n            \"template_id\": 398720,\n            \"bot_id\": 120108,\n            \"name\": \"md Block\",\n            \"template_name\": \"md_block\",\n            \"map_on_template\": \"md Block\",\n            \"generic\": 1,\n            \"status\": 1,\n            \"type\": \"text\",\n            \"language\": \"en\",\n            \"lines\": 0,\n            \"buttons\": null,\n            \"data\": \"{\\\"category\\\":\\\"MARKETING\\\",\\\"components\\\":[{\\\"text\\\":\\\"Hi\\\",\\\"type\\\":\\\"BODY\\\"}],\\\"created_at\\\":\\\"2025-03-27T11:43:06Z\\\"}\",\n            \"params\": \"[]\",\n            \"rejected_reason\": \"NONE\",\n            \"created_at\": \"2025-03-27T11:43:09.000000Z\",\n            \"updated_at\": \"2025-03-28T12:19:28.000000Z\",\n            \"template\": {\n                \"id\": 398720,\n                \"title\": \"\",\n                \"type\": \"button\",\n                \"template_type\": \"wapp\",\n                \"text\": \"Hi\",\n                \"name\": \"md Block\",\n                \"code\": \"{{md-Block}}\",\n                \"whatsapp_template\": \"md Block\",\n                \"template_slug\": \"md Block\"\n            }\n        }\n    ]\n}"}],"_postman_id":"1ee859e5-5db1-4031-b2f3-8d796eb33b63"},{"name":"Broadcast Report","id":"c45eefc3-4b22-45a1-9b15-cf63dbd180eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apikey\": \"apikey\",\n  \"start_date\": \"2025-05-07\", // 2025-01-01\n  \"end_date\": \"2025-05-08\" // 2025-03-01\n}\n","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/whatsapp-broadcast-report","urlObject":{"protocol":"https","path":["api","v1","whatsapp-broadcast-report"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c45eefc3-4b22-45a1-9b15-cf63dbd180eb"}],"id":"05eaaecd-19d2-4fcf-ac6a-b746da6ef7cc","_postman_id":"05eaaecd-19d2-4fcf-ac6a-b746da6ef7cc","description":""},{"name":"Whitelabel Packages","item":[{"name":"Get Packages","id":"f339ba6b-ebfc-4d6b-bcb8-7d6c2ecb705b","protocolProfileBehavior":{"disableBodyPruning":true,"strictSSL":true,"followRedirects":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/whitelabel/packages","urlObject":{"protocol":"https","path":["api","v1","whitelabel","packages"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"027528ad-69e5-4041-8798-c6212efebb55","name":"Get Packages","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/whitelabel/packages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n    \n}"}],"_postman_id":"f339ba6b-ebfc-4d6b-bcb8-7d6c2ecb705b"},{"name":"Create Package","id":"aeb9f588-1894-4147-9a92-793c0c3912fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"name\" : \"<PACKAGE_NAME>\",\n   \"price\" : \"<PACKAGE_AMOUNT>\",\n   \"currency\" : \"<PACKAGE_CURRENCY>\", //usd,aed,inr\n   \"type\" : \"<PACKAGE_TYPE>\", // monthly,yearly\n   \"active\" : 1, // 0 for in active\n   \"bots\" : 1, // total bots allowed\n   \"users\" : 100, // total users allowed per bot\n   \"free\" : 1, // if not connected to any payment gatewat else 0\n   \"free_type\" : \"demo\", // if not connected to any payment gatewat else null\n   \"trial_duration\" : 10, // It should be in days. If connected to any payment gatewat else null \n   \"collect_payment_info\" : 1\n   \n}\n"},"url":"https://app.botsify.com/api/v1/whitelabel/create-package","urlObject":{"protocol":"https","path":["api","v1","whitelabel","create-package"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"3a5d5ea8-ff57-4e74-bc97-f14bcbb927f8","name":"Create Package","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"name\" : \"<PACKAGE_NAME>\",\n   \"price\" : \"<PACKAGE_AMOUNT>\",\n   \"currency\" : \"<PACKAGE_CURRENCY>\", //usd,aed,inr\n   \"type\" : \"<PACKAGE_TYPE>\", // monthly,yearly\n   \"bots\" : 1, // total bots allowed\n   \"users\" : 100, // total users allowed per bot\n   \"free\" : 1, // if not connected to any payment gatewat else 0\n   \"free_type\" : \"demo\", // if not connected to any payment gatewat else null\n   \"trial_duration\" : 10, // It should be in days. If connected to any payment gatewat else null \n   \"collect_payment_info\" : 1\n   \n}\n"},"url":"https://app.botsify.com/api/v1/whitelabel/create-package"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"}],"_postman_id":"aeb9f588-1894-4147-9a92-793c0c3912fc"}],"id":"ccc97fe3-fb92-4dfe-848a-0a85115d8681","_postman_id":"ccc97fe3-fb92-4dfe-848a-0a85115d8681","description":""},{"name":"Whitelabel Clients","item":[{"name":"Get Clients","id":"868abd6a-6fb8-40ec-8f83-9ac148993180","protocolProfileBehavior":{"disableBodyPruning":true,"strictSSL":true,"followRedirects":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/whitelabel/clients","urlObject":{"protocol":"https","path":["api","v1","whitelabel","clients"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"11d0de7e-dfd9-4f09-86aa-6e64ae939479","name":"Get Clients","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://app.botsify.com/api/v1/whitelabel/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n    \n}"}],"_postman_id":"868abd6a-6fb8-40ec-8f83-9ac148993180"},{"name":"Create Client","id":"f2dca8c8-44bf-455e-85ac-64a00f0a1423","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"name\" : \"<CLIENT_NAME>\",\n   \"email\" : \"<CLIENT_ACCOUNT_EMAIL>\",\n   \"password\" : \"<CLIENT_ACCOUNT_PASSWORD>\",\n   \"package\" : \"<PACKAGE_PAYLOAD>\" // stripe_price_id if using package api\n   \n}\n"},"url":"https://app.botsify.com/api/v1/whitelabel/create-client","urlObject":{"protocol":"https","path":["api","v1","whitelabel","create-client"],"host":["app","botsify","com"],"query":[],"variable":[]}},"response":[{"id":"8b795cd7-38f7-4d51-80d7-58f11bb0f927","name":"Create Client","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <ACCOUNT_ACCESS_TOKEN>","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"name\" : \"<CLIENT_NAME>\",\n   \"email\" : \"<CLIENT_ACCOUNT_EMAIL>\",\n   \"password\" : \"<CLIENT_ACCOUNT_PASSWORD>\",\n   \"package\" : \"<PACKAGE_PAYLOAD>\"\n   \n}\n"},"url":"https://app.botsify.com/api/v1/whitelabel/create-client"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"}],"_postman_id":"f2dca8c8-44bf-455e-85ac-64a00f0a1423"}],"id":"d09dd0e7-fc9e-4231-8277-d8a39c19d8cf","_postman_id":"d09dd0e7-fc9e-4231-8277-d8a39c19d8cf","description":""}]}