Links
Create short URL
Requires authentication — see Authentication.
Creates a short URL that redirects to the given longUrl. Returns the shortLink used to share it and the id used to look it up or edit it later.
post/v2/links
Request
- Base URLhttps://msgi.me
- URLhttps://msgi.me/v2/links
- AuthHTTP bearer
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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.