{"variable":[{"id":"baseUrl","key":"baseUrl","type":"string","name":"string","value":"links.lim.bz"}],"info":{"name":"Shortlink Service Docs","_postman_id":"72616ce6-1f2c-4b4d-a559-a645c1e75077","description":"Shortlink service allows you to create redirections based on conditions.","schema":"https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"},"item":[{"name":"Application","description":"","item":[{"name":"Get application info.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/app","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/app"},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Get current authenticated application info."},"response":[]},{"name":"Update application settings.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/app\/settings","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/app\/settings"},"method":"PUT","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"listener_uri\": \"https:\\\/\\\/yourdomain.com\\\/listener.php\",\n    \"email\": \"signals@yourdomain.com\"\n}"},"description":"You can update your webhook listener url or email. Signals to your system will be sent via one of three ways: <code>POST<\/code>, <code>GET<\/code> or <code>EMAIL<\/code>.\nEvery event like shortlink has been entered or end user has been redirected may send signal to your system or application."},"response":[]}]},{"name":"Conditions","description":"","item":[{"name":"Add condition to Signal.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/signals\/:signal\/conditions","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/signals\/:signal\/conditions","variable":[{"id":"shortlink","key":"shortlink","value":"7","description":"Shortlink Id."},{"id":"signal","key":"signal","value":"7","description":"Signal Id."}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can create new condition for Signal. Remember signal will be send if end user satisfies all conditions."},"response":[]},{"name":"Add condition to Interstitial.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/interstitials\/:interstitial\/conditions","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/interstitials\/:interstitial\/conditions","variable":[{"id":"shortlink","key":"shortlink","value":"20","description":"Shortlink Id."},{"id":"interstitial","key":"interstitial","value":"3","description":"Interstitial Id."}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can create new condition for Interstitial. Remember end user needs to satisfy all conditions to show interstitial."},"response":[]},{"name":"Add condition to Destination.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/destinations\/:destination\/conditions","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/destinations\/:destination\/conditions","variable":[{"id":"shortlink","key":"shortlink","value":"20","description":"Shortlink Id."},{"id":"destination","key":"destination","value":"19","description":"Destination Id."}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can create new condition for Destination. Remember that end user will be redirected to destination if end user satisfies all conditions."},"response":[]},{"name":"Remove condition from Signal.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/signals\/:signal\/conditions\/:condition","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/signals\/:signal\/conditions\/:condition","variable":[{"id":"shortlink","key":"shortlink","value":"2","description":"Shortlink Id."},{"id":"signal","key":"signal","value":"5","description":"Signal Id."},{"id":"condition","key":"condition","value":"5","description":"Condition Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can remove existing condition from Signal. Remember end user needs to satisfy all conditions to send signal."},"response":[]},{"name":"Remove condition from Interstitial.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/interstitials\/:interstitial\/conditions\/:condition","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/interstitials\/:interstitial\/conditions\/:condition","variable":[{"id":"shortlink","key":"shortlink","value":"18","description":"Shortlink Id."},{"id":"interstitial","key":"interstitial","value":"12","description":"Interstitial Id."},{"id":"condition","key":"condition","value":"20","description":"Condition Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can remove existing condition from Interstitial. Remember end user needs to satisfy all conditions to show interstitial."},"response":[]},{"name":"Remove condition from Destination.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/destinations\/:destination\/conditions\/:condition","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/destinations\/:destination\/conditions\/:condition","variable":[{"id":"shortlink","key":"shortlink","value":"8","description":"Shortlink Id."},{"id":"destination","key":"destination","value":"20","description":"Destination Id."},{"id":"condition","key":"condition","value":"8","description":"Condition Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can remove existing condition from Signal. Remember end user needs to satisfy all conditions to be redirected to destination."},"response":[]}]},{"name":"Destinations","description":"","item":[{"name":"Get shortlink all destinations.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/destinations","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/destinations","variable":[{"id":"shortlink","key":"shortlink","value":"7","description":"Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Get list of all destinations for certain shortlink"},"response":[]},{"name":"Create Destination for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/destinations","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/destinations","variable":[{"id":"shortlink","key":"shortlink","value":"5","description":"Id of shortlink. Created Destination will be assigned to this shortlink"}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"__asterisk__\": {\n        \"uri\": \"http:\\\/\\\/stroman.com\\\/hic-consequuntur-vel-sed-et-adipisci-mollitia.html\",\n        \"conditions\": [\n            {\n                \"type\": \"TIME\"\n            }\n        ],\n        \"is_default\": \"1\"\n    },\n    \"is_default\": true,\n    \"conditions\": [\n        {\n            \"first_date\": \"porro\",\n            \"second_date\": \"rem\",\n            \"first_time\": \"dignissimos\",\n            \"second_time\": \"quo\",\n            \"continent_code\": \"et\",\n            \"continent\": \"enim\",\n            \"country_code\": \"pariatur\",\n            \"country\": \"dolores\",\n            \"region_code\": \"voluptas\",\n            \"region\": \"est\",\n            \"latitude\": \"et\",\n            \"longitude\": \"reiciendis\",\n            \"range\": 18,\n            \"temperature\": 16,\n            \"weather\": \"numquam\"\n        },\n        {\n            \"second_time\": \"quo\",\n            \"region_code\": \"voluptas\",\n            \"region\": \"est\",\n            \"longitude\": \"reiciendis\",\n            \"range\": 18,\n            \"temperature\": 16\n        }\n    ]\n}"},"description":"You can create new Destination for existing shortlink."},"response":[]},{"name":"Update Destination for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/destinations\/:destination","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/destinations\/:destination","variable":[{"id":"shortlink","key":"shortlink","value":"10","description":"Shortlink Id."},{"id":"destination","key":"destination","value":"10","description":"Destination which will be updated."}]},"method":"PUT","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"uri\": \"http:\\\/\\\/www.satterfield.com\\\/sunt-doloremque-soluta-earum-nostrum-aut-saepe\",\n    \"is_default\": true\n}"},"description":"You can update existing destination."},"response":[]},{"name":"Delete Destination for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/destinations\/:destination","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/destinations\/:destination","variable":[{"id":"shortlink","key":"shortlink","value":"7","description":"Shortlink Id."},{"id":"destination","key":"destination","value":"17","description":"Destination Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can delete existing Destination. This action can not be undone!"},"response":[]}]},{"name":"Domains","description":"","item":[{"name":"Create domain.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/domains","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/domains"},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"cupiditate\",\n    \"is_default\": false\n}"},"description":"Create domain. You need to be owner of provided domain.\nPlease redirect domain records for"},"response":[]},{"name":"Get all domains","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/domains","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/domains"},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Returns all domains assigned to application."},"response":[]},{"name":"Get single domain","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/domains\/:domain","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/domains\/:domain","variable":[{"id":"domain","key":"domain","value":"1","description":"Domain id assigned to your application."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Returns single domain info."},"response":[]},{"name":"Create subdomain for domain.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/domains\/:domain\/subdomains","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/domains\/:domain\/subdomains","variable":[{"id":"domain","key":"domain","value":"1","description":"Existing domain ID assigned to your application. Created Subdomain will be assigned to this domain."}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"subdomain\": \"officiis\",\n    \"$subdomain\": \"links\",\n    \"$is_default\": false\n}"},"description":"Creates subdomain for your domain.\n\"Empty\" subdomain for each domain is created automatically which is default."},"response":[]}]},{"name":"Facebook Pixel Tracks","description":"","item":[{"name":"Get shortlink all Pixel Track actions.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/pixeltracks","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/pixeltracks","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Get list of all Pixel Track actions for certain shortlink"},"response":[]},{"name":"Create Facebook Pixel track action for existing shortlink","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/pixeltracks","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/pixeltracks","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Id of shortlink. Created Facebook Pixel action will be assigned to this shortlink"}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"viewContent\",\n    \"attributes\": [\n        {\n            \"key\": \"quae\",\n            \"value\": \"et\"\n        }\n    ]\n}"},"description":"You can create new Facebook Pixel action for existing shortlink."},"response":[]},{"name":"Delete Pixel Track action for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/pixeltracks\/:pixeltrack","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/pixeltracks\/:pixeltrack","variable":[{"id":"shortlink","key":"shortlink","value":"18","description":"Shortlink Id."},{"id":"pixeltrack","key":"pixeltrack","value":"12","description":"PixelTrack Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can delete existing Pixel Track action. This action can not be undone!"},"response":[]}]},{"name":"Heads","description":"","item":[{"name":"Get shortlink all tags.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/heads","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/heads","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Get list of all heads tags for certain shortlink"},"response":[]},{"name":"Create Head section.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/heads","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/heads","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Id of shortlink. Created head will be assigned to this shortlink"}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"head\": \"<code><link rel=\\\"apple-touch-icon\\\" sizes=\\\"[w]x[h]\\\" href=\\\"https:\\\/\\\/example.com\\\/image.jpeg\\\" \\\/><\\\/code>\"\n}"},"description":"You can create any tag which will be placed between <code><head>...<\/head><\/code>."},"response":[]},{"name":"Update Head for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/heads\/:head","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/heads\/:head","variable":[{"id":"shortlink","key":"shortlink","value":"15","description":"Shortlink Id."},{"id":"head","key":"head","value":"1","description":"Head which will be updated."}]},"method":"PUT","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"head\": \"dolorem\"\n}"},"description":"You can update existing Head."},"response":[]},{"name":"Delete head for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/heads\/:head","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/heads\/:head","variable":[{"id":"shortlink","key":"shortlink","value":"18","description":"Shortlink Id."},{"id":"head","key":"head","value":"17","description":"Head Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can delete existing head. This action can not be undone!"},"response":[]}]},{"name":"Interstitials","description":"","item":[{"name":"Get shortlink all interstitials.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/interstitials","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/interstitials","variable":[{"id":"shortlink","key":"shortlink","value":"12","description":"Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Get list of all interstitials for certain shortlink"},"response":[]},{"name":"Create Interstitial for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/interstitials","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/interstitials","variable":[{"id":"shortlink","key":"shortlink","value":"4","description":"Id of shortlink. Created Interstitial will be assigned to this shortlink"}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"IFRAME\",\n    \"url\": \"et\",\n    \"html\": \"rerum\",\n    \"title\": \"quia\",\n    \"body\": \"fugit\",\n    \"is_default\": false,\n    \"conditions\": [\n        {\n            \"type\": \"CONTINENT\",\n            \"operator\": \"BETWEEN\",\n            \"first_date\": \"sunt\",\n            \"second_date\": \"nihil\",\n            \"first_time\": \"ut\",\n            \"second_time\": \"in\",\n            \"continent_code\": \"beatae\",\n            \"continent\": \"est\",\n            \"country_code\": \"et\",\n            \"country\": \"nihil\",\n            \"region_code\": \"qui\",\n            \"region\": \"voluptatem\",\n            \"latitude\": \"voluptatum\",\n            \"longitude\": \"culpa\",\n            \"range\": 7,\n            \"temperature\": 19,\n            \"weather\": \"autem\"\n        },\n        {\n            \"type\": \"CONTINENT\",\n            \"operator\": \"BETWEEN\",\n            \"first_time\": \"ut\",\n            \"continent_code\": \"beatae\",\n            \"continent\": \"est\",\n            \"country\": \"nihil\",\n            \"latitude\": \"voluptatum\",\n            \"longitude\": \"culpa\",\n            \"weather\": \"autem\"\n        }\n    ]\n}"},"description":"You can create new Interstitial for existing shortlink."},"response":[]},{"name":"Update Interstitial for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/interstitials\/:interstitial","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/interstitials\/:interstitial","variable":[{"id":"shortlink","key":"shortlink","value":"3","description":"Shortlink Id."},{"id":"interstitial","key":"interstitial","value":"3","description":"Interstitial which will be updated."}]},"method":"PUT","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"IFRAME\",\n    \"url\": \"http:\\\/\\\/www.hilpert.com\\\/impedit-voluptatum-quasi-hic-nihil\",\n    \"html\": {},\n    \"title\": {},\n    \"body\": {}\n}"},"description":"You can update existing interstitial."},"response":[]},{"name":"Delete Interstitial for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/interstitials\/:interstitial","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/interstitials\/:interstitial","variable":[{"id":"shortlink","key":"shortlink","value":"7","description":"Shortlink Id."},{"id":"interstitial","key":"interstitial","value":"17","description":"Interstitial Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can delete existing Interstitial. This action can not be undone!"},"response":[]}]},{"name":"Linkedin Pixel","description":"","item":[{"name":"Get shortlink all Linkedin Pixel Partner Ids","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/linkedinpixels","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/linkedinpixels","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Get list of all Linkedin Pixel Partner Ids for certain shortlink"},"response":[]},{"name":"Create Linkedin Pixel for existing shortlink","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/linkedinpixels","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/linkedinpixels","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Id of shortlink. Created Linkedin Pixel will be assigned to this shortlink"}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"linkedin_partner_id\": \"viewContent\"\n}"},"description":"You can create new Linkedin Pixel for existing shortlink."},"response":[]},{"name":"Delete Linkedin Pixel from shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/linkedinpixels\/:linkedinpixel","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/linkedinpixels\/:linkedinpixel","variable":[{"id":"shortlink","key":"shortlink","value":"6","description":"Shortlink Id."},{"id":"linkedinpixel","key":"linkedinpixel","value":"18","description":"Linkedin Pixel Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can delete existing Linkedin Pixel. This action can not be undone!"},"response":[]}]},{"name":"OgTags","description":"","item":[{"name":"Get shortlink all tags.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/ogtags","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/ogtags","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Get list of all og tags for certain shortlink"},"response":[]},{"name":"Create OgTag for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/ogtags","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/ogtags","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Id of shortlink. Created OgTags will be assigned to this shortlink"}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"property\": \"og:title\",\n    \"content\": \"Title for my shortlink\"\n}"},"description":"You can create new OgTag for existing shortlink."},"response":[]},{"name":"Update OgTag for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/ogtags\/:ogtag","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/ogtags\/:ogtag","variable":[{"id":"shortlink","key":"shortlink","value":"2","description":"Shortlink Id."},{"id":"ogtag","key":"ogtag","value":"2","description":"OgTag which will be updated."}]},"method":"PUT","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"property\": \"amet\",\n    \"content\": \"incidunt\"\n}"},"description":"You can update existing OgTag."},"response":[]},{"name":"Delete OgTag for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/ogtags\/:ogtag","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/ogtags\/:ogtag","variable":[{"id":"shortlink","key":"shortlink","value":"18","description":"Shortlink Id."},{"id":"ogtag","key":"ogtag","value":"8","description":"OgTag Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can delete existing OgTag. This action can not be undone!"},"response":[]}]},{"name":"Scripts","description":"","item":[{"name":"Get shortlink all scripts.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/scripts","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/scripts","variable":[{"id":"shortlink","key":"shortlink","value":"18","description":"Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Get list of all scripts for certain shortlink"},"response":[]},{"name":"Create Script for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/scripts","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/scripts","variable":[{"id":"shortlink","key":"shortlink","value":"17","description":"Id of shortlink. Created Script will be assigned to this shortlink"}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"script\": \"tenetur\",\n    \"noscript\": \"et\"\n}"},"description":"You can create new Scripts for existing shortlink."},"response":[]},{"name":"Update Script for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/scripts\/:script","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/scripts\/:script","variable":[{"id":"shortlink","key":"shortlink","value":"13","description":"Shortlink Id."},{"id":"script","key":"script","value":"quas","description":""},{"id":"ogtag","key":"ogtag","value":"13","description":"OgTag which will be updated."}]},"method":"PUT","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"script\": \"qui\",\n    \"noscript\": {}\n}"},"description":"You can update existing Script."},"response":[]},{"name":"Delete Script for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/scripts\/:script","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/scripts\/:script","variable":[{"id":"shortlink","key":"shortlink","value":"14","description":"Shortlink Id."},{"id":"script","key":"script","value":"10","description":"Script Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can delete existing Script. This action can not be undone!"},"response":[]}]},{"name":"Shortlinks","description":"","item":[{"name":"Get all shortlinks","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks","query":[{"key":"filter%5Balias%5D","value":"omnis","description":"Filter results by alias. Available filters: alias subdomain domain external_id subdomain_id","disabled":false}],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks?filter%5Balias%5D=omnis"},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Returns all shortlinks assigned to application."},"response":[]},{"name":"Get single shortlink","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Existing Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Returns single shortlinks assigned to application with all conditions."},"response":[]},{"name":"Get shortlinks via external_id","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/external\/:external_id","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/external\/:external_id","variable":[{"id":"external_id","key":"external_id","value":"7","description":"External_id"}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Returns all shortlinks with given external_id."},"response":[]},{"name":"Create shortlink","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks"},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"alias\": \"test\",\n    \"default_destination_uri\": \"https:\\\/\\\/www.winlocalnow.com\",\n    \"subdomain_id\": 1,\n    \"domain\": \"yourdomian.com\",\n    \"hide_nav_bar\": \"1\",\n    \"subdomain\": \"links\",\n    \"external_id\": 111,\n    \"external_metadata\": {\n        \"systemId\": \"Qh7f43hXfufLWdsaPQsab43u\",\n        \"timestamp\": 1607186812\n    },\n    \"og_tags\": [\n        {\n            \"property\": \"og:title\",\n            \"content\": \"My title seen on Facebook\"\n        },\n        {\n            \"property\": \"og:title\",\n            \"content\": \"My title seen on Facebook\"\n        }\n    ],\n    \"pixel_tracks\": [\n        {\n            \"action\": \"quisquam\",\n            \"attributes\": [\n                {\n                    \"key\": \"placeat\",\n                    \"value\": {}\n                },\n                [\n                    [],\n                    []\n                ]\n            ]\n        },\n        {\n            \"action\": \"quisquam\"\n        }\n    ],\n    \"linkedin_pixels\": \"et\",\n    \"scripts\": [\n        {\n            \"script\": \"et\",\n            \"noscript\": \"molestiae\"\n        },\n        {\n            \"script\": \"et\",\n            \"noscript\": \"molestiae\"\n        }\n    ],\n    \"interstitials\": [\n        {\n            \"type\": \"HTML\",\n            \"url\": \"http:\\\/\\\/koepp.net\\\/omnis-aut-doloribus-et-impedit\",\n            \"html\": {},\n            \"title\": {},\n            \"body\": {},\n            \"is_default\": \"true\",\n            \"conditions\": [\n                {\n                    \"type\": \"WEATHER\"\n                }\n            ]\n        }\n    ],\n    \"destinations\": [\n        {\n            \"uri\": \"sequi\",\n            \"conditions\": [\n                \"officia\",\n                [\n                    [],\n                    []\n                ]\n            ],\n            \"is_default\": true\n        },\n        {\n            \"uri\": \"sequi\",\n            \"conditions\": [\n                \"officia\"\n            ],\n            \"is_default\": true\n        }\n    ],\n    \"signals\": [\n        {\n            \"method\": \"POST\",\n            \"events\": [\n                \"destination.redirected\",\n                \"shortlink.entered\"\n            ],\n            \"conditions\": [\n                {\n                    \"type\": \"CONTINENT\"\n                }\n            ],\n            \"is_default\": \"true\"\n        }\n    ],\n    \"heads\": [\n        {\n            \"head\": \"harum\"\n        },\n        {\n            \"head\": \"harum\"\n        }\n    ]\n}"},"description":"Comfortable endpoint to create shortlink with with all its components like Interstitials, OgTag, etc..\n<aside class=\"notice\">Validations for conditions are not described here, because they are dynamically created\nbased on destination type.<\/aside>"},"response":[]},{"name":"Check alias","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/check","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/check"},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"alias\": \"test\",\n    \"domain\": \"linkto.us\",\n    \"domain_id\": 1,\n    \"subdomain\": \"eum\"\n}"},"description":"You can check alias availability in scope of domain or subdomain.\nResponse with status code 200 means that alias is available.\nResponse with status code 422 means that alias has been already taken."},"response":[]},{"name":"Delete shortlink","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink","variable":[{"id":"shortlink","key":"shortlink","value":"5","description":"Shortlink Id."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can delete existing shortlink. This action can not be undone!\nShortlink statistics will not be accessible from API."},"response":[]}]},{"name":"Signals","description":"","item":[{"name":"Get shortlink all signals.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/signals","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/signals","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Get list of all signals for certain shortlink"},"response":[]},{"name":"Create Signal for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/signals","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/signals","variable":[{"id":"shortlink","key":"shortlink","value":"2","description":"Id of shortlink. Created Signal will be assigned to this shortlink"}]},"method":"POST","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"method\": \"POST\",\n    \"events\": [\n        \"shortlink.entered\",\n        \"shortlink.entered\"\n    ],\n    \"is_default\": false,\n    \"conditions\": [\n        {\n            \"type\": \"CITY\",\n            \"operator\": \"EQUAL\",\n            \"first_date\": \"rerum\",\n            \"second_date\": \"occaecati\",\n            \"first_time\": \"molestias\",\n            \"second_time\": \"illum\",\n            \"continent_code\": \"aut\",\n            \"continent\": \"tenetur\",\n            \"country_code\": \"quo\",\n            \"country\": \"delectus\",\n            \"region_code\": \"recusandae\",\n            \"region\": \"quibusdam\",\n            \"latitude\": \"est\",\n            \"longitude\": \"corrupti\",\n            \"range\": 5,\n            \"temperature\": 19,\n            \"weather\": \"non\"\n        },\n        {\n            \"type\": \"CITY\",\n            \"operator\": \"EQUAL\",\n            \"first_date\": \"rerum\",\n            \"continent\": \"tenetur\",\n            \"country_code\": \"quo\"\n        }\n    ]\n}"},"description":"You can create new Signal for existing shortlink."},"response":[]},{"name":"Update Signal for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/signals\/:signal","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/signals\/:signal","variable":[{"id":"shortlink","key":"shortlink","value":"14","description":"Shortlink Id."},{"id":"signal","key":"signal","value":"6","description":"Signal which will be updated."}]},"method":"PUT","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"method\": \"GET\",\n    \"events\": [\n        \"destination.redirected\",\n        \"destination.redirected\"\n    ]\n}"},"description":"You can update existing signal."},"response":[]},{"name":"Delete Signal for shortlink.","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/signals\/:signal","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/signals\/:signal","variable":[{"id":"shortlink","key":"shortlink","value":"12","description":"Shortlink Id."},{"id":"signal","key":"signal","value":"13","description":"Signal Id which will be deleted."}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"You can delete existing Signal. This action can not be undone!"},"response":[]}]},{"name":"Stats","description":"","item":[{"name":"Application statistics","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/app\/stats","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/app\/stats"},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":null,"description":"Show all available statistics for application."},"response":[]},{"name":"Shortlink statistics","request":{"url":{"protocol":"http","host":"{{baseUrl}}","path":"api\/shortlinks\/:shortlink\/stats","query":[],"raw":"http:\/\/{{baseUrl}}\/api\/shortlinks\/:shortlink\/stats","variable":[{"id":"shortlink","key":"shortlink","value":"1","description":"Existing Shortlink Id."}]},"method":"GET","header":[{"key":"Content-Type","value":"application\/json"},{"key":"Accept","value":"application\/json"}],"body":{"mode":"raw","raw":"{\n    \"breakdown\": \"DAILY\",\n    \"startDate\": \"2021-08-03T11:48:53+0000\",\n    \"endDate\": \"2021-08-03T11:48:53+0000\"\n}"},"description":"Show all available statistics for shortlink."},"response":[]}]}],"auth":{"type":"bearer"}}