Documentation
Example create short url request
curl --request POST \
--url https://tinyer.io/api/short-url/ \
--header 'Authorization: Token YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{"url": "https://example.com"}'
Example response
{
"url": "https://google.com",
"hex_id": "j1Pl1x",
"tiny_url": "https://tinyer.io/j1Pl1x",
"hit_count": 0,
"created_at": "2023-01-17T20:52:55.161093Z",
"updated_at": "2023-01-17T20:52:55.161106Z"
}
For other API requests, please refer to the API documentation.