API Explorer


/v1/profile


Get profile details

  • GET  
    https://api.set.net/api/v1/profile

https://api.set.net/api/v1/profile?apikey=YOUR_API_KEY

{

  "id": "5f717a7218050000b30020f4st",

  "name": "Test University",

  "email": "test@test.com",

  "updated_at": "2020-09-28T05:53:54.765000Z",

  "created_at": "2020-09-28T05:53:54.765000Z",

}



/v1/links


Get a list of links

  • GET  
    https://api.set.net/api/v1/links

https://api.set.net/api/v1/links?apikey=YOUR_API_KEY&limit=25&skip=2

{

"id":"5fce439f416f000088004ac4",

"loadingpage":"https:\/\/www.test.com",

"shortUrl":"set.net\/i0oSp",

"ip":"127.0.0.1",

"domain":"set.net",

"tags":[{

"id":"5fc8b2e0da040000da000673",

"tag":"454"

}],

"frames":{

"id":"5fc8c278da040000da000675",

"name":"658",

"frame_content":"test",

"frame_icon":"\"...\"",

"frame_image":"\"...\"",

"frame_background_color":"#000000",

"icon_position":"right: 0px;",

"icon_size_computer":"15%",

"icon_size_mobile":"15%",

"transparent":"0.5"

},

"password":"sujit123",

"utm":{

"id":"5fce432b416f000088004ac2",

"name":"21213213",

"utm_source":"test",

"utm_medium":"test",

"utm_campaign":"test",

"utm_term":"test",

"utm_content":"test"

},

"ogtitle":"test","ogdescription":"test",

"ogimage":"https:\/\/test.com\/article-5f68ae27c9a2e.jpg",

"analytics_code":{

                 "id":"5fce4371416f000088004ac3",

                 "name":"test",

                 "google_analytics":"UA-45679877-1",

                 "gmt":"GTM-4546565",

                 "facebook_pixel":"erewrew4654654ewrewr"

         },

"updated_at":"2020-12-07T15:02:07.012000Z",

"created_at":"2020-12-07T15:00:47.803000Z",

"clicks":0

}



/v1/links/new


Create a new link

  • GET  
    https://api.set.net/api/v1/links/new

https://api.set.net/api/v1/links/new?apikey=YOUR_API_KEY&destination=http://google.com&domain=set.net &tag=TAG_ID&frame=FRAME_ID&password=test123&ogtitle=test &ogdescription=test&ogimage=https://test.com/article-5f68ae27c9a2e.jpg&utm=UTM_ID&analytics_code=DATA_ANALYTICS_CODE_ID

{"success":"Shorten url is successfully saved."}



/v1/links/:id


