v1
latestOpenAPI 3.0.12026-07-2471135326.0 KBlinks
Create Short URL
.
post/v2/links
Request body
Example request
{
"longUrl": "www.MyWebsite.com",
"externalId": "123456789abcde",
"domain": "domain.me",
"callbacks": [
"http://www.mycallback.com?id=123"
]
}Response
Successfully created
Example response
{
"meta": {
"timestamp": 1597166699457,
"transactionId": "70169d77-c165-4795-9932-35b8a3af96fb",
"explain": "a descriptive text"
},
"data": {
"id": "id",
"longUrl": "wwww.mylongUrl.com",
"externalId": "18",
"callbacks": [
"callbacks"
],
"shortLink": "shortLink.me/wrh6Hn",
"date": "2020-07-20T21:11:12.352Z"
}
}