{"info":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","description":"<html><head></head><body><p>The <a href=\"https://linklyhq.com\">Linkly Link Shortener API</a> collection provides a complete set of endpoints for managing short links, custom domains, click analytics, webhooks, and workspaces within the Linkly platform.</p>\n<p><strong>What's covered:</strong></p>\n<ul>\n<li><p><strong>Links</strong> — Create, update, retrieve, delete, list, and export short links, both at the individual link level and within a workspace context.</p>\n</li>\n<li><p><strong>Domains</strong> — Add and manage custom domains for your workspace, including updating favicons and deleting domains.</p>\n</li>\n<li><p><strong>Click Analytics</strong> — Query detailed click data and aggregated click counts, with filtering by dimensions such as country, browser, platform, referrer, date range, and more.</p>\n</li>\n<li><p><strong>Webhooks</strong> — Subscribe to and manage webhook notifications at both the link and workspace level, enabling real-time event-driven integrations.</p>\n</li>\n<li><p><strong>Workspaces</strong> — List all workspaces available to the authenticated user.</p>\n</li>\n</ul>\n<p>All requests are scoped under <code>/api/v1/</code> and use a <code>https://app.linklyhq.com</code> variable for the base URL, making it straightforward to switch between environments.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"54752990","collectionId":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","publishedId":"2sBXqNoKfJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FFA200"},"publishDate":"2026-05-12T12:47:10.000Z"},"item":[{"name":"api","item":[{"name":"v1","item":[{"name":"domains","item":[{"name":"Add a custom domain","id":"391d9447-e9fa-4159-aa47-ee673e276619","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"link.mydomain.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://app.linklyhq.com/api/v1/domains","description":"<p>Add a new custom domain to your workspace. You must configure DNS (CNAME record) before adding the domain.</p>\n","urlObject":{"path":["api","v1","domains"],"host":["https://app.linklyhq.com"],"query":[],"variable":[]}},"response":[{"id":"8f356951-32d4-4a93-95ec-09d599b3b5d8","name":"Domain","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"link.mydomain.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"name\": null,\n  \"workspace_id\": 42\n}"},{"id":"8b456a22-0c15-46f1-96b8-a64960546e8f","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"link.mydomain.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"},{"id":"360634a7-1759-4f42-afc1-2445d76bc1dc","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"link.mydomain.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"c448e096-1163-400f-8153-a465cc18df7e","name":"Not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"link.mydomain.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"391d9447-e9fa-4159-aa47-ee673e276619"}],"id":"7aa8b2bf-25bc-4a0c-9dd9-7b7da9387215","_postman_id":"7aa8b2bf-25bc-4a0c-9dd9-7b7da9387215","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"get_link","item":[{"name":"{id}","item":[{"name":"Get link details","id":"6dfcd4b7-5cea-473f-803d-fd7309959831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/get_link/:id","description":"<p>Retrieve details for a specific link by ID.</p>\n","urlObject":{"path":["api","v1","get_link",":id"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The id of the Link</p>\n","type":"text/plain"},"type":"any","value":"24","key":"id"}]}},"response":[{"id":"a4a67f11-ed86-4acd-8873-91a8c5d634c7","name":"Link","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/get_link/:id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","get_link",":id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"id","value":"24","description":"The id of the Link"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"base62_id\": \"string\",\n  \"domain\": {},\n  \"link\": {\n    \"fb_pixel_id\": \"string\",\n    \"sparkline\": [\n      7133,\n      2320\n    ],\n    \"clicks_thirty_days\": 1915,\n    \"tiktok_pixel_id\": \"string\",\n    \"hide_referrer\": true,\n    \"cloaking\": false,\n    \"linkify_words\": \"string\",\n    \"full_url\": \"https://yty.vxU-W6xsuAoPPk5N-X9-asc-dJ0PNYXcHZeZGjfyf+6-sr\",\n    \"clicks_today\": 353,\n    \"og_description\": \"string\",\n    \"body_tags\": \"string\",\n    \"og_title\": \"string\",\n    \"note\": \"string\",\n    \"name\": \"string\",\n    \"id\": 6506,\n    \"gtm_id\": \"string\",\n    \"og_image\": \"string\",\n    \"block_bots\": true,\n    \"clicks_total\": 7430,\n    \"utm_content\": \"string\",\n    \"enabled\": true,\n    \"url\": \"http://cDMdvtEuvpOAOPhLOTUVqpCyPsGQc.ias5dLM07K3RyMZYKlcAk+eS1SgzidprzadAFhxPWqB\",\n    \"replacements\": \"string\",\n    \"deleted\": false,\n    \"workspace_id\": 2009,\n    \"public_analytics\": true,\n    \"utm_source\": \"string\",\n    \"slug\": \"string\",\n    \"domain\": \"string\",\n    \"forward_params\": false,\n    \"utm_medium\": \"string\",\n    \"head_tags\": \"string\",\n    \"ga4_tag_id\": \"string\",\n    \"utm_term\": \"string\",\n    \"utm_campaign\": \"string\"\n  }\n}"},{"id":"7c37e94a-de42-4157-9dbe-2d36d0722963","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/get_link/:id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","get_link",":id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"id","value":"24","description":"The id of the Link"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"43ddddd7-0748-4018-8545-5d7f3c5cb32a","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/get_link/:id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","get_link",":id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"id","value":"24","description":"The id of the Link"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"6dfcd4b7-5cea-473f-803d-fd7309959831"}],"id":"c0f7a510-669f-48d6-a347-3ab96c09f37d","_postman_id":"c0f7a510-669f-48d6-a347-3ab96c09f37d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}}],"id":"c6da9caf-81f5-4bad-aa5d-ab0d42e0d704","_postman_id":"c6da9caf-81f5-4bad-aa5d-ab0d42e0d704","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"link","item":[{"name":"{id}","item":[{"name":"Get link details","id":"8ea75aee-edf3-4377-b4bb-dad67ef96eb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/link/:id?workspace_id=42","description":"<p>Retrieve detailed information about a specific link by its ID, including click statistics, UTM parameters, and configuration.</p>\n","urlObject":{"path":["api","v1","link",":id"],"host":["https://app.linklyhq.com"],"query":[{"description":{"content":"<p>Workspace ID. Optional when using OAuth2 Bearer token.</p>\n","type":"text/plain"},"key":"workspace_id","value":"42"}],"variable":[{"description":{"content":"<p>The id of the Link</p>\n","type":"text/plain"},"type":"any","value":"1454633","key":"id"}]}},"response":[{"id":"90500c09-39aa-4d38-8404-c9f2bd9db3c6","name":"Link","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/link/:id?workspace_id=42&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":id"],"query":[{"description":"Workspace ID. Optional when using OAuth2 Bearer token.","key":"workspace_id","value":"42"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"id","value":"1454633","description":"The id of the Link"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"fb_pixel_id\": null,\n  \"tiktok_pixel_id\": null,\n  \"hide_referrer\": null,\n  \"expiry_datetime\": null,\n  \"expiry_destination\": null,\n  \"rules\": [],\n  \"cloaking\": null,\n  \"linkify_words\": null,\n  \"full_url\": \"http://localhost:4000U\",\n  \"og_description\": null,\n  \"body_tags\": null,\n  \"og_title\": null,\n  \"note\": null,\n  \"name\": null,\n  \"id\": 30,\n  \"gtm_id\": null,\n  \"og_image\": null,\n  \"block_bots\": null,\n  \"utm_content\": null,\n  \"enabled\": null,\n  \"url\": \"https://www.somelink.com\",\n  \"replacements\": null,\n  \"deleted\": null,\n  \"expiry_clicks\": null,\n  \"workspace_id\": 42,\n  \"public_analytics\": null,\n  \"utm_source\": null,\n  \"slug\": null,\n  \"domain\": null,\n  \"forward_params\": null,\n  \"utm_medium\": null,\n  \"head_tags\": null,\n  \"ga4_tag_id\": null,\n  \"utm_term\": null,\n  \"utm_campaign\": null\n}"},{"id":"167b8a61-2749-49d9-9c31-47cb4ceed2ca","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/link/:id?workspace_id=42&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":id"],"query":[{"description":"Workspace ID. Optional when using OAuth2 Bearer token.","key":"workspace_id","value":"42"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"id","value":"1454633","description":"The id of the Link"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"69eb5627-68e5-4686-a3d6-0d080a2e366c","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/link/:id?workspace_id=42&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":id"],"query":[{"description":"Workspace ID. Optional when using OAuth2 Bearer token.","key":"workspace_id","value":"42"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"id","value":"1454633","description":"The id of the Link"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"8ea75aee-edf3-4377-b4bb-dad67ef96eb2"}],"id":"5a78c8a4-b8a0-43ec-9235-d1117d933858","_postman_id":"5a78c8a4-b8a0-43ec-9235-d1117d933858","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"{link_id}","item":[{"name":"webhooks","item":[{"name":"*hook_id","item":[{"name":"Unsubscribe webhook from a link","id":"71c71701-81f6-4813-a4cd-65c29c0e59c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks/*hook_id","description":"<p>Remove a webhook subscription from a link. The hook_id is the URL-encoded webhook URL.</p>\n","urlObject":{"path":["api","v1","link",":link_id","webhooks","*hook_id"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The ID of the link</p>\n","type":"text/plain"},"type":"any","value":"12345","key":"link_id"},{"description":{"content":"<p>The webhook URL (URL-encoded)</p>\n","type":"text/plain"},"type":"any","value":"https%3A%2F%2Fhooks.example.com%2Fabc123","key":"hook_id"}]}},"response":[{"id":"357a02a3-db17-458f-a383-a305837744f4","name":"Webhook unsubscribed","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks/*hook_id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks","*hook_id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link"},{"key":"hook_id","value":"https%3A%2F%2Fhooks.example.com%2Fabc123","description":"The webhook URL (URL-encoded)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"23a28747-d22e-47f0-8066-b9ba8d445c43","name":"Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks/*hook_id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks","*hook_id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link"},{"key":"hook_id","value":"https%3A%2F%2Fhooks.example.com%2Fabc123","description":"The webhook URL (URL-encoded)"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"50d85e0c-352b-448c-bd7b-1587b722177c","name":"Not found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks/*hook_id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks","*hook_id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link"},{"key":"hook_id","value":"https%3A%2F%2Fhooks.example.com%2Fabc123","description":"The webhook URL (URL-encoded)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"71c71701-81f6-4813-a4cd-65c29c0e59c1"}],"id":"c2b31c48-7ac6-4e18-bec9-ddd800656bf9","_postman_id":"c2b31c48-7ac6-4e18-bec9-ddd800656bf9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"List webhooks for a link","id":"219b5815-aac4-4656-8b4b-3f2a22d14990","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks","description":"<p>Get all webhook subscriptions for a specific link.</p>\n","urlObject":{"path":["api","v1","link",":link_id","webhooks"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The ID of the link</p>\n","type":"text/plain"},"type":"any","value":"12345","key":"link_id"}]}},"response":[{"id":"517b51a0-fea1-4c3a-9664-6cd250f03d8a","name":"Webhook list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"{{vault:zapier-webhook-url}}\"\n  },\n  {\n    \"id\": \"{{vault:zapier-webhook-url}}\"\n  }\n]"},{"id":"53453a1d-7dc0-4e43-a771-f5cba1adb61d","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"8b1a4546-0de3-4135-b892-abf22bbf5c93","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"219b5815-aac4-4656-8b4b-3f2a22d14990"},{"name":"Subscribe webhook to a link","id":"63b9baa3-82d6-48cf-9ef6-d7966d244caf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"{{vault:zapier-webhook-url}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks","description":"<p>Subscribe a webhook URL to receive notifications when a specific link is clicked. The webhook will receive POST requests with click data including country, platform, browser, and more.</p>\n","urlObject":{"path":["api","v1","link",":link_id","webhooks"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The ID of the link to subscribe to</p>\n","type":"text/plain"},"type":"any","value":"12345","key":"link_id"}]}},"response":[{"id":"be9d0935-85b5-41c6-ae27-3dcb65951060","name":"Webhook subscribed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"{{vault:zapier-webhook-url}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link to subscribe to"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"{{vault:zapier-webhook-url}}\"\n}"},{"id":"d1c08f1b-0a34-4084-a150-1e53d459aec7","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"{{vault:zapier-webhook-url}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link to subscribe to"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Missing or invalid parameters\"\n}"},{"id":"7d06edcf-ffb2-47dc-b521-2b3b7d4f028e","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"{{vault:zapier-webhook-url}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link to subscribe to"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"b9503be3-7f0c-406a-bbfb-fd1999ca1420","name":"Not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"{{vault:zapier-webhook-url}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/link/:link_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link",":link_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"link_id","value":"12345","description":"The ID of the link to subscribe to"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"63b9baa3-82d6-48cf-9ef6-d7966d244caf"}],"id":"35902b49-2968-4bca-9282-7710a8da9451","_postman_id":"35902b49-2968-4bca-9282-7710a8da9451","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}}],"id":"9465e27d-f62e-4751-bd82-b67caf2e6302","_postman_id":"9465e27d-f62e-4751-bd82-b67caf2e6302","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"Create or update a link","id":"afe51bd8-274d-4174-b147-29c0c4ce67e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"www.somelink.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://app.linklyhq.com/api/v1/link","description":"<p>Create a new shortened link or update an existing one. To create: provide <code>url</code> and <code>workspace_id</code>. To update: provide <code>id</code> and any fields to change. Supports custom slugs, UTM parameters, retargeting pixels, Open Graph metadata, and redirect rules.</p>\n","urlObject":{"path":["api","v1","link"],"host":["https://app.linklyhq.com"],"query":[],"variable":[]}},"response":[{"id":"a0bcc714-980b-480f-94c2-5cdda454e648","name":"Link","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"www.somelink.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/link?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"fb_pixel_id\": null,\n  \"tiktok_pixel_id\": null,\n  \"hide_referrer\": null,\n  \"expiry_datetime\": null,\n  \"expiry_destination\": null,\n  \"rules\": [],\n  \"cloaking\": null,\n  \"linkify_words\": null,\n  \"full_url\": \"http://localhost:4000U\",\n  \"og_description\": null,\n  \"body_tags\": null,\n  \"og_title\": null,\n  \"note\": null,\n  \"name\": null,\n  \"id\": 30,\n  \"gtm_id\": null,\n  \"og_image\": null,\n  \"block_bots\": null,\n  \"utm_content\": null,\n  \"enabled\": null,\n  \"url\": \"https://www.somelink.com\",\n  \"replacements\": null,\n  \"deleted\": null,\n  \"expiry_clicks\": null,\n  \"workspace_id\": 42,\n  \"public_analytics\": null,\n  \"utm_source\": null,\n  \"slug\": null,\n  \"domain\": null,\n  \"forward_params\": null,\n  \"utm_medium\": null,\n  \"head_tags\": null,\n  \"ga4_tag_id\": null,\n  \"utm_term\": null,\n  \"utm_campaign\": null\n}"},{"id":"686f1887-ad57-4851-bec8-516815346226","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"www.somelink.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/link?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"},{"id":"a2b09887-8a55-4de7-a7c4-7064f81c7e07","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"www.somelink.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/link?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"57f2e721-bac7-450a-a014-e444f40ee230","name":"Not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"www.somelink.com\",\n  \"workspace_id\": 33\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/link?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","link"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"afe51bd8-274d-4174-b147-29c0c4ce67e4"}],"id":"0d9323dd-5973-4ef2-84d0-ac4cc6b68ef9","_postman_id":"0d9323dd-5973-4ef2-84d0-ac4cc6b68ef9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"workspace","item":[{"name":"{workspace_id}","item":[{"name":"clicks","item":[{"name":"counters","item":[{"name":"{counter}","item":[{"name":"Get click counts grouped by dimension","id":"0a0bbf78-e671-4ca8-b5e7-c0829b9cb27f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/clicks/counters/:counter?link_id=24&link_ids=24,25,26&start=string&end=string&country=string&bots=false&unique=false&format=json","description":"<p>Retrieve click analytics grouped by a specific dimension (counter). Returns aggregated counts for each unique value of the selected dimension.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","clicks","counters",":counter"],"host":["https://app.linklyhq.com"],"query":[{"description":{"content":"<p>The id of a single Link</p>\n","type":"text/plain"},"key":"link_id","value":"24"},{"description":{"content":"<p>Comma-separated list of Link IDs</p>\n","type":"text/plain"},"key":"link_ids","value":"24,25,26"},{"description":{"content":"<p>The start date for the date range (format: YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"start","value":"string"},{"description":{"content":"<p>The end date for the date range (format: YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"end","value":"string"},{"description":{"content":"<p>Filter by country using ISO 3166-1 alpha-2 country code</p>\n","type":"text/plain"},"key":"country","value":"string"},{"description":{"content":"<p>Set to false to exclude bot clicks from the results</p>\n","type":"text/plain"},"key":"bots","value":"false"},{"description":{"content":"<p>Set to true to only count unique clicks</p>\n","type":"text/plain"},"key":"unique","value":"false"},{"description":{"content":"<p>Specify the format of the response. Available options are 'json' (default), 'csv', or 'tsv'.</p>\n","type":"text/plain"},"key":"format","value":"json"}],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"},{"description":{"content":"<p>The dimension to group clicks by. Options: country, platform, browser, referer, isp, link_id, top_params</p>\n","type":"text/plain"},"type":"any","value":"link_id","key":"counter"}]}},"response":[{"id":"b7c908c8-f344-4a04-b08e-ef911cc8c225","name":"CounterResponse","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/clicks/counters/:counter?link_id=24&link_ids=24,25,26&start=string&end=string&country=string&bots=false&unique=false&format=json&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","clicks","counters",":counter"],"query":[{"description":"The id of a single Link","key":"link_id","value":"24"},{"description":"Comma-separated list of Link IDs","key":"link_ids","value":"24,25,26"},{"description":"The start date for the date range (format: YYYY-MM-DD)","key":"start","value":"string"},{"description":"The end date for the date range (format: YYYY-MM-DD)","key":"end","value":"string"},{"description":"Filter by country using ISO 3166-1 alpha-2 country code","key":"country","value":"string"},{"description":"Set to false to exclude bot clicks from the results","key":"bots","value":"false"},{"description":"Set to true to only count unique clicks","key":"unique","value":"false"},{"description":"Specify the format of the response. Available options are 'json' (default), 'csv', or 'tsv'.","key":"format","value":"json"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"counter","value":"link_id","description":"The dimension to group clicks by. Options: country, platform, browser, referer, isp, link_id, top_params"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"total\": 517,\n  \"values\": [\n    {\n      \"count\": 2205,\n      \"value\": \"string\"\n    },\n    {\n      \"count\": 2731,\n      \"value\": \"string\"\n    }\n  ]\n}"},{"id":"b9f1beb5-d637-4e00-92d8-939732e9956f","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/clicks/counters/:counter?link_id=24&link_ids=24,25,26&start=string&end=string&country=string&bots=false&unique=false&format=json&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","clicks","counters",":counter"],"query":[{"description":"The id of a single Link","key":"link_id","value":"24"},{"description":"Comma-separated list of Link IDs","key":"link_ids","value":"24,25,26"},{"description":"The start date for the date range (format: YYYY-MM-DD)","key":"start","value":"string"},{"description":"The end date for the date range (format: YYYY-MM-DD)","key":"end","value":"string"},{"description":"Filter by country using ISO 3166-1 alpha-2 country code","key":"country","value":"string"},{"description":"Set to false to exclude bot clicks from the results","key":"bots","value":"false"},{"description":"Set to true to only count unique clicks","key":"unique","value":"false"},{"description":"Specify the format of the response. Available options are 'json' (default), 'csv', or 'tsv'.","key":"format","value":"json"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"counter","value":"link_id","description":"The dimension to group clicks by. Options: country, platform, browser, referer, isp, link_id, top_params"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"bb436646-ca1c-4609-a173-7087c79abdde","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/clicks/counters/:counter?link_id=24&link_ids=24,25,26&start=string&end=string&country=string&bots=false&unique=false&format=json&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","clicks","counters",":counter"],"query":[{"description":"The id of a single Link","key":"link_id","value":"24"},{"description":"Comma-separated list of Link IDs","key":"link_ids","value":"24,25,26"},{"description":"The start date for the date range (format: YYYY-MM-DD)","key":"start","value":"string"},{"description":"The end date for the date range (format: YYYY-MM-DD)","key":"end","value":"string"},{"description":"Filter by country using ISO 3166-1 alpha-2 country code","key":"country","value":"string"},{"description":"Set to false to exclude bot clicks from the results","key":"bots","value":"false"},{"description":"Set to true to only count unique clicks","key":"unique","value":"false"},{"description":"Specify the format of the response. Available options are 'json' (default), 'csv', or 'tsv'.","key":"format","value":"json"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"counter","value":"link_id","description":"The dimension to group clicks by. Options: country, platform, browser, referer, isp, link_id, top_params"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"},{"id":"2769c9f9-b4b0-4d25-b57e-450b4180697b","name":"Rate Limit Exceeded","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/clicks/counters/:counter?link_id=24&link_ids=24,25,26&start=string&end=string&country=string&bots=false&unique=false&format=json&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","clicks","counters",":counter"],"query":[{"description":"The id of a single Link","key":"link_id","value":"24"},{"description":"Comma-separated list of Link IDs","key":"link_ids","value":"24,25,26"},{"description":"The start date for the date range (format: YYYY-MM-DD)","key":"start","value":"string"},{"description":"The end date for the date range (format: YYYY-MM-DD)","key":"end","value":"string"},{"description":"Filter by country using ISO 3166-1 alpha-2 country code","key":"country","value":"string"},{"description":"Set to false to exclude bot clicks from the results","key":"bots","value":"false"},{"description":"Set to true to only count unique clicks","key":"unique","value":"false"},{"description":"Specify the format of the response. Available options are 'json' (default), 'csv', or 'tsv'.","key":"format","value":"json"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"counter","value":"link_id","description":"The dimension to group clicks by. Options: country, platform, browser, referer, isp, link_id, top_params"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"current_usage\": 5852,\n  \"error\": \"string\",\n  \"limit\": 293,\n  \"message\": \"string\"\n}"}],"_postman_id":"0a0bbf78-e671-4ca8-b5e7-c0829b9cb27f"}],"id":"07cb8973-3a06-471d-834e-254e4165b7a6","_postman_id":"07cb8973-3a06-471d-834e-254e4165b7a6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}}],"id":"49bfc45a-2fa1-4c49-a5fa-8bc8c367cbd2","_postman_id":"49bfc45a-2fa1-4c49-a5fa-8bc8c367cbd2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"Get click analytics","id":"2bfe5ed0-4d21-43d2-9552-bbbe2faf232e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/clicks?link_id=24&link_ids=24,25,26&start=string&end=string&country=string&browser=string&platform=string&referer=string&isp=string&bots=false&unique=false&format=json&pivot=link_id&timezone=America/New_York&frequency=day","description":"<p>Retrieve click analytics for a workspace. Filter by link, date range, country, and more. Returns time-series data suitable for charting.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","clicks"],"host":["https://app.linklyhq.com"],"query":[{"description":{"content":"<p>The id of a single Link</p>\n","type":"text/plain"},"key":"link_id","value":"24"},{"description":{"content":"<p>Filter clicks by multiple links. Provide a comma-separated list of link IDs.</p>\n","type":"text/plain"},"key":"link_ids","value":"24,25,26"},{"description":{"content":"<p>The start date for the date range (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)</p>\n","type":"text/plain"},"key":"start","value":"string"},{"description":{"content":"<p>The end date for the date range (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)</p>\n","type":"text/plain"},"key":"end","value":"string"},{"description":{"content":"<p>Filter clicks by country using ISO 3166-1 alpha-2 country code e.g US</p>\n","type":"text/plain"},"key":"country","value":"string"},{"description":{"content":"<p>Filter clicks by browser name e.g Chrome, Firefox, Safari</p>\n","type":"text/plain"},"key":"browser","value":"string"},{"description":{"content":"<p>Filter clicks by platform/operating system e.g Windows, Mac, iOS, Android</p>\n","type":"text/plain"},"key":"platform","value":"string"},{"description":{"content":"<p>Filter clicks by referrer domain</p>\n","type":"text/plain"},"key":"referer","value":"string"},{"description":{"content":"<p>Filter clicks by Internet Service Provider name</p>\n","type":"text/plain"},"key":"isp","value":"string"},{"description":{"content":"<p>Set to false to exclude bot clicks from the results</p>\n","type":"text/plain"},"key":"bots","value":"false"},{"description":{"content":"<p>Set to true to only include unique clicks in the results</p>\n","type":"text/plain"},"key":"unique","value":"false"},{"description":{"content":"<p>Specify the format of the response. Available options are 'json' (default), 'csv', or 'tsv'.</p>\n","type":"text/plain"},"key":"format","value":"json"},{"description":{"content":"<p>Return data as a matrix. When pivot=link_id, returns dates as rows and links as columns. CSV/TSV includes header rows for name, full_url, and id.</p>\n","type":"text/plain"},"key":"pivot","value":"link_id"},{"description":{"content":"<p>The timezone to use for date/time calculations</p>\n","type":"text/plain"},"key":"timezone","value":"America/New_York"},{"description":{"content":"<p>The frequency of data points in the response. Available options are 'day' (default) or 'hour'.</p>\n","type":"text/plain"},"key":"frequency","value":"day"}],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"}]}},"response":[{"id":"77256967-18ae-466b-a006-1f5ee8719911","name":"Click","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/clicks?link_id=24&link_ids=24,25,26&start=string&end=string&country=string&browser=string&platform=string&referer=string&isp=string&bots=false&unique=false&format=json&pivot=link_id&timezone=America/New_York&frequency=day&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","clicks"],"query":[{"description":"The id of a single Link","key":"link_id","value":"24"},{"description":"Filter clicks by multiple links. Provide a comma-separated list of link IDs.","key":"link_ids","value":"24,25,26"},{"description":"The start date for the date range (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)","key":"start","value":"string"},{"description":"The end date for the date range (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)","key":"end","value":"string"},{"description":"Filter clicks by country using ISO 3166-1 alpha-2 country code e.g US","key":"country","value":"string"},{"description":"Filter clicks by browser name e.g Chrome, Firefox, Safari","key":"browser","value":"string"},{"description":"Filter clicks by platform/operating system e.g Windows, Mac, iOS, Android","key":"platform","value":"string"},{"description":"Filter clicks by referrer domain","key":"referer","value":"string"},{"description":"Filter clicks by Internet Service Provider name","key":"isp","value":"string"},{"description":"Set to false to exclude bot clicks from the results","key":"bots","value":"false"},{"description":"Set to true to only include unique clicks in the results","key":"unique","value":"false"},{"description":"Specify the format of the response. Available options are 'json' (default), 'csv', or 'tsv'.","key":"format","value":"json"},{"description":"Return data as a matrix. When pivot=link_id, returns dates as rows and links as columns. CSV/TSV includes header rows for name, full_url, and id.","key":"pivot","value":"link_id"},{"description":"The timezone to use for date/time calculations","key":"timezone","value":"America/New_York"},{"description":"The frequency of data points in the response. Available options are 'day' (default) or 'hour'.","key":"frequency","value":"day"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"traffic\": [\n    {\n      \"t\": \"2014-03-03\",\n      \"y\": 3614\n    },\n    {\n      \"t\": \"1961-08-26\",\n      \"y\": 2550\n    }\n  ]\n}"},{"id":"bac1187b-3257-4825-94e1-c4ed199a52a9","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/clicks?link_id=24&link_ids=24,25,26&start=string&end=string&country=string&browser=string&platform=string&referer=string&isp=string&bots=false&unique=false&format=json&pivot=link_id&timezone=America/New_York&frequency=day&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","clicks"],"query":[{"description":"The id of a single Link","key":"link_id","value":"24"},{"description":"Filter clicks by multiple links. Provide a comma-separated list of link IDs.","key":"link_ids","value":"24,25,26"},{"description":"The start date for the date range (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)","key":"start","value":"string"},{"description":"The end date for the date range (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)","key":"end","value":"string"},{"description":"Filter clicks by country using ISO 3166-1 alpha-2 country code e.g US","key":"country","value":"string"},{"description":"Filter clicks by browser name e.g Chrome, Firefox, Safari","key":"browser","value":"string"},{"description":"Filter clicks by platform/operating system e.g Windows, Mac, iOS, Android","key":"platform","value":"string"},{"description":"Filter clicks by referrer domain","key":"referer","value":"string"},{"description":"Filter clicks by Internet Service Provider name","key":"isp","value":"string"},{"description":"Set to false to exclude bot clicks from the results","key":"bots","value":"false"},{"description":"Set to true to only include unique clicks in the results","key":"unique","value":"false"},{"description":"Specify the format of the response. Available options are 'json' (default), 'csv', or 'tsv'.","key":"format","value":"json"},{"description":"Return data as a matrix. When pivot=link_id, returns dates as rows and links as columns. CSV/TSV includes header rows for name, full_url, and id.","key":"pivot","value":"link_id"},{"description":"The timezone to use for date/time calculations","key":"timezone","value":"America/New_York"},{"description":"The frequency of data points in the response. Available options are 'day' (default) or 'hour'.","key":"frequency","value":"day"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"f9bb0b47-5c5c-4d77-8e98-17139d1e5e71","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/clicks?link_id=24&link_ids=24,25,26&start=string&end=string&country=string&browser=string&platform=string&referer=string&isp=string&bots=false&unique=false&format=json&pivot=link_id&timezone=America/New_York&frequency=day&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","clicks"],"query":[{"description":"The id of a single Link","key":"link_id","value":"24"},{"description":"Filter clicks by multiple links. Provide a comma-separated list of link IDs.","key":"link_ids","value":"24,25,26"},{"description":"The start date for the date range (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)","key":"start","value":"string"},{"description":"The end date for the date range (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)","key":"end","value":"string"},{"description":"Filter clicks by country using ISO 3166-1 alpha-2 country code e.g US","key":"country","value":"string"},{"description":"Filter clicks by browser name e.g Chrome, Firefox, Safari","key":"browser","value":"string"},{"description":"Filter clicks by platform/operating system e.g Windows, Mac, iOS, Android","key":"platform","value":"string"},{"description":"Filter clicks by referrer domain","key":"referer","value":"string"},{"description":"Filter clicks by Internet Service Provider name","key":"isp","value":"string"},{"description":"Set to false to exclude bot clicks from the results","key":"bots","value":"false"},{"description":"Set to true to only include unique clicks in the results","key":"unique","value":"false"},{"description":"Specify the format of the response. Available options are 'json' (default), 'csv', or 'tsv'.","key":"format","value":"json"},{"description":"Return data as a matrix. When pivot=link_id, returns dates as rows and links as columns. CSV/TSV includes header rows for name, full_url, and id.","key":"pivot","value":"link_id"},{"description":"The timezone to use for date/time calculations","key":"timezone","value":"America/New_York"},{"description":"The frequency of data points in the response. Available options are 'day' (default) or 'hour'.","key":"frequency","value":"day"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"2bfe5ed0-4d21-43d2-9552-bbbe2faf232e"}],"id":"64d0feaa-5f43-4c69-9a20-25825a38aea2","_postman_id":"64d0feaa-5f43-4c69-9a20-25825a38aea2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"domains","item":[{"name":"{domain_id}","item":[{"name":"Delete a domain","id":"f0e77fd0-005a-4b6d-a033-1750adac0986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains/:domain_id","description":"<p>Remove a custom domain from your workspace. Links using this domain will no longer work.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","domains",":domain_id"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"},{"description":{"content":"<p>The id of the Domain</p>\n","type":"text/plain"},"type":"any","value":"103","key":"domain_id"}]}},"response":[{"id":"81b8bec9-7bf9-49a6-9513-862a8f73cad2","name":"DomainDeleted","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains/:domain_id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains",":domain_id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"domain_id","value":"103","description":"The id of the Domain"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"Domain deleted."},{"id":"782e6029-c8a6-4989-9391-311af88ac6b1","name":"Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains/:domain_id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains",":domain_id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"domain_id","value":"103","description":"The id of the Domain"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"d29dfca6-5f4c-4bf3-8385-c71bcf67ae45","name":"Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains/:domain_id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains",":domain_id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"domain_id","value":"103","description":"The id of the Domain"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"f0e77fd0-005a-4b6d-a033-1750adac0986"}],"id":"b4098cd7-2543-4d62-99c4-2f56624df201","_postman_id":"b4098cd7-2543-4d62-99c4-2f56624df201","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"{id}","item":[{"name":"favicon","item":[{"name":"Update domain favicon","id":"a31413e5-3dcf-4f0f-849b-109c1a861b18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"favicon_url\": \"http://LgQSUlOLvZrTxL.qxxx0UADWMmMA+l7wg8tFbnVWJ-HCBlQeH,UnQnrIA182qHlVw9sHyU7AgsPCo6U2aIWkZiCQbVV\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains/:id/favicon","description":"<p>Update the favicon URL for a custom domain.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","domains",":id","favicon"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"},{"description":{"content":"<p>The id of the Domain</p>\n","type":"text/plain"},"type":"any","value":"103","key":"id"}]}},"response":[{"id":"b1c6f85a-9140-44b5-ac85-b94e56b64817","name":"Domain","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"favicon_url\": \"http://LgQSUlOLvZrTxL.qxxx0UADWMmMA+l7wg8tFbnVWJ-HCBlQeH,UnQnrIA182qHlVw9sHyU7AgsPCo6U2aIWkZiCQbVV\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains/:id/favicon?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains",":id","favicon"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"id","value":"103","description":"The id of the Domain"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"favicon_url\": \"string\",\n  \"id\": 491,\n  \"name\": \"string\"\n}"},{"id":"78f2eb80-857e-425e-8ea8-d4e4e34f053a","name":"Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"favicon_url\": \"http://LgQSUlOLvZrTxL.qxxx0UADWMmMA+l7wg8tFbnVWJ-HCBlQeH,UnQnrIA182qHlVw9sHyU7AgsPCo6U2aIWkZiCQbVV\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains/:id/favicon?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains",":id","favicon"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"id","value":"103","description":"The id of the Domain"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"ce583b31-097e-4961-8beb-f8659f04e31a","name":"Error","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"favicon_url\": \"http://LgQSUlOLvZrTxL.qxxx0UADWMmMA+l7wg8tFbnVWJ-HCBlQeH,UnQnrIA182qHlVw9sHyU7AgsPCo6U2aIWkZiCQbVV\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains/:id/favicon?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains",":id","favicon"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"id","value":"103","description":"The id of the Domain"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"a31413e5-3dcf-4f0f-849b-109c1a861b18"}],"id":"0861b74d-a191-49ec-85ec-04f493fce8a9","_postman_id":"0861b74d-a191-49ec-85ec-04f493fce8a9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}}],"id":"7fc71ecc-aad2-40cd-b5a1-e613ce23ff13","_postman_id":"7fc71ecc-aad2-40cd-b5a1-e613ce23ff13","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"List domains","id":"3fbf99e7-312e-424f-a558-5a730f4e6652","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains","description":"<p>Get all custom domains configured for a workspace. These domains can be used when creating short links.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","domains"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"}]}},"response":[{"id":"ba33332d-3cdc-4295-9275-8110304933ac","name":"Domain","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"domains\": [\n    {\n      \"name\": \"string\"\n    },\n    {\n      \"name\": \"string\"\n    }\n  ]\n}"},{"id":"2db9cc9a-50a9-43e1-a714-38fa92c488e4","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"c55f2ca1-f875-4952-9a3d-deba60fb3048","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"3fbf99e7-312e-424f-a558-5a730f4e6652"},{"name":"Create domain in workspace","id":"83a13d78-586a-43bd-bcac-add08a19a72e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains","description":"<p>Add a new custom domain to a specific workspace. You must configure DNS (CNAME record) before adding the domain.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","domains"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"}]}},"response":[{"id":"b9d87a38-52e8-4057-8850-fcac8a4e4fdb","name":"Domain","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"name\": null,\n  \"workspace_id\": 42\n}"},{"id":"0ee151a3-0ca8-4f6e-8084-6805952afc90","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"},{"id":"c556645a-44bd-448d-bf84-5894fe160498","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/domains?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","domains"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"}],"_postman_id":"83a13d78-586a-43bd-bcac-add08a19a72e"}],"id":"4ee1d342-b4e8-402e-bce5-ef9bd4c852d7","_postman_id":"4ee1d342-b4e8-402e-bce5-ef9bd4c852d7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"links","item":[{"name":"export","item":[{"name":"Export links","id":"1e4e0708-97ad-45a0-8679-ca787223c936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links/export?format=json&search=campaign","description":"<p>Export all links in a workspace as JSON or CSV.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","links","export"],"host":["https://app.linklyhq.com"],"query":[{"description":{"content":"<p>Export format</p>\n","type":"text/plain"},"key":"format","value":"json"},{"description":{"content":"<p>Search query to filter links</p>\n","type":"text/plain"},"key":"search","value":"campaign"}],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"}]}},"response":[{"id":"3c7e397c-c56d-433b-b7a7-0564b2469c64","name":"Links","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links/export?format=json&search=campaign&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links","export"],"query":[{"description":"Export format","key":"format","value":"json"},{"description":"Search query to filter links","key":"search","value":"campaign"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"fb_pixel_id\": \"string\",\n    \"sparkline\": [\n      8584,\n      8694\n    ],\n    \"clicks_thirty_days\": 6394,\n    \"tiktok_pixel_id\": \"string\",\n    \"hide_referrer\": true,\n    \"cloaking\": true,\n    \"linkify_words\": \"string\",\n    \"full_url\": \"https://oOdGq.wldtQMUCIA\",\n    \"clicks_today\": 3873,\n    \"og_description\": \"string\",\n    \"body_tags\": \"string\",\n    \"og_title\": \"string\",\n    \"note\": \"string\",\n    \"name\": \"string\",\n    \"id\": 7317,\n    \"gtm_id\": \"string\",\n    \"og_image\": \"string\",\n    \"block_bots\": false,\n    \"clicks_total\": 7255,\n    \"utm_content\": \"string\",\n    \"enabled\": false,\n    \"url\": \"https://ggKunUNkthwDkQaCQUWXnlK.lfSWpV,+PeKyYg9JDeteLWykRuh6mTAXhNJUOJsZZQ2du1gkQD8sRJkkTfir6G2FCVqUS\",\n    \"replacements\": \"string\",\n    \"deleted\": false,\n    \"workspace_id\": 2311,\n    \"public_analytics\": true,\n    \"utm_source\": \"string\",\n    \"slug\": \"string\",\n    \"domain\": \"string\",\n    \"forward_params\": false,\n    \"utm_medium\": \"string\",\n    \"head_tags\": \"string\",\n    \"ga4_tag_id\": \"string\",\n    \"utm_term\": \"string\",\n    \"utm_campaign\": \"string\"\n  },\n  {\n    \"fb_pixel_id\": \"string\",\n    \"sparkline\": [\n      2956,\n      9794\n    ],\n    \"clicks_thirty_days\": 5882,\n    \"tiktok_pixel_id\": \"string\",\n    \"hide_referrer\": false,\n    \"cloaking\": true,\n    \"linkify_words\": \"string\",\n    \"full_url\": \"http://cPfqmKUIADZVSgNfwrHQWkPVQ.znvhofnwH8Y7AyvzO,ed.U,dnmaRCXhVyvpZOgKbniSl7s5XP9C6bVqVUQbyLwd\",\n    \"clicks_today\": 7379,\n    \"og_description\": \"string\",\n    \"body_tags\": \"string\",\n    \"og_title\": \"string\",\n    \"note\": \"string\",\n    \"name\": \"string\",\n    \"id\": 7970,\n    \"gtm_id\": \"string\",\n    \"og_image\": \"string\",\n    \"block_bots\": true,\n    \"clicks_total\": 7845,\n    \"utm_content\": \"string\",\n    \"enabled\": true,\n    \"url\": \"http://Dyo.ufj\",\n    \"replacements\": \"string\",\n    \"deleted\": false,\n    \"workspace_id\": 6273,\n    \"public_analytics\": false,\n    \"utm_source\": \"string\",\n    \"slug\": \"string\",\n    \"domain\": \"string\",\n    \"forward_params\": false,\n    \"utm_medium\": \"string\",\n    \"head_tags\": \"string\",\n    \"ga4_tag_id\": \"string\",\n    \"utm_term\": \"string\",\n    \"utm_campaign\": \"string\"\n  }\n]"},{"id":"9068de07-b674-458a-965b-fc0086ba062c","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links/export?format=json&search=campaign&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links","export"],"query":[{"description":"Export format","key":"format","value":"json"},{"description":"Search query to filter links","key":"search","value":"campaign"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"}],"_postman_id":"1e4e0708-97ad-45a0-8679-ca787223c936"}],"id":"0fd7d7bc-5aab-4660-94b1-d8d0203cecb9","_postman_id":"0fd7d7bc-5aab-4660-94b1-d8d0203cecb9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"{id}","item":[{"name":"Delete a single link","id":"f3ab776c-82bd-4c65-b236-a4faa565375d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links/:id","description":"<p>Delete a specific link by ID. This action is permanent.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","links",":id"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"},{"description":{"content":"<p>The id of the Link</p>\n","type":"text/plain"},"type":"any","value":"24","key":"id"}]}},"response":[{"id":"ece1a494-6281-4de9-b10c-607b0f7b3d4f","name":"LinkDeleted","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links/:id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links",":id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"id","value":"24","description":"The id of the Link"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Link deleted.\"\n}"},{"id":"7037fa1f-7367-409a-b77d-d324259538bb","name":"Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links/:id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links",":id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"id","value":"24","description":"The id of the Link"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"ee30e913-5236-40dc-a1df-ef363a11b7d7","name":"Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links/:id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links",":id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"},{"key":"id","value":"24","description":"The id of the Link"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"f3ab776c-82bd-4c65-b236-a4faa565375d"}],"id":"95e02671-4f8f-483c-a426-3cf17ff6eb23","_postman_id":"95e02671-4f8f-483c-a426-3cf17ff6eb23","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"Delete links","id":"717169b4-4dff-4bdf-bc4c-8a662981fc9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    2743,\n    9391\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links","description":"<p>Delete one or more links by their IDs. This action is permanent and cannot be undone.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","links"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"}]}},"response":[{"id":"0a7b2a53-5618-4cf4-8583-2b252f3f688c","name":"LinksDeleted","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    2743,\n    9391\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"Links deleted."},{"id":"d4e1d147-9712-434d-9b23-e6f1a51af6cc","name":"Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    2743,\n    9391\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"2875136d-17c6-46fc-8291-fe63c55c2191","name":"Error","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    2743,\n    9391\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"717169b4-4dff-4bdf-bc4c-8a662981fc9b"},{"name":"Create or update a link","id":"2baee36d-fc57-4e95-9420-db40cb2de0c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"http://yUjSyaEASsic.jgzh1fQTyMPQxFpi4lyseIUrLKdpSlbq3oe2xLqE,QepWAoa87maJ884vttlwzhjZCS9P82\",\n  \"fb_pixel_id\": \"string\",\n  \"tiktok_pixel_id\": \"string\",\n  \"hide_referrer\": true,\n  \"expiry_datetime\": \"1992-06-06T08:38:48.267Z\",\n  \"expiry_destination\": \"string\",\n  \"domain_id\": 3289,\n  \"cloaking\": true,\n  \"linkify_words\": \"string\",\n  \"og_description\": \"string\",\n  \"skip_social_crawler_tracking\": true,\n  \"body_tags\": \"string\",\n  \"og_title\": \"string\",\n  \"note\": \"string\",\n  \"name\": \"string\",\n  \"id\": 9638,\n  \"gtm_id\": \"string\",\n  \"og_image\": \"string\",\n  \"block_bots\": false,\n  \"utm_content\": \"string\",\n  \"enabled\": false,\n  \"replacements\": \"string\",\n  \"qr_styles\": {},\n  \"webhooks\": [\n    \"string\",\n    \"string\"\n  ],\n  \"expiry_clicks\": 150,\n  \"public_analytics\": true,\n  \"utm_source\": \"string\",\n  \"slug\": \"string\",\n  \"domain\": \"string\",\n  \"forward_params\": false,\n  \"utm_medium\": \"string\",\n  \"head_tags\": \"string\",\n  \"ga4_tag_id\": \"string\",\n  \"utm_term\": \"string\",\n  \"utm_campaign\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links","description":"<p>Create a new link or update an existing one. Include an 'id' field to update an existing link. Can also accept an array of links for batch operations.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","links"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"}]}},"response":[{"id":"6b0451df-6a92-4c96-a18c-34a0258a1b25","name":"Link","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"http://yUjSyaEASsic.jgzh1fQTyMPQxFpi4lyseIUrLKdpSlbq3oe2xLqE,QepWAoa87maJ884vttlwzhjZCS9P82\",\n  \"fb_pixel_id\": \"string\",\n  \"tiktok_pixel_id\": \"string\",\n  \"hide_referrer\": true,\n  \"expiry_datetime\": \"1992-06-06T08:38:48.267Z\",\n  \"expiry_destination\": \"string\",\n  \"domain_id\": 3289,\n  \"cloaking\": true,\n  \"linkify_words\": \"string\",\n  \"og_description\": \"string\",\n  \"skip_social_crawler_tracking\": true,\n  \"body_tags\": \"string\",\n  \"og_title\": \"string\",\n  \"note\": \"string\",\n  \"name\": \"string\",\n  \"id\": 9638,\n  \"gtm_id\": \"string\",\n  \"og_image\": \"string\",\n  \"block_bots\": false,\n  \"utm_content\": \"string\",\n  \"enabled\": false,\n  \"replacements\": \"string\",\n  \"qr_styles\": {},\n  \"webhooks\": [\n    \"string\",\n    \"string\"\n  ],\n  \"expiry_clicks\": 150,\n  \"public_analytics\": true,\n  \"utm_source\": \"string\",\n  \"slug\": \"string\",\n  \"domain\": \"string\",\n  \"forward_params\": false,\n  \"utm_medium\": \"string\",\n  \"head_tags\": \"string\",\n  \"ga4_tag_id\": \"string\",\n  \"utm_term\": \"string\",\n  \"utm_campaign\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"fb_pixel_id\": \"string\",\n  \"sparkline\": [\n    8115,\n    3336\n  ],\n  \"clicks_thirty_days\": 7259,\n  \"tiktok_pixel_id\": \"string\",\n  \"hide_referrer\": false,\n  \"cloaking\": false,\n  \"linkify_words\": \"string\",\n  \"full_url\": \"http://jjAvyvfJfq.rhCA2WN-Z72N31p7NzxMG0,1c36F8qO\",\n  \"clicks_today\": 358,\n  \"og_description\": \"string\",\n  \"body_tags\": \"string\",\n  \"og_title\": \"string\",\n  \"note\": \"string\",\n  \"name\": \"string\",\n  \"id\": 2848,\n  \"gtm_id\": \"string\",\n  \"og_image\": \"string\",\n  \"block_bots\": false,\n  \"clicks_total\": 3865,\n  \"utm_content\": \"string\",\n  \"enabled\": true,\n  \"url\": \"https://PDrUwxOnWEPgjUQxvXLNsNISMssJbELM.egiypwHK8WW,yHJESqiuSlm.gqpftUKonJ\",\n  \"replacements\": \"string\",\n  \"deleted\": true,\n  \"workspace_id\": 1615,\n  \"public_analytics\": false,\n  \"utm_source\": \"string\",\n  \"slug\": \"string\",\n  \"domain\": \"string\",\n  \"forward_params\": false,\n  \"utm_medium\": \"string\",\n  \"head_tags\": \"string\",\n  \"ga4_tag_id\": \"string\",\n  \"utm_term\": \"string\",\n  \"utm_campaign\": \"string\"\n}"},{"id":"6a70ed0f-95ff-420f-95bd-21781525dd37","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"http://yUjSyaEASsic.jgzh1fQTyMPQxFpi4lyseIUrLKdpSlbq3oe2xLqE,QepWAoa87maJ884vttlwzhjZCS9P82\",\n  \"fb_pixel_id\": \"string\",\n  \"tiktok_pixel_id\": \"string\",\n  \"hide_referrer\": true,\n  \"expiry_datetime\": \"1992-06-06T08:38:48.267Z\",\n  \"expiry_destination\": \"string\",\n  \"domain_id\": 3289,\n  \"cloaking\": true,\n  \"linkify_words\": \"string\",\n  \"og_description\": \"string\",\n  \"skip_social_crawler_tracking\": true,\n  \"body_tags\": \"string\",\n  \"og_title\": \"string\",\n  \"note\": \"string\",\n  \"name\": \"string\",\n  \"id\": 9638,\n  \"gtm_id\": \"string\",\n  \"og_image\": \"string\",\n  \"block_bots\": false,\n  \"utm_content\": \"string\",\n  \"enabled\": false,\n  \"replacements\": \"string\",\n  \"qr_styles\": {},\n  \"webhooks\": [\n    \"string\",\n    \"string\"\n  ],\n  \"expiry_clicks\": 150,\n  \"public_analytics\": true,\n  \"utm_source\": \"string\",\n  \"slug\": \"string\",\n  \"domain\": \"string\",\n  \"forward_params\": false,\n  \"utm_medium\": \"string\",\n  \"head_tags\": \"string\",\n  \"ga4_tag_id\": \"string\",\n  \"utm_term\": \"string\",\n  \"utm_campaign\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"1ae6a5a8-a2dd-48a5-a328-f35a0980136c","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"http://yUjSyaEASsic.jgzh1fQTyMPQxFpi4lyseIUrLKdpSlbq3oe2xLqE,QepWAoa87maJ884vttlwzhjZCS9P82\",\n  \"fb_pixel_id\": \"string\",\n  \"tiktok_pixel_id\": \"string\",\n  \"hide_referrer\": true,\n  \"expiry_datetime\": \"1992-06-06T08:38:48.267Z\",\n  \"expiry_destination\": \"string\",\n  \"domain_id\": 3289,\n  \"cloaking\": true,\n  \"linkify_words\": \"string\",\n  \"og_description\": \"string\",\n  \"skip_social_crawler_tracking\": true,\n  \"body_tags\": \"string\",\n  \"og_title\": \"string\",\n  \"note\": \"string\",\n  \"name\": \"string\",\n  \"id\": 9638,\n  \"gtm_id\": \"string\",\n  \"og_image\": \"string\",\n  \"block_bots\": false,\n  \"utm_content\": \"string\",\n  \"enabled\": false,\n  \"replacements\": \"string\",\n  \"qr_styles\": {},\n  \"webhooks\": [\n    \"string\",\n    \"string\"\n  ],\n  \"expiry_clicks\": 150,\n  \"public_analytics\": true,\n  \"utm_source\": \"string\",\n  \"slug\": \"string\",\n  \"domain\": \"string\",\n  \"forward_params\": false,\n  \"utm_medium\": \"string\",\n  \"head_tags\": \"string\",\n  \"ga4_tag_id\": \"string\",\n  \"utm_term\": \"string\",\n  \"utm_campaign\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/links?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","links"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"2baee36d-fc57-4e95-9420-db40cb2de0c8"}],"id":"40be101e-6f8c-45a0-a188-da8e9226af01","_postman_id":"40be101e-6f8c-45a0-a188-da8e9226af01","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"list_links","item":[{"name":"List links","id":"2a3fc4d9-810d-40eb-a8bf-bb3d209f8ca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/list_links?search=test&page=1&page_size=1000&sort_by=string&sort_dir=string","description":"<p>Get a paginated list of all links in a workspace. Supports search, sorting, and pagination. Returns link details including click statistics.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","list_links"],"host":["https://app.linklyhq.com"],"query":[{"description":{"content":"<p>The search query</p>\n","type":"text/plain"},"key":"search","value":"test"},{"description":{"content":"<p>Page</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of links to return</p>\n","type":"text/plain"},"key":"page_size","value":"1000"},{"description":{"content":"<p>Sort by field</p>\n","type":"text/plain"},"key":"sort_by","value":"string"},{"description":{"content":"<p>Sort direction</p>\n","type":"text/plain"},"key":"sort_dir","value":"string"}],"variable":[{"description":{"content":"<p>The id of the Workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"}]}},"response":[{"id":"a3b3bcb7-93a5-419d-94a6-ba2313c2b6e1","name":"Link","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/list_links?search=test&page=1&page_size=1000&sort_by=string&sort_dir=string&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","list_links"],"query":[{"description":"The search query","key":"search","value":"test"},{"description":"Page","key":"page","value":"1"},{"description":"Number of links to return","key":"page_size","value":"1000"},{"description":"Sort by field","key":"sort_by","value":"string"},{"description":"Sort direction","key":"sort_dir","value":"string"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"links\": [\n    {\n      \"fb_pixel_id\": \"string\",\n      \"sparkline\": [\n        9190,\n        863\n      ],\n      \"clicks_thirty_days\": 1198,\n      \"tiktok_pixel_id\": \"string\",\n      \"hide_referrer\": false,\n      \"cloaking\": false,\n      \"linkify_words\": \"string\",\n      \"full_url\": \"https://CBtVF.pdqxhPUGKsv-X9i3YNAR,zrWnr209AMO,pqrRF7uhW5Rh5pw1laBlbDixhp+SawhFy,Jz0EM\",\n      \"clicks_today\": 2680,\n      \"og_description\": \"string\",\n      \"body_tags\": \"string\",\n      \"og_title\": \"string\",\n      \"note\": \"string\",\n      \"name\": \"string\",\n      \"id\": 925,\n      \"gtm_id\": \"string\",\n      \"og_image\": \"string\",\n      \"block_bots\": false,\n      \"clicks_total\": 5796,\n      \"utm_content\": \"string\",\n      \"enabled\": true,\n      \"url\": \"http://SxBkkSKxbuABCXETIvBrQbaxrOeh.fpgqe.O+VCGQtpBeH65Wbjpgl7pm9r7fZ\",\n      \"replacements\": \"string\",\n      \"deleted\": false,\n      \"workspace_id\": 8203,\n      \"public_analytics\": false,\n      \"utm_source\": \"string\",\n      \"slug\": \"string\",\n      \"domain\": \"string\",\n      \"forward_params\": false,\n      \"utm_medium\": \"string\",\n      \"head_tags\": \"string\",\n      \"ga4_tag_id\": \"string\",\n      \"utm_term\": \"string\",\n      \"utm_campaign\": \"string\"\n    },\n    {\n      \"fb_pixel_id\": \"string\",\n      \"sparkline\": [\n        4892,\n        5594\n      ],\n      \"clicks_thirty_days\": 9794,\n      \"tiktok_pixel_id\": \"string\",\n      \"hide_referrer\": false,\n      \"cloaking\": false,\n      \"linkify_words\": \"string\",\n      \"full_url\": \"http://uTKMOmqAPKxewpccLOKRRN.qqBvib5h475pzJusposh\",\n      \"clicks_today\": 4968,\n      \"og_description\": \"string\",\n      \"body_tags\": \"string\",\n      \"og_title\": \"string\",\n      \"note\": \"string\",\n      \"name\": \"string\",\n      \"id\": 8188,\n      \"gtm_id\": \"string\",\n      \"og_image\": \"string\",\n      \"block_bots\": true,\n      \"clicks_total\": 639,\n      \"utm_content\": \"string\",\n      \"enabled\": true,\n      \"url\": \"https://bvgbkYNcebyeHiLkeTGNfMjj.lxqzfh7TI9Y0bBpXreuTLctM0ZZkslfD6oEZ4LeuQY9NSrPOWlnAhnDT-Sx3OgW1XkZMZ\",\n      \"replacements\": \"string\",\n      \"deleted\": true,\n      \"workspace_id\": 9707,\n      \"public_analytics\": true,\n      \"utm_source\": \"string\",\n      \"slug\": \"string\",\n      \"domain\": \"string\",\n      \"forward_params\": true,\n      \"utm_medium\": \"string\",\n      \"head_tags\": \"string\",\n      \"ga4_tag_id\": \"string\",\n      \"utm_term\": \"string\",\n      \"utm_campaign\": \"string\"\n    }\n  ],\n  \"page_number\": 4215,\n  \"page_size\": 7230,\n  \"total_entries\": 9367,\n  \"total_pages\": 132,\n  \"total_rows\": 1654,\n  \"workspace_link_count\": 1493\n}"},{"id":"f8baf386-3865-4065-8bd1-61c4231b6bb8","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/list_links?search=test&page=1&page_size=1000&sort_by=string&sort_dir=string&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","list_links"],"query":[{"description":"The search query","key":"search","value":"test"},{"description":"Page","key":"page","value":"1"},{"description":"Number of links to return","key":"page_size","value":"1000"},{"description":"Sort by field","key":"sort_by","value":"string"},{"description":"Sort direction","key":"sort_dir","value":"string"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"},{"id":"d32f4a6a-7d72-4164-ae82-bfa46fffaada","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/list_links?search=test&page=1&page_size=1000&sort_by=string&sort_dir=string&api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","list_links"],"query":[{"description":"The search query","key":"search","value":"test"},{"description":"Page","key":"page","value":"1"},{"description":"Number of links to return","key":"page_size","value":"1000"},{"description":"Sort by field","key":"sort_by","value":"string"},{"description":"Sort direction","key":"sort_dir","value":"string"},{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The id of the Workspace"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Something went wrong\"\n}"}],"_postman_id":"2a3fc4d9-810d-40eb-a8bf-bb3d209f8ca9"}],"id":"8b46bafe-f795-4adb-8ca4-5a93492fcac1","_postman_id":"8b46bafe-f795-4adb-8ca4-5a93492fcac1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"webhooks","item":[{"name":"*hook_id","item":[{"name":"Unsubscribe webhook from a workspace","id":"771181d9-fe66-4ef0-b1f0-f7e31717b23b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks/*hook_id","description":"<p>Remove a webhook subscription from a workspace. The hook_id is the URL-encoded webhook URL.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","webhooks","*hook_id"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The ID of the workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"},{"description":{"content":"<p>The webhook URL (URL-encoded)</p>\n","type":"text/plain"},"type":"any","value":"https%3A%2F%2Fhooks.example.com%2Fabc123","key":"hook_id"}]}},"response":[{"id":"ffebb732-8b6b-4aaf-8ef3-675ed1117919","name":"Webhook unsubscribed","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks/*hook_id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","webhooks","*hook_id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The ID of the workspace"},{"key":"hook_id","value":"https%3A%2F%2Fhooks.example.com%2Fabc123","description":"The webhook URL (URL-encoded)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"53e98bc5-57ed-4a99-9593-c9c2d5fdad18","name":"Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks/*hook_id?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","webhooks","*hook_id"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The ID of the workspace"},{"key":"hook_id","value":"https%3A%2F%2Fhooks.example.com%2Fabc123","description":"The webhook URL (URL-encoded)"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"}],"_postman_id":"771181d9-fe66-4ef0-b1f0-f7e31717b23b"}],"id":"4c725239-75f9-421d-a64b-28d3b521e058","_postman_id":"4c725239-75f9-421d-a64b-28d3b521e058","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"List webhooks for a workspace","id":"3da950e5-e16f-4d41-8a93-c3953cadac40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks","description":"<p>Get all webhook subscriptions for a specific workspace.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","webhooks"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The ID of the workspace</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"}]}},"response":[{"id":"942db84c-96cd-4c08-9c5c-ad3fd0ec6f45","name":"Webhook list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The ID of the workspace"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"{{vault:zapier-webhook-url}}\"\n  },\n  {\n    \"id\": \"{{vault:zapier-webhook-url}}\"\n  }\n]"},{"id":"032ec769-aa61-4749-b46e-31687d4eacfe","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The ID of the workspace"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"}],"_postman_id":"3da950e5-e16f-4d41-8a93-c3953cadac40"},{"name":"Subscribe webhook to a workspace","id":"6828896f-60fc-45c2-ae0b-36c34eb9f2eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"{{vault:zapier-webhook-url}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks","description":"<p>Subscribe a webhook URL to receive notifications when any link in the workspace is clicked. The webhook will receive POST requests with click data including country, platform, browser, and more.</p>\n","urlObject":{"path":["api","v1","workspace",":workspace_id","webhooks"],"host":["https://app.linklyhq.com"],"query":[],"variable":[{"description":{"content":"<p>The ID of the workspace to subscribe to</p>\n","type":"text/plain"},"type":"any","value":"42","key":"workspace_id"}]}},"response":[{"id":"cfd24783-1f96-4b81-b978-f1822a6081a9","name":"Webhook subscribed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"{{vault:zapier-webhook-url}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The ID of the workspace to subscribe to"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"{{vault:zapier-webhook-url}}\"\n}"},{"id":"00e16e97-96d7-4997-8de2-5730ca811be0","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"{{vault:zapier-webhook-url}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The ID of the workspace to subscribe to"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Missing or invalid parameters\"\n}"},{"id":"a2ec72c8-419d-4ef3-a554-45e56e3d1b7d","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"{{vault:zapier-webhook-url}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://app.linklyhq.com/api/v1/workspace/:workspace_id/webhooks?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspace",":workspace_id","webhooks"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}],"variable":[{"key":"workspace_id","value":"42","description":"The ID of the workspace to subscribe to"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"}],"_postman_id":"6828896f-60fc-45c2-ae0b-36c34eb9f2eb"}],"id":"fa456978-10d2-4e44-9630-78679ec2035c","_postman_id":"fa456978-10d2-4e44-9630-78679ec2035c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}}],"id":"bcc00be3-f656-429e-a22b-dc2d15d5b710","_postman_id":"bcc00be3-f656-429e-a22b-dc2d15d5b710","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}}],"id":"3bcaae64-90a7-438a-89bf-0e4f82ac6f8d","_postman_id":"3bcaae64-90a7-438a-89bf-0e4f82ac6f8d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}},{"name":"workspaces","item":[{"name":"List user workspaces","id":"ba6e6a91-39be-4cae-bb86-e65061a9f8d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.linklyhq.com/api/v1/workspaces","description":"<p>Returns a list of all workspaces the authenticated user has access to. Use this to discover available workspace IDs for other API calls.</p>\n","urlObject":{"path":["api","v1","workspaces"],"host":["https://app.linklyhq.com"],"query":[],"variable":[]}},"response":[{"id":"d68715ac-2f78-4d03-82ec-24ea630c9cef","name":"Workspaces","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspaces?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspaces"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 123,\n    \"name\": \"My Workspace\"\n  },\n  {\n    \"id\": 456,\n    \"name\": \"Another Workspace\"\n  }\n]"},{"id":"1e2f1140-a24a-4c35-9aa1-73536f6a9131","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://app.linklyhq.com/api/v1/workspaces?api_key=<API Key>","host":["https://app.linklyhq.com"],"path":["api","v1","workspaces"],"query":[{"description":"Added as a part of security scheme: apikey","key":"api_key","value":"<API Key>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"NotAuthorized"}],"_postman_id":"ba6e6a91-39be-4cae-bb86-e65061a9f8d2"}],"id":"e099afc0-a47b-4d5d-8f1c-b9d9961bd777","_postman_id":"e099afc0-a47b-4d5d-8f1c-b9d9961bd777","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}}],"id":"635b81d8-bec7-477d-8095-4f0576ff5585","_postman_id":"635b81d8-bec7-477d-8095-4f0576ff5585","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}}],"id":"3c6ce578-a11c-48f0-a073-375fd3fceefb","_postman_id":"3c6ce578-a11c-48f0-a073-375fd3fceefb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","id":"f9bd3c58-c7b3-4456-ae44-546ebc3a6891","name":"Linkly Link Shortener API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"b3df2736-f5c2-4096-9268-fae3b0577ab2","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"b68dd0da-ea9b-4d93-9122-2ce490343256","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://app.linklyhq.com"}]}