1.Generate API
REQUEST
{
"url" : "https://shortin.in/api/generate_link",
"header" : {
"shortin" : "[YOUR_KEY]"
},
"method" : "post",
"body" : {
"from_url" : "http://account.social.com/shortin",
"reference_key" : "10023455"
}
}
RESPONSE
status : true
status : false
{
"status" : true,
"message" : "link generated successful",
"data" : {
"shortkey" : "f0fadf1",
"reference_key" : "10023455",
"title" : "my social account url",
"from_link" : "http://account.social.com/shortin",
"to_link" : "http://shortin.in/p/b5d72528",
"added_on" : "2024-12-21 19:36:34"
}
}
2.Link Status API
REQUEST
{
"url" : "https://shortin.in/api/link_status",
"header" : {
"shortin" : "[YOUR_KEY]"
},
"method" : "post",
"body" : {
"reference_key" : "10023455"
}
}
RESPONSE
status : true
status : false
{
"status" : true,
"message" : "link status returned successful",
"data" : {
"shortkey" : "f0fadf1",
"reference_key" : "10023455",
"title" : "my social account url",
"from_link" : "http://account.social.com/shortin",
"to_link" : "http://shortin.in/p/b5d72528",
"added_on" : "2024-12-21 19:36:34"
}
}