{"info":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","description":"<html><head></head><body><p>You need authorization token to send request to all the endpoints in this documentation.</p>\n<p>This postman collections comes with a demo key. Please use it in your development. If you hit limit please reach out to use. You can also obtain personal token by creating on account on the platform.</p>\n<p>Authorization key can be obtained from account <a href=\"https://app.smler.in/app/account\">click here</a></p>\n<h3 id=\"authorization\">Authorization</h3>\n<p>Once the authorization key is obtained. It must be added in the header of each request which is sent to server</p>\n<p>Key: x-code</p>\n<p>Value: abcdefghai</p>\n<p>example: x-code: abcdefghai</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21304751","collectionId":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","publishedId":"2sAY517zaC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-11-09T15:33:11.000Z"},"item":[{"name":"Create Short Url","id":"dd3433ce-3d46-4001-998a-fb5368796b36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-code","value":"abc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://example.com/long-urlasd2832\",\r\n  \"dltHeader\": \"BKMTCH\",\r\n  \"maxLength\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short","description":"<p>This end point is used to shorten a long url and generate a short code for the same. Please toggle between examples on the right to see all variation of shorting.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url</td>\n<td>true</td>\n<td>The long url which must be shorted</td>\n</tr>\n<tr>\n<td>maxLength</td>\n<td>true</td>\n<td>The maximum length of shortcode which must be generated for the long url</td>\n</tr>\n<tr>\n<td>dltHeader</td>\n<td>false</td>\n<td>The prefix which must be added in URL. This could be a header or simple prefix. If not passed then short url is generated without any prefix</td>\n</tr>\n<tr>\n<td>shortCode</td>\n<td>false</td>\n<td>A custom short like <code>sale</code> or <code>offer</code> if nothing is provided. Then random code will be generated and that will become the shortcode</td>\n</tr>\n<tr>\n<td>domain</td>\n<td>false</td>\n<td>Your custom domain url. By default <code>smler.in</code> is used.</td>\n</tr>\n<tr>\n<td>forever</td>\n<td>false</td>\n<td>Optional <code>boolean</code> Parameters which makes the link permanent</td>\n</tr>\n<tr>\n<td>isDeferredLink</td>\n<td>false</td>\n<td>Optional <code>boolean</code> parameter. Which makes a link behave like deferred deep link</td>\n</tr>\n<tr>\n<td>expirationDate</td>\n<td>false</td>\n<td>Optional <code>string</code> parameter. To define custom expiry for your links. The format should be <code>yyyy-mm-dd</code></td>\n</tr>\n<tr>\n<td>ogTitle</td>\n<td>false</td>\n<td>Optional <code>string</code> to define custom og title for your short link when sharing on different platforms</td>\n</tr>\n<tr>\n<td>ogDescription</td>\n<td>false</td>\n<td>Optional <code>string</code> to define custom og description for your short link when sharing on different platforms</td>\n</tr>\n<tr>\n<td>ogImage</td>\n<td>false</td>\n<td>Optional <code>string</code> to define custom og image for your short link when sharing on different platforms.</td>\n</tr>\n<tr>\n<td>ogCustom</td>\n<td>false</td>\n<td>Optional <code>string</code> to define any custom og tags. These will be added in head as raw string. So, you must keep the formatting correct</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","short"],"host":["smler","in"],"query":[],"variable":[]}},"response":[{"id":"f0670cda-bf0f-4f7f-8b2d-9b6885353fd9","name":"Create Short Url","originalRequest":{"method":"POST","header":[{"key":"x-code","value":"abcdefghijklmnop","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://example.com/long-url\",\r\n  \"dltHeader\": \"optional-dlt-header\",\r\n  \"maxLength\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 08 Oct 2024 07:43:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"originalUrl\": \"https://example.com/long-url\",\n    \"shortCode\": \"ZoxHzANoVQ\",\n    \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n    \"domain\": \"smler.in\",\n    \"dltHeader\": \"optional-dlt-header\",\n    \"_id\": \"6704e29f87d0213283e46381\",\n    \"createdAt\": \"2024-10-08T07:43:27.910Z\",\n    \"updatedAt\": \"2024-10-08T07:43:27.910Z\",\n    \"__v\": 0,\n    \"shortUrl\": \"https://smler.in/optional-dlt-header/ZoxHzANoVQ\"\n}"},{"id":"9f809543-ef76-4f6d-8aee-8e30e3f58c1d","name":"Create Short Url with custom Domain","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://example.com/long-url\",\r\n  \"dltHeader\": \"BKMTCH\",\r\n  \"maxLength\": 10,\r\n   \"domain\": \"demo.smler.in\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Fri, 11 Oct 2024 19:48:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"327"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"originalUrl\": \"https://example.com/long-url\",\n    \"shortCode\": \"-ONNwMF8zV\",\n    \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n    \"domain\": \"demo.smler.in\",\n    \"dltHeader\": \"BKMTCH\",\n    \"_id\": \"6709810d9014d12371fef510\",\n    \"createdAt\": \"2024-10-11T19:48:29.535Z\",\n    \"updatedAt\": \"2024-10-11T19:48:29.535Z\",\n    \"__v\": 0,\n    \"shortUrl\": \"http://demo.smler.in/BKMTCH/-ONNwMF8zV\"\n}"},{"id":"ba548de4-898c-4e4a-95ac-fdd0c797e89e","name":"Create Short Url with custom code","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://example.com/long-url\",\r\n  \"dltHeader\": \"BKMTCH\",\r\n  \"maxLength\": 10,\r\n   \"domain\": \"demo.smler.in\",\r\n   \"shortCode\": \"sale\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Fri, 11 Oct 2024 19:49:06 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"315"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"originalUrl\": \"https://example.com/long-url\",\n    \"shortCode\": \"sale\",\n    \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n    \"domain\": \"demo.smler.in\",\n    \"dltHeader\": \"BKMTCH\",\n    \"_id\": \"670981329014d12371fef51b\",\n    \"createdAt\": \"2024-10-11T19:49:06.418Z\",\n    \"updatedAt\": \"2024-10-11T19:49:06.418Z\",\n    \"__v\": 0,\n    \"shortUrl\": \"http://demo.smler.in/BKMTCH/sale\"\n}"},{"id":"41ec42a8-ed56-4bc2-96a0-9be6e7a5330e","name":"Short URL with custom OG Tags","originalRequest":{"method":"POST","header":[{"key":"x-code","value":"abc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://example.com/long-udsolodsoasd2832\",\r\n  \"dltHeader\": \"BKMTCH\",\r\n  \"maxLength\": 10,\r\n  \"ogTitle\": \"This is title\",\r\n  \"ogDescription\": \"This is og description\",\r\n  \"ogImage\": \"https://app.smler.io/logo.webp\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Tue, 30 Dec 2025 14:43:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"585"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 29473038,\n    \"originalUrl\": \"https://example.com/long-udsolodsoasd2832\",\n    \"shortCode\": \"mXoZ_Eg_Fm\",\n    \"domain\": \"smler.in\",\n    \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n    \"dltHeader\": \"BKMTCH\",\n    \"la\": false,\n    \"isFlagged\": false,\n    \"createdAt\": \"2025-12-30T14:43:08.612Z\",\n    \"expirationDate\": \"2026-01-14T14:43:08.608Z\",\n    \"isDeferredLink\": null,\n    \"androidLink\": null,\n    \"iosLink\": null,\n    \"ogTitle\": \"This is title\",\n    \"ogDescription\": \"This is og description\",\n    \"ogImage\": \"https://app.smler.io/logo.webp\",\n    \"linkLevelAnalytics\": false,\n    \"shortUrl\": \"https://smler.in/BKMTCH/mXoZ_Eg_Fm\",\n    \"secureShortUrl\": \"https://smler.in/BKMTCH/mXoZ_Eg_Fm\"\n}"},{"id":"220f50a1-7adb-4249-80e2-e7820d218af7","name":"Deep Linking","originalRequest":{"method":"POST","header":[{"key":"x-code","value":"abc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://example.com/long-udsolodsoasd2832\",\r\n  \"dltHeader\": \"BKMTCH\",\r\n  \"maxLength\": 10,\r\n  \"ogTitle\": \"This is title\",\r\n  \"ogDescription\": \"This is og description\",\r\n  \"ogImage\": \"https://app.smler.io/logo.webp\",\r\n  \"isDeferredLink\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Tue, 30 Dec 2025 14:50:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"585"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 29473835,\n    \"originalUrl\": \"https://example.com/long-udsolodsoasd2832\",\n    \"shortCode\": \"qn1vq1T0-R\",\n    \"domain\": \"smler.in\",\n    \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n    \"dltHeader\": \"BKMTCH\",\n    \"la\": false,\n    \"isFlagged\": false,\n    \"createdAt\": \"2025-12-30T14:50:41.214Z\",\n    \"expirationDate\": \"2026-01-14T14:50:41.210Z\",\n    \"isDeferredLink\": true,\n    \"androidLink\": null,\n    \"iosLink\": null,\n    \"ogTitle\": \"This is title\",\n    \"ogDescription\": \"This is og description\",\n    \"ogImage\": \"https://app.smler.io/logo.webp\",\n    \"linkLevelAnalytics\": false,\n    \"shortUrl\": \"https://smler.in/BKMTCH/qn1vq1T0-R\",\n    \"secureShortUrl\": \"https://smler.in/BKMTCH/qn1vq1T0-R\"\n}"},{"id":"ef0b6c15-b89a-4b1f-ac8d-73f123a85e34","name":"Custom Og title and custom html","originalRequest":{"method":"POST","header":[{"key":"x-code","value":"abc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://example.com/long-udsolodsoasd2832\",\r\n  \"dltHeader\": \"BKMTCH\",\r\n  \"maxLength\": 10,\r\n  \"ogTitle\": \"This is title\",\r\n  \"ogDescription\": \"This is og description\",\r\n  \"ogImage\": \"https://app.smler.io/logo.webp\",\r\n  \"ogCustom\": \"<meta property=\\\"og:type\\\" content=\\\"app\\\" />\",\r\n  \"isDeferredLink\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Mon, 05 Jan 2026 18:10:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"644"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 30316208,\n    \"originalUrl\": \"https://example.com/long-udsolodsoasd2832\",\n    \"shortCode\": \"52vAcHm9nV\",\n    \"domain\": \"smler.in\",\n    \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n    \"dltHeader\": \"BKMTCH\",\n    \"la\": false,\n    \"isFlagged\": false,\n    \"createdAt\": \"2026-01-05T18:10:56.617Z\",\n    \"expirationDate\": \"2026-01-20T18:10:56.613Z\",\n    \"isDeferredLink\": true,\n    \"androidLink\": null,\n    \"iosLink\": null,\n    \"ogTitle\": \"This is title\",\n    \"ogDescription\": \"This is og description\",\n    \"ogImage\": \"https://app.smler.io/logo.webp\",\n    \"ogCustom\": \"<meta property=\\\"og:type\\\" content=\\\"app\\\" />\",\n    \"linkLevelAnalytics\": false,\n    \"shortUrl\": \"https://smler.in/BKMTCH/52vAcHm9nV\",\n    \"secureShortUrl\": \"https://smler.in/BKMTCH/52vAcHm9nV\"\n}"},{"id":"ee53527d-cea4-402c-9b2c-c64f4dd22ec7","name":"Short Url With Custom Expiry","originalRequest":{"method":"POST","header":[{"key":"x-code","value":"abc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://app.smler.io\",\r\n  \"dltHeader\": \"BKMTCH\",\r\n  \"maxLength\": 10,\r\n  \"ogTitle\": \"This is title\",\r\n  \"ogDescription\": \"This is og description\",\r\n  \"ogImage\": \"https://app.smler.io/logo.webp\",\r\n  \"ogCustom\": \"<meta property=\\\"og:type\\\" content=\\\"app\\\" />\",\r\n  \"isDeferredLink\": true,\r\n  \"expirationDate\": \"2029-01-01\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Mon, 23 Feb 2026 17:59:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"656"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 37227776,\n    \"originalUrl\": \"https://app.smler.io\",\n    \"shortCode\": \"E2mUqO9IoF\",\n    \"domain\": \"smler.in\",\n    \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n    \"dltHeader\": \"BKMTCH\",\n    \"la\": false,\n    \"isFlagged\": false,\n    \"createdAt\": \"2026-02-23T17:59:23.871Z\",\n    \"expirationDate\": \"2029-01-01T00:00:00.000Z\",\n    \"isDeferredLink\": true,\n    \"androidLink\": null,\n    \"iosLink\": null,\n    \"ogTitle\": \"This is title\",\n    \"ogDescription\": \"This is og description\",\n    \"ogImage\": \"https://app.smler.io/logo.webp\",\n    \"ogCustom\": \"<meta property=\\\"og:type\\\" content=\\\"app\\\" />\",\n    \"cloaking\": false,\n    \"password\": null,\n    \"linkLevelAnalytics\": false,\n    \"shortUrl\": \"https://smler.in/BKMTCH/E2mUqO9IoF\",\n    \"secureShortUrl\": \"https://smler.in/BKMTCH/E2mUqO9IoF\"\n}"}],"_postman_id":"dd3433ce-3d46-4001-998a-fb5368796b36"},{"name":"Update Short Url","id":"4bdaf6ac-2a6c-4ccc-afa3-68274477c31b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"shortCode\": \"KicSnICOAU\",\r\n    \"dltHeader\": \"BKMTCH\",\r\n    \"cloaking\": true,\r\n    \"ogTitle\": \"This is my updated OG Title which was created before\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short","description":"<p>Update your short urls which were already created before. You can update all the parameters except the shortCode, dltHeader and domain. You can also update the originalUrl by passing parameter of <code>originalUrl</code>. Everything else follows same as the create request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>originalUrl</td>\n<td>false</td>\n<td>The destination which must be updated for the corresponding short url</td>\n</tr>\n<tr>\n<td>dltHeader</td>\n<td>false</td>\n<td>If this dltHeader was passed while created. Then it must be passed here too</td>\n</tr>\n<tr>\n<td>shortCode</td>\n<td>true</td>\n<td>Short Code for which the properties must be updated</td>\n</tr>\n<tr>\n<td>domain</td>\n<td>false</td>\n<td>Your custom domain url. By default <code>smler.in</code> is used.</td>\n</tr>\n<tr>\n<td>ogTitle</td>\n<td>false</td>\n<td>Optional <code>string</code> to define custom og title for your short link when sharing on different platforms</td>\n</tr>\n<tr>\n<td>ogDescription</td>\n<td>false</td>\n<td>Optional <code>string</code> to define custom og description for your short link when sharing on different platforms</td>\n</tr>\n<tr>\n<td>ogImage</td>\n<td>false</td>\n<td>Optional <code>string</code> to define custom og image for your short link when sharing on different platforms.</td>\n</tr>\n<tr>\n<td>ogCustom</td>\n<td>false</td>\n<td>Optional <code>string</code> to define any custom og tags. These will be added in head as raw string. So, you must keep the formatting correct</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","short"],"host":["smler","in"],"query":[],"variable":[]}},"response":[{"id":"d8bce00d-2378-4432-98fb-946a38e00178","name":"Update OG Title","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"shortCode\": \"KicSnICOAU\",\r\n    \"dltHeader\": \"BKMTCH\",\r\n    \"cloaking\": true,\r\n    \"ogTitle\": \"This is my updated OG Title which was created before\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v1/short"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Mon, 12 Jan 2026 19:45:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"699"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 31269544,\n    \"originalUrl\": \"https://app.smler.io/blogs\",\n    \"shortCode\": \"KicSnICOAU\",\n    \"domain\": \"smler.in\",\n    \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n    \"dltHeader\": \"BKMTCH\",\n    \"la\": false,\n    \"isFlagged\": false,\n    \"createdAt\": \"2026-01-12T19:25:08.346Z\",\n    \"expirationDate\": \"2026-01-27T19:25:08.343Z\",\n    \"isDeferredLink\": true,\n    \"androidLink\": null,\n    \"iosLink\": null,\n    \"ogTitle\": \"This is my updated OG Title which was created before\",\n    \"ogDescription\": \"This is my updated OG\",\n    \"ogImage\": \"https://app.smler.io/logo.webp\",\n    \"ogCustom\": \"<meta property=\\\"og:type\\\" content=\\\"app\\\" />\",\n    \"cloaking\": true,\n    \"password\": null,\n    \"linkLevelAnalytics\": false,\n    \"shortUrl\": \"https://smler.in/BKMTCH/KicSnICOAU\",\n    \"secureShortUrl\": \"https://smler.in/BKMTCH/KicSnICOAU\"\n}"}],"_postman_id":"4bdaf6ac-2a6c-4ccc-afa3-68274477c31b"},{"name":"Get Long Url","id":"12287d05-2d56-4e56-9e43-305da8ac32c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://smler.in/api/v1/short?short=ZoxHzANoVQ&dltHeader=optional-dlt-header&domain=smler.in&triggerWebhook=true","description":"<p>This method will help you get the long form of the generated short url. Getting url by this query will not be counted as a hit and won't be added be added in analytics</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","short"],"host":["smler","in"],"query":[{"description":{"content":"<p>This parameter must be the short code which is present in the url</p>\n","type":"text/plain"},"key":"short","value":"ZoxHzANoVQ"},{"description":{"content":"<p>This parameter is optional. If no dltHeader was provided while url creation. Then there's no need to pass this parameter</p>\n","type":"text/plain"},"key":"dltHeader","value":"optional-dlt-header"},{"description":{"content":"<p>Optional parameter to specify the domain of short url. Leave it blank you're using smler.in else use your custom domain</p>\n","type":"text/plain"},"key":"domain","value":"smler.in"},{"description":{"content":"<p>Optional parameter to also a trigger a webhook on this request</p>\n","type":"text/plain"},"key":"triggerWebhook","value":"true"}],"variable":[]}},"response":[{"id":"661236fb-3c8c-435d-832b-79cb4260f79a","name":"Get Long Url","originalRequest":{"method":"GET","header":[{"key":"x-code","value":"abcdefghijklmnop","type":"text"}],"url":{"raw":"https://smler.in/api/v1/short?short=ZoxHzANoVQ&dltHeader=optional-dlt-header","protocol":"https","host":["smler","in"],"path":["api","v1","short"],"query":[{"key":"short","value":"ZoxHzANoVQ","description":"This parameter must be the short code which is present in the url"},{"key":"dltHeader","value":"optional-dlt-header","description":"This parameter is optional. If no dltHeader was provided while url creation. Then there's no need to pass this parameter"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 08 Oct 2024 08:05:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"315"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6704e29f87d0213283e46381\",\n    \"originalUrl\": \"https://example.com/long-url\",\n    \"shortCode\": \"ZoxHzANoVQ\",\n    \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n    \"domain\": \"smler.in\",\n    \"dltHeader\": \"optional-dlt-header\",\n    \"createdAt\": \"2024-10-08T07:43:27.910Z\",\n    \"updatedAt\": \"2024-10-08T07:43:27.910Z\",\n    \"__v\": 0,\n    \"id\": \"6704e29f87d0213283e46381\"\n}"}],"_postman_id":"12287d05-2d56-4e56-9e43-305da8ac32c3"},{"name":"Create Short Url In Bulk","id":"efc7681b-d739-4b05-a292-abdbdd178d36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"urls\": [\r\n        {\"url\": \"https://example.com\", \"dltHeader\": \"BOKIMO\", \"maxLength\": 9, \"domain\": \"test.smler.in\"},\r\n        {\"url\": \"https://example.co\", \"dltHeader\": \"BOKIMO\", \"maxLength\": 9, \"domain\": \"bokimo.com\"}\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/short/bulk","description":"<p>This end point is used to bulk shorten a long url and generate a short code for the same. Please toggle between examples on the right to see all variation of shorting the url.</p>\n<p><strong>Note:</strong> You can bulk short, maximum of 5000 urls in one go. If you have more than that try them in batches of 5000.</p>\n<p>Send in an array of urls. Each block should contain the following schema. Refer examples for exact details</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url</td>\n<td>true</td>\n<td>The long url which must be shorted</td>\n</tr>\n<tr>\n<td>maxLength</td>\n<td>true</td>\n<td>The maximum length of shortcode which must be generated for the long url</td>\n</tr>\n<tr>\n<td>dltHeader</td>\n<td>false</td>\n<td>The prefix which must be added in URL. This could be a header or simple prefix. If not passed then short url is generated without any prefix</td>\n</tr>\n<tr>\n<td>shortCode</td>\n<td>false</td>\n<td>A custom short like <code>sale</code> or <code>offer</code> if nothing is provided. Then random code will be generated and that will become the shortcode</td>\n</tr>\n<tr>\n<td>domain</td>\n<td>false</td>\n<td>Your custom domain url. By default <code>smler.in</code> is used.</td>\n</tr>\n<tr>\n<td>forever</td>\n<td>false</td>\n<td>Optional <code>boolean</code> Parameters which makes the link permanent</td>\n</tr>\n<tr>\n<td>isDeferredLink</td>\n<td>false</td>\n<td>Optional <code>boolean</code> parameter. Which makes a link behave like deferred deep link</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","short","bulk"],"host":["smler","in"],"query":[],"variable":[]}},"response":[{"id":"4a7596f3-547e-49a6-9d82-102e69a17660","name":"Combination of DLT Header","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"urls\": [\r\n        {\r\n            \"url\": \"https://example.com/page/1\",\r\n            \"maxLength\": 6\r\n        },\r\n        {\r\n            \"url\": \"https://example.com/page/2\",\r\n            \"maxLength\": 6,\r\n            \"dltHeader\": \"BKMTCH\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/short/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Sat, 19 Jul 2025 20:13:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"869"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"createdShortUrls\": {\n        \"count\": 2\n    },\n    \"shortUrls\": [\n        {\n            \"id\": 4764878,\n            \"originalUrl\": \"https://example.com/page/1\",\n            \"shortCode\": \"4A2jO5\",\n            \"domain\": \"smler.in\",\n            \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n            \"dltHeader\": \"\",\n            \"la\": false,\n            \"isFlagged\": false,\n            \"createdAt\": \"2025-07-19T20:13:43.526Z\",\n            \"expirationDate\": \"2025-08-03T20:13:42.327Z\",\n            \"isDeferredLink\": null,\n            \"linkLevelAnalytics\": false,\n            \"shortUrl\": \"https://smler.in/4A2jO5\",\n            \"secureShortUrl\": \"https://smler.in/4A2jO5\"\n        },\n        {\n            \"id\": 4764879,\n            \"originalUrl\": \"https://example.com/page/2\",\n            \"shortCode\": \"I-LoAK\",\n            \"domain\": \"smler.in\",\n            \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n            \"dltHeader\": \"BKMTCH\",\n            \"la\": false,\n            \"isFlagged\": false,\n            \"createdAt\": \"2025-07-19T20:13:43.526Z\",\n            \"expirationDate\": \"2025-08-03T20:13:42.327Z\",\n            \"isDeferredLink\": null,\n            \"linkLevelAnalytics\": false,\n            \"shortUrl\": \"https://smler.in/BKMTCH/I-LoAK\",\n            \"secureShortUrl\": \"https://smler.in/BKMTCH/I-LoAK\"\n        }\n    ]\n}"}],"_postman_id":"efc7681b-d739-4b05-a292-abdbdd178d36"},{"name":"Track a Deep Link Install","id":"4c7238da-4815-471f-a6b7-8e5e9bc17d4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"shortCode\": \"uber-demp\",\r\n    \"domain\": \"smler.in\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/track/6655332","description":"<p>Purpose<br />Marks a tracked deep-link click as converted (e.g., after an app install or desired action). Useful for attributing conversions to a specific short link/click.</p>\n<p>HTTP</p>\n<ul>\n<li><p>Method: POST</p>\n</li>\n<li><p>URL: <a href=\"https://smler.in/api/v2/track/:clickId\">https://smler.in/api/v2/track/:clickId</a></p>\n<ul>\n<li>This request targets clickId = 6655332</li>\n</ul>\n</li>\n</ul>\n<p>Request body (JSON)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>shortCode</td>\n<td>mandatory</td>\n<td>The short code which is generated in short url  <br />example: <a href=\"https://smler.in/%5C%5BshortCode%5C%5D\">https://smler.in/\\[shortCode\\]</a></td>\n</tr>\n<tr>\n<td>dltHeader</td>\n<td>optional</td>\n<td>An optional prefix in your short url  <br />example:  <br /><a href=\"https://smler.in/%5C%5BdltHeader%5C%5D/%5C%5BshortCode%5C%5D\">https://smler.in/\\[dltHeader\\]/\\[shortCode\\]</a></td>\n</tr>\n<tr>\n<td>domain</td>\n<td>optional</td>\n<td>Domain associated with the short url. Needed when you're using a custom domain. Default is smler.in</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>optional</td>\n<td>json payload of custom attributes which you wish to track like amount, or event</td>\n</tr>\n</tbody>\n</table>\n</div><p>Common errors</p>\n<ul>\n<li><p>400 Bad Request: Missing or invalid body fields (shortCode/domain).</p>\n</li>\n<li><p>404 Not Found: clickId does not exist or does not belong to the provided short link/domain.</p>\n</li>\n<li><p>409 Conflict: Click already marked as converted (see idempotency notes).</p>\n</li>\n<li><p>429 Too Many Requests: Rate limit exceeded.</p>\n</li>\n<li><p>5xx Server Error: Temporary service issues.</p>\n</li>\n</ul>\n<p>Usage notes</p>\n<ul>\n<li><p>Idempotency: Re-sending for the same click may either return 200 with the existing conversion state or 409 Conflict depending on server configuration. Treat the operation as idempotent from a client perspective (safe to retry with the same payload when you receive transient errors).</p>\n</li>\n<li><p>Conversion marking: The server associates the conversion with the provided clickId and validates that the shortCode and domain match the original click. Ensure you pass the exact short link details used to generate the click.</p>\n</li>\n<li><p>Related: See saved example \"Track deep link with click id\" for variations and testing scenarios.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","track","6655332"],"host":["smler","in"],"query":[],"variable":[]}},"response":[{"id":"15726736-3070-4d27-b880-2be1412afb22","name":"Track deep link with click id","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"shortCode\": \"uber-demp\",\r\n    \"domain\": \"smler.in\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/track/6655332"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Thu, 06 Nov 2025 19:25:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"505"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Click marked as converted\",\n    \"clickId\": 6655332,\n    \"shortUrl\": {\n        \"id\": 2779586,\n        \"originalUrl\": \"https://www.uber.com/open?daddr=1+Infinite+Loop,+Cupertino,+CA\",\n        \"shortCode\": \"uber-demp\",\n        \"domain\": \"smler.in\",\n        \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n        \"dltHeader\": \"\",\n        \"la\": true,\n        \"isFlagged\": false,\n        \"createdAt\": \"2025-05-26T19:27:36.891Z\",\n        \"expirationDate\": \"2099-05-26T19:27:36.100Z\",\n        \"isDeferredLink\": true,\n        \"linkLevelAnalytics\": true,\n        \"shortUrl\": \"https://smler.in/uber-demp\",\n        \"secureShortUrl\": \"https://smler.in/uber-demp\"\n    }\n}"}],"_postman_id":"4c7238da-4815-471f-a6b7-8e5e9bc17d4b"},{"name":"Probablistic Location","id":"45aafc5c-2b9c-4825-9307-2e8b3d6ea6c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"domain\": \"go.singh3y.dev\",\r\n    \"device\": \"iPhone 12\",\r\n    \"os\": \"iOS\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/track/probablistic","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","track","probablistic"],"host":["smler","in"],"query":[],"variable":[]}},"response":[{"id":"3850c521-e999-4d2d-b16f-bbef4d1396cc","name":"No Match","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"domain\": \"go.singh3y.dev\",\r\n    \"device\": \"iPhone 12\",\r\n    \"os\": \"iOS\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/track/probablistic"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Wed, 18 Feb 2026 21:35:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"128"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"matched\": false,\n    \"score\": 0,\n    \"matchedAttributes\": {\n        \"ip\": false,\n        \"device\": false,\n        \"os\": false\n    },\n    \"message\": \"No matching fingerprint found\"\n}"},{"id":"4aeb4388-785d-44cf-bc2e-f9757e44d04e","name":"Probablistic Match","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"domain\": \"go.singh3y.dev\",\r\n    \"device\": \"iPhone 12\",\r\n    \"os\": \"iOS\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/track/probablistic"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Wed, 18 Feb 2026 21:42:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1294"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"matched\": true,\n    \"score\": 0.8998807777777779,\n    \"matchedAttributes\": {\n        \"ip\": true,\n        \"device\": false,\n        \"os\": true\n    },\n    \"clickDetails\": {\n        \"id\": 13606171,\n        \"shortUrlId\": \"32333714\",\n        \"device\": \"mobile\",\n        \"location\": \"152.58.122.23\",\n        \"referrer\": \"Direct\",\n        \"browser\": \"Mobile Safari\",\n        \"hostname\": \"go.singh3y.dev\",\n        \"os\": \"iOS\",\n        \"createdFor\": \"66fb7ed74f2ee9c85af00a86\",\n        \"city\": \"Azadpur\",\n        \"country\": \"India\",\n        \"expiryDate\": \"2026-04-19T21:42:35.446Z\",\n        \"state\": \"Delhi\",\n        \"createdAt\": \"2026-02-18T21:42:35.446Z\",\n        \"converted\": false,\n        \"attributes\": null\n    },\n    \"shortUrl\": {\n        \"id\": 32333714,\n        \"originalUrl\": \"https://bgorgeous.in/desktop-landing\",\n        \"shortCode\": \"instagram\",\n        \"domain\": \"go.singh3y.dev\",\n        \"createdBy\": \"66fb7ed74f2ee9c85af00a86\",\n        \"dltHeader\": \"\",\n        \"la\": true,\n        \"isFlagged\": false,\n        \"createdAt\": \"2026-01-21T12:07:54.692Z\",\n        \"expirationDate\": \"2099-01-21T12:07:54.687Z\",\n        \"isDeferredLink\": true,\n        \"androidLink\": null,\n        \"iosLink\": null,\n        \"ogTitle\": null,\n        \"ogDescription\": null,\n        \"ogImage\": null,\n        \"ogCustom\": null,\n        \"cloaking\": false,\n        \"password\": null,\n        \"linkLevelAnalytics\": true,\n        \"shortUrl\": \"http://go.singh3y.dev/instagram\",\n        \"secureShortUrl\": \"https://go.singh3y.dev/instagram\"\n    },\n    \"fingerprint\": {\n        \"id\": 1,\n        \"clickId\": 13606171,\n        \"domain\": \"go.singh3y.dev\",\n        \"ip\": \"152.58.122.23\",\n        \"device\": \"mobile\",\n        \"os\": \"iOS\",\n        \"matched\": false,\n        \"matchedAt\": null,\n        \"createdAt\": \"2026-02-18T21:42:35.453Z\",\n        \"expiresAt\": \"2026-02-21T21:42:35.451Z\"\n    }\n}"}],"_postman_id":"45aafc5c-2b9c-4825-9307-2e8b3d6ea6c0"},{"name":"Lead Conversion","id":"b84d6265-a654-4a9a-9038-476a8c4cfd76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clickId\": \"13606171\",\r\n    \"eventName\": \"added_info\",\r\n    \"customerExternalId\": \"anon_customer_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/conversion/track/lead","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","conversion","track","lead"],"host":["smler","in"],"query":[],"variable":[]}},"response":[{"id":"a13c021e-fa49-4186-b13e-1855458782cc","name":"Lead Conversion Entry","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clickId\": \"13606171\",\r\n    \"eventName\": \"added_info\",\r\n    \"customerExternalId\": \"anon_customer_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/conversion/track/lead"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Wed, 18 Feb 2026 21:45:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"140"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"leadEventId\": 1,\n    \"customerExternalId\": \"anon_customer_id\",\n    \"eventName\": \"added_info\",\n    \"clickId\": 13606171,\n    \"shortUrlId\": \"32333714\"\n}"},{"id":"8fba5123-b961-4e58-8381-3c7799ed3d9b","name":"Lead Conversion Meta","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clickId\": \"13606171\",\r\n    \"eventName\": \"added_info\",\r\n    \"customerExternalId\": \"anon_customer_id\",\r\n    \"mode\": \"wait\",\r\n    \"customerName\": \"optional_name\",\r\n    \"metadata\": {\r\n        \"app_version\": \"1.0\",\r\n        \"platform\": \"iPad\",\r\n        \"source\": \"app\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/conversion/track/lead"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Wed, 18 Feb 2026 21:48:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"140"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"leadEventId\": 3,\n    \"customerExternalId\": \"anon_customer_id\",\n    \"eventName\": \"added_info\",\n    \"clickId\": 13606171,\n    \"shortUrlId\": \"32333714\"\n}"}],"_postman_id":"b84d6265-a654-4a9a-9038-476a8c4cfd76"},{"name":"Sale Conversion","id":"c4125c0d-5845-47ce-a6b4-40e8c404e275","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clickId\": \"13606171\",\r\n    \"eventName\": \"pro_subscription\",\r\n    \"customerExternalId\": \"anon_customer_id\",\r\n    \"amount\": 49,\r\n    \"currency\": \"USD\",\r\n    \"leadEventName\": \"lead_event_name\",\r\n    \"customerEmail\": \"customer@example.com\",\r\n    \"customerName\": \"John Doe\",\r\n    \"customerAvatar\": \"https://example.com/avatar.jpg\",\r\n    \"paymentProcessor\": \"stripe\",\r\n    \"invoiceId\": \"INV0001\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/conversion/track/sale","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","conversion","track","sale"],"host":["smler","in"],"query":[],"variable":[]}},"response":[{"id":"18f057ff-7812-45ce-930c-9ed3d8024fd8","name":"Sale Conversion","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clickId\": \"13606171\",\r\n    \"eventName\": \"pro_subscription\",\r\n    \"customerExternalId\": \"anon_customer_id\",\r\n    \"amount\": 49,\r\n    \"currency\": \"USD\",\r\n    \"leadEventName\": \"lead_event_name\",\r\n    \"customerEmail\": \"customer@example.com\",\r\n    \"customerName\": \"John Doe\",\r\n    \"customerAvatar\": \"https://example.com/avatar.jpg\",\r\n    \"paymentProcessor\": \"stripe\",\r\n    \"invoiceId\": \"INV0001\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.in/api/v2/conversion/track/sale"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Wed, 18 Feb 2026 21:50:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"144"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"saleEventId\": 1,\n    \"customerExternalId\": \"anon_customer_id\",\n    \"amount\": 49,\n    \"currency\": \"USD\",\n    \"clickId\": 13606171,\n    \"shortUrlId\": \"32333714\"\n}"}],"_postman_id":"c4125c0d-5845-47ce-a6b4-40e8c404e275"},{"name":"Trigger Webhook","id":"fddf3bdd-62e5-4f4d-b09a-c3c350e2922a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://smler.in/api/v1/webhook?dltHeader=BKMTCH&shortCode=Ffo6TOPIkd&domain=smler.in","description":"<p>When a webhook needs to be triggered manually, you can call this API endpoint.</p>\n<p>In deep link scenarios, requests are handled directly by the application and do not reach the Smler server. As a result, any webhooks or associated notifications will not be triggered automatically.</p>\n<p>To address this, you can manually invoke this endpoint whenever a deep link is used. This ensures that the webhook is triggered as expected.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","webhook"],"host":["smler","in"],"query":[{"key":"dltHeader","value":"BKMTCH"},{"key":"shortCode","value":"Ffo6TOPIkd"},{"key":"domain","value":"smler.in"}],"variable":[]}},"response":[{"id":"af30531b-68f6-4f86-9dfb-4ce03ac3c8d9","name":"Webhook Trigger Response","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://smler.in/api/v1/webhook?dltHeader=BKMTCH&shortCode=Ffo6TOPIkd&domain=smler.in","protocol":"https","host":["smler","in"],"path":["api","v1","webhook"],"query":[{"key":"dltHeader","value":"BKMTCH"},{"key":"shortCode","value":"Ffo6TOPIkd"},{"key":"domain","value":"smler.in"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Wed, 01 Apr 2026 19:17:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.in"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Webhook triggered successfully\"\n}"}],"_postman_id":"fddf3bdd-62e5-4f4d-b09a-c3c350e2922a"},{"name":"Get Analytics Dashboard","id":"50421cbc-f8e7-4e01-bcf5-8f5f7b265acd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2026-04-01\",\r\n    \"endDate\": \"2026-05-02\",\r\n    \"utmContent\": \"link_in_bio\"\r\n \r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.io/api/v1/analytics/dashboard","description":"<h2 id=\"request-schema-documentation\">Request Schema Documentation</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Format/Items</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>startDate</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>Pattern: <code>^\\d{4}-\\d{2}-\\d{2}$</code></td>\n<td>Start date for analytics period in YYYY-MM-DD format</td>\n</tr>\n<tr>\n<td><code>endDate</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>Pattern: <code>^\\d{4}-\\d{2}-\\d{2}$</code></td>\n<td>End date for analytics period in YYYY-MM-DD format</td>\n</tr>\n<tr>\n<td><code>shortUrlId</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by specific short URL IDs</td>\n</tr>\n<tr>\n<td><code>utmSource</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM source parameters</td>\n</tr>\n<tr>\n<td><code>utmMedium</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM medium parameters</td>\n</tr>\n<tr>\n<td><code>utmCampaign</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM campaign parameters</td>\n</tr>\n<tr>\n<td><code>utmTerm</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM term parameters</td>\n</tr>\n<tr>\n<td><code>utmContent</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM content parameters</td>\n</tr>\n<tr>\n<td><code>device</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by device types</td>\n</tr>\n<tr>\n<td><code>browser</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by browser types</td>\n</tr>\n<tr>\n<td><code>os</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by operating systems</td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by countries</td>\n</tr>\n<tr>\n<td><code>region</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by regions/states</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by cities</td>\n</tr>\n<tr>\n<td><code>referrer</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by referrer URLs</td>\n</tr>\n<tr>\n<td><code>folderName</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by folder names</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","analytics","dashboard"],"host":["smler","io"],"query":[],"variable":[]}},"response":[{"id":"6479240f-4c21-4188-9e06-eb36207da9e9","name":"Get Analytics Dashboard Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2026-04-01\",\r\n    \"endDate\": \"2026-05-02\",\r\n    \"utmContent\": \"link_in_bio\"\r\n \r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.io/api/v1/analytics/dashboard"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Sun, 17 May 2026 12:04:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"646"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.io"}],"cookie":[],"responseTime":null,"body":"{\n    \"devices\": [\n        {\n            \"device\": \"mobile\",\n            \"totalClicks\": 1\n        }\n    ],\n    \"regions\": [\n        {\n            \"region\": \"Uttar Pradesh\",\n            \"totalClicks\": 1\n        }\n    ],\n    \"folders\": [],\n    \"shortLinks\": [\n        {\n            \"shortUrl\": \"smler.in/d2night\",\n            \"totalClicks\": 1,\n            \"conversions\": 0\n        }\n    ],\n    \"referrers\": [\n        {\n            \"referrer\": \"l.instagram.com\",\n            \"totalClicks\": 1\n        }\n    ],\n    \"countries\": [\n        {\n            \"country\": \"India\",\n            \"totalClicks\": 1\n        }\n    ],\n    \"cities\": [\n        {\n            \"city\": \"Anandnagar\",\n            \"totalClicks\": 1\n        }\n    ],\n    \"browsers\": [\n        {\n            \"browser\": \"Instagram\",\n            \"totalClicks\": 1\n        }\n    ],\n    \"os\": [\n        {\n            \"os\": \"Android\",\n            \"totalClicks\": 1\n        }\n    ],\n    \"utmSources\": [\n        {\n            \"utmSource\": \"ig\",\n            \"totalClicks\": 1\n        }\n    ],\n    \"utmTerms\": [],\n    \"utmCampaigns\": [],\n    \"utmContents\": [\n        {\n            \"utmContent\": \"link_in_bio\",\n            \"totalClicks\": 1\n        }\n    ],\n    \"utmMediums\": [\n        {\n            \"utmMedium\": \"social\",\n            \"totalClicks\": 1\n        }\n    ]\n}"}],"_postman_id":"50421cbc-f8e7-4e01-bcf5-8f5f7b265acd"},{"name":"Get Analytics Timeseries","id":"93f7d4bb-d65f-4cf9-9857-670ee0ed9f7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2026-04-02\",\r\n    \"endDate\": \"2026-05-02\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.io/api/v1/analytics/timeseries","description":"<h2 id=\"request-schema-documentation\">Request Schema Documentation</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Format/Items</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>startDate</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>Pattern: <code>^\\d{4}-\\d{2}-\\d{2}$</code></td>\n<td>Start date for analytics period in YYYY-MM-DD format</td>\n</tr>\n<tr>\n<td><code>endDate</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>Pattern: <code>^\\d{4}-\\d{2}-\\d{2}$</code></td>\n<td>End date for analytics period in YYYY-MM-DD format</td>\n</tr>\n<tr>\n<td><code>shortUrlId</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by specific short URL IDs</td>\n</tr>\n<tr>\n<td><code>utmSource</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM source parameters</td>\n</tr>\n<tr>\n<td><code>utmMedium</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM medium parameters</td>\n</tr>\n<tr>\n<td><code>utmCampaign</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM campaign parameters</td>\n</tr>\n<tr>\n<td><code>utmTerm</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM term parameters</td>\n</tr>\n<tr>\n<td><code>utmContent</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by UTM content parameters</td>\n</tr>\n<tr>\n<td><code>device</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by device types</td>\n</tr>\n<tr>\n<td><code>browser</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by browser types</td>\n</tr>\n<tr>\n<td><code>os</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by operating systems</td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by countries</td>\n</tr>\n<tr>\n<td><code>region</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by regions/states</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by cities</td>\n</tr>\n<tr>\n<td><code>referrer</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by referrer URLs</td>\n</tr>\n<tr>\n<td><code>folderName</code></td>\n<td>array</td>\n<td>No</td>\n<td>Items: string</td>\n<td>Filter by folder names</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","id":"c9191d8b-8df0-47a6-b98f-ec7fa29c37a3","name":"Smler API Docs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","analytics","timeseries"],"host":["smler","io"],"query":[],"variable":[]}},"response":[{"id":"a9529620-711c-4880-9a4d-a4a418412206","name":"Get Analytics Timeseries Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2026-04-02\",\r\n    \"endDate\": \"2026-05-02\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://smler.io/api/v1/analytics/timeseries"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"openresty"},{"key":"Date","value":"Sun, 17 May 2026 12:10:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"637"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Origin"},{"key":"access-control-allow-origin","value":"*"},{"key":"X-Served-By","value":"smler.io"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"date\": \"2026-04-08\",\n        \"clicks\": 1,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-09\",\n        \"clicks\": 1,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-10\",\n        \"clicks\": 1,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-14\",\n        \"clicks\": 2,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-19\",\n        \"clicks\": 2,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-21\",\n        \"clicks\": 2,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-23\",\n        \"clicks\": 2,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-24\",\n        \"clicks\": 2,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-26\",\n        \"clicks\": 2,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-28\",\n        \"clicks\": 8,\n        \"leads\": 7,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-04-29\",\n        \"clicks\": 1,\n        \"leads\": 0,\n        \"sales\": 0\n    },\n    {\n        \"date\": \"2026-05-01\",\n        \"clicks\": 3,\n        \"leads\": 0,\n        \"sales\": 0\n    }\n]"}],"_postman_id":"93f7d4bb-d65f-4cf9-9857-670ee0ed9f7b"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-code"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"0ff353f7-7c0c-43df-9a86-b175ee9205bb","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"33b59413-d702-4ede-9459-81b8ffafe539","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"x-code","value":"x-code"}]}