SliceIt URL Shortener : API Documentation

Search for a command to run...

A URL Shortener with API Support.
Visit at scit.me
Developed by Tenzopy Digital
1. Log into your Profile of Sliceit.
2. Use the API Token Button in the navbar to retrieve your token (Keep your API Token Secret).
3. Add the API Token in the Header of every request.
| Key | Value |
| Authorization | Token <your token> |
https://scit.me/api/slice/
backhalf - The Back-Half part of the URL after the /
eg : scit.me/tenz
url - URL that is needed to be shortened.
| Key | Value |
| url | https://tenzopy.com |
| backhalf | tenz |
{
"url" : "https://tenzopy.com",
"backhalf" : "tenz"
}
{
"stat": "true",
"result": {
"code": "tenz",
"short_url": "scit.me/tenz",
"full_short_url": "https://scit.me/tenz",
"target_url": "https://tenzopy.com"
}
}
{
"stat": "false",
"result": "backhalf already used."
}
{
"stat": "false",
"result": "invalid url"
}
https://scit.me/api/remove/
code - The code returned during slicing AKA Back-Half.
eg : scit.me/tenz -> code is tenz
| Key | Value |
| code | tenz |
{
"code" : "tenz"
}
{
"stat": "true",
"result": "link deleted"
}
{
"stat": "false",
"result": "not found"
}
{
"stat": "false",
"result": "forbidden"
}
https://scit.me/api/info
code - The code returned during slicing AKA Back-Half.
eg : scit.me/tenz -> code is tenz
{
"stat": "true",
"result": {
"code": "tenz",
"short_url": "scit.me/tenz",
"full_short_url": "https://scit.me/tenz",
"target_url": "https://tenzopy.com",
"is_active": true,
"clicks": 2
}
}
Invalid Code [ 404 NOT FOUND ]
{
"stat": "false",
"result": "not found"
}
Trying to access Unauthorized Link/Code [ 403 FORBIDDEN ]
{
"stat": "false",
"result": "forbidden"
}
Incomplete Keys [ 400 BAD REQUEST ]
https://scit.me/api/active/
code - The code returned during slicing AKA Back-Half.
eg : scit.me/tenz -> code is tenz
status - True/False , The link should be enabled or disabled.
{
"code" : "tenz",
"status" : true
}
{
"stat": "true",
"result": "link enabled"
}
Invalid Code [ 404 NOT FOUND ]
{
"stat": "false",
"result": "not found"
}
Trying to access Unauthorized Link/Code [ 403 FORBIDDEN ]
{
"stat": "false",
"result": "forbidden"
}
Incomplete/Invalid Keys [ 400 BAD REQUEST ]