Crear una URL Corta
Changed onEste endpoint permite acortar una URL larga, generando un código único que podrá ser utilizado para redireccionar a la URL original.
post/api/urlshortener/v5/token
Request
- Base URLhttps://www.hablame.co
- AuthAPI key in header X-Hablame-Key
Request body
Response
200
Example response
{
"payload": {
"domain": "hcol.co",
"token": "59enp6Tu",
"url": "https://hcol.co/59enp6Tu"
},
"responseTime": 2.13,
"statusCode": 200,
"statusMessage": "The short url has been created successfully. (https://hcol.co/59enp6Tu)",
"timestamp": "2025-02-23T12:06:33-05:00"
}Changes
- info
endpoint added
- info