Get details about a specific link (don't know the ID? Fetch it using GET /v1/links)

  • GET  
    https://api.set.net/api/v1/links/:id

https://api.set.net/api/v1/links/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

{

"id":"5fce439f416f000088004ac4",

"loadingpage":"https:\/\/www.test.com",

"shortUrl":"set.net\/i0oSp",

"ip":"127.0.0.1",

"domain":"set.net",

"tags":[{

"id":"5fc8b2e0da040000da000673",

"tag":"454"

}],

"frames":{

"id":"5fc8c278da040000da000675",

"name":"658",

"frame_content":"test",

"frame_icon":"\"...\"",

"frame_image":"\"...\"",

"frame_background_color":"#000000",

"icon_position":"right: 0px;",

"icon_size_computer":"15%",

"icon_size_mobile":"15%",

"transparent":"0.5"

},

"password":"sujit123",

"utm":{

"id":"5fce432b416f000088004ac2",

"name":"21213213",

"utm_source":"test",

"utm_medium":"test",

"utm_campaign":"test",

"utm_term":"test",

"utm_content":"test"

},

"ogtitle":"test","ogdescription":"test",

"ogimage":"https:\/\/test.com\/article-5f68ae27c9a2e.jpg",

"analytics_code":{

                 "id":"5fce4371416f000088004ac3",

                 "name":"test",

                 "google_analytics":"UA-45679877-1",

                 "gmt":"GTM-4546565",

                 "facebook_pixel":"erewrew4654654ewrewr"

         },

"updated_at":"2020-12-07T15:02:07.012000Z",

"created_at":"2020-12-07T15:00:47.803000Z",

"clicks":0

}



/v1/links/update/:id


Update a specific link (don't know the ID? Fetch it using GET /v1/links). Mind that in a Link entity you cannot change the domain and/or the slashtag after creation time. You will need to create another Link.

  • GET  
    https://api.set.net/api/v1/links/update/:id

https://api.set.net/api/v1/links/update/5fce439f416f000088004ac4?apikey=YOUR_API_KEY&destination=http://google.com&domain=set.net &tag=TAG_ID&frame=FRAME_ID&password=test123&ogtitle=test &ogdescription=test&ogimage=https://test.com/article-5f68ae27c9a2e.jpg&utm=UTM_ID&analytics_code=DATA_ANALYTICS_CODE_ID

{"success":"Shorten url updated successfully."}



/v1/links/delete/:id


Delete a specific link (don't know the ID? Fetch it using GET /v1/links)

  • DELETE  
    https://api.set.net/api/v1/links/delete/:id

https://api.set.net/api/v1/links/delete/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

{"success":"Shorten url deleted successfully."}



/v1/tags


Get a list of tags

  • GET  
    https://api.set.net/api/v1/tags

https://api.set.net/api/v1/tags?apikey=YOUR_API_KEY&limit=25&skip=2

[{

"id":"5fcf4d6307440000ee0014d2",

"tag":"test",

"updated_at":"2020-12-08T09:54:43.243000Z",

"created_at":"2020-12-08T09:54:43.243000Z"

}]



/v1/tags/new


Create a new tag

  • GET  
    https://api.set.net/api/v1/tags/new

https://api.set.net/api/v1/tags/new?apikey=YOUR_API_KEY&tag=test

{"success":"Tag is successfully saved."}



/v1/tags/:id


Get details about a specific tag (don't know the ID? Fetch it using GET /v1/tags)

  • GET  
    https://api.set.net/api/v1/tags/:id

https://api.set.net/api/v1/tags/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

[{

"id":"5fcf4d6307440000ee0014d2",

"tag":"test",

"updated_at":"2020-12-08T09:54:43.243000Z",

"created_at":"2020-12-08T09:54:43.243000Z"

}]



/v1/tags/update/:id


Update a specific tag (don't know the ID? Fetch it using GET /v1/tags).

  • GET  
    https://api.set.net/api/v1/tags/update/:id

https://api.set.net/api/v1/tags/update/5fce439f416f000088004ac4?apikey=YOUR_API_KEY&tag=test

{"success":"Tag updated successfully."}



/v1/tags/delete/:id


Delete a specific tag (don't know the ID? Fetch it using GET /v1/tags)

  • DELETE  
    https://api.set.net/api/v1/tags/delete/:id

https://api.set.net/api/v1/tags/delete/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

{"success":"Tag deleted successfully."}



/v1/frames


Get a list of frames

  • GET  
    https://api.set.net/api/v1/frames

https://api.set.net/api/v1/frames?apikey=YOUR_API_KEY&limit=25&skip=2

{

"id":"5fc8c278da040000da000675",

"name":"test",

"frame_content":"<p>test<\/p>",

"frame_icon":"<img src=\"https:\/\/app.set.net\/uploads\/5f717a7218050000b30020f4\/istockphoto-1138395421-612x612.jpg\" alt=\"...\" width=\"100%\">",

"frame_image":"<img src=\"https:\/\/app.set.net\/uploads\/5f717a7218050000b30020f4\/istockphoto-1138395421-612x612.jpg\" alt=\"...\" width=\"100%\">",

"frame_background_color":"#000000",

"icon_position":"right: 0px;",

"icon_size_computer":"15%",

"icon_size_mobile":"15%",

"transparent":"0.5",

"updated_at":"2020-12-07T14:58:25.603000Z",

"created_at":"2020-12-03T10:48:24.640000Z"

}



/v1/frames/new


Create a new frame

  • GET  
    https://api.set.net/api/v1/frames/new

https://api.set.net/api/v1/frames/new?apikey=YOUR_API_KEY&name=test&frame_content=test&frame_icon=<img src="https://app.set.net/uploads/5f717a7218050000b30020f4/istockphoto-1138395421-612x612.jpg" width="100%" >&frame_image=<img src="https://app.set.net/uploads/5f717a7218050000b30020f4/istockphoto-1138395421-612x612.jpg" width="100%" >&frame_background_color=#000000&icon_position=right: 0px;&icon_size_computer=15%&icon_size_mobile=15%&transparent=0.5

{"success":"Frame is successfully saved."}



/v1/frames/:id


Get details about a specific frame (don't know the ID? Fetch it using GET /v1/frames)

  • GET  
    https://api.set.net/api/v1/frames/:id

https://api.set.net/api/v1/frames/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

{

"id":"5fc8c278da040000da000675",

"name":"test",

"frame_content":"<p>test<\/p>",

"frame_icon":"<img src=\"https:\/\/app.set.net\/uploads\/5f717a7218050000b30020f4\/istockphoto-1138395421-612x612.jpg\" alt=\"...\" width=\"100%\">",

"frame_image":"<img src=\"https:\/\/app.set.net\/uploads\/5f717a7218050000b30020f4\/istockphoto-1138395421-612x612.jpg\" alt=\"...\" width=\"100%\">",

"frame_background_color":"#000000",

"icon_position":"right: 0px;",

"icon_size_computer":"15%",

"icon_size_mobile":"15%",

"transparent":"0.5",

"updated_at":"2020-12-07T14:58:25.603000Z",

"created_at":"2020-12-03T10:48:24.640000Z"

}



/v1/frames/update/:id


Update a specific frame (don't know the ID? Fetch it using GET /v1/frames).

  • GET  
    https://api.set.net/api/v1/frames/update/:id

https://api.set.net/api/v1/frames/update/5fce439f416f000088004ac4?apikey=YOUR_API_KEY&name=test&frame_content=test&frame_icon=<img src="https://app.set.net/uploads/5f717a7218050000b30020f4/istockphoto-1138395421-612x612.jpg" width="100%" >&frame_image=<img src="https://app.set.net/uploads/5f717a7218050000b30020f4/istockphoto-1138395421-612x612.jpg" width="100%" >&frame_background_color=#000000&icon_position=right: 0px;&icon_size_computer=15%&icon_size_mobile=15%&transparent=0.5

{"success":"Frame updated successfully."}



/v1/frames/delete/:id


Delete a specific frame (don't know the ID? Fetch it using GET /v1/frames)

  • DELETE  
    https://api.set.net/api/v1/frames/delete/:id

https://api.set.net/api/v1/frames/delete/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

{"success":"Frame deleted successfully."}



/v1/utm


Get a list of utm

  • GET  
    https://api.set.net/api/v1/utm

https://api.set.net/api/v1/utm?apikey=YOUR_API_KEY&limit=25&skip=2

[{

"id":"5fce432b416f000088004ac2",

"name":"test",

"utm_source":"test",

"utm_medium":"test",

"utm_campaign":"test",

"utm_term":"test",

"utm_content":"test",

"updated_at":"2020-12-07T14:58:51.055000Z",

"created_at":"2020-12-07T14:58:51.055000Z"

}]



/v1/utm/new


Create a new utm

  • GET  
    https://api.set.net/api/v1/utm/new

https://api.set.net/api/v1/utm/new?apikey=YOUR_API_KEY&name=test&utm_source=test&utm_medium=test& utm_campaign=test&utm_term=test&utm_content=test

{"success":"Utm is successfully saved."}



/v1/utm/:id


Get details about a specific utm (don't know the ID? Fetch it using GET /v1/utm)

  • GET  
    https://api.set.net/api/v1/utm/:id

https://api.set.net/api/v1/utm/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

{

"id":"5fce432b416f000088004ac2",

"name":"test",

"utm_source":"test",

"utm_medium":"test",

"utm_campaign":"test",

"utm_term":"test",

"utm_content":"test",

"updated_at":"2020-12-07T14:58:51.055000Z",

"created_at":"2020-12-07T14:58:51.055000Z"

}



/v1/utm/update/:id


Update a specific utm (don't know the ID? Fetch it using GET /v1/utm).

  • GET  
    https://api.set.net/api/v1/utm/update/:id

https://api.set.net/api/v1/utm/update/5fce439f416f000088004ac4?apikey=YOUR_API_KEY&name=test&utm_source=test&utm_medium=test &utm_campaign=test&utm_term=test&utm_content=test

{"success":"Utm updated successfully."}



/v1/utm/delete/:id


Delete a specific utm (don't know the ID? Fetch it using GET /v1/utm)

  • DELETE  
    https://api.set.net/api/v1/utm/delete/:id

https://api.set.net/api/v1/utm/delete/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

{"success":"Utm deleted successfully."}



/v1/analyticscode


Get a list of Data Analytics code

  • GET  
    https://api.set.net/api/v1/analyticscode

https://api.set.net/api/v1/analyticscode?apikey=YOUR_API_KEY&limit=25&skip=2

[{

"id":"5fce4371416f000088004ac3",

"name":"test",

"google_analytics":"UA-45679877-1",

"gmt":"GTM-4546565",

"facebook_pixel":"erewrew4654654ewrewr",

"updated_at":"2020-12-07T15:00:13.871000Z",

"created_at":"2020-12-07T15:00:01.348000Z"

}]



/v1/analyticscode/new


Create a new Data Analytics code

  • GET  
    https://api.set.net/api/v1/analyticscode/new

https://api.set.net/api/v1/analyticscode/new?apikey=YOUR_API_KEY&name=test&google_analytics=test&gmt=test &facebook_pixel=test

{"success":"Data Analytics code is successfully saved."}



/v1/analyticscode/:id


Get details about a specific Data Analytics code (don't know the ID? Fetch it using GET /v1/analyticscode)

  • GET  
    https://api.set.net/api/v1/analyticscode/:id

https://api.set.net/api/v1/analyticscode/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

{

"id":"5fce4371416f000088004ac3",

"name":"test",

"google_analytics":"UA-45679877-1",

"gmt":"GTM-4546565",

"facebook_pixel":"erewrew4654654ewrewr",

"updated_at":"2020-12-07T15:00:13.871000Z",

"created_at":"2020-12-07T15:00:01.348000Z"

}



/v1/analyticscode/update/:id


Update a specific Data Analytics code (don't know the ID? Fetch it using GET /v1/analyticscode).

  • GET  
    https://api.set.net/api/v1/analyticscode/update/:id

https://api.set.net/api/v1/analyticscode/update/5fce439f416f000088004ac4?apikey=YOUR_API_KEY&name=test&google_analytics=test&gmt=test &facebook_pixel=test

{"success":"Data Analytics code updated successfully."}



/v1/analyticscode/delete/:id


Delete a specific Data Analytics code (don't know the ID? Fetch it using GET /v1/analyticscode)

  • DELETE  
    https://api.set.net/api/v1/analyticscode/delete/:id

https://api.set.net/api/v1/analyticscode/delete/5fce439f416f000088004ac4?apikey=YOUR_API_KEY

{"success":"Data Analytics code deleted successfully."}