Bearer token auth
Authenticate every request with an API key in the Authorization header.
Everything you need to authenticate requests, create short links, and read usage data from Urlivo.
Authenticate every request with an API key in the Authorization header.
API access, key count, and hourly limits depend on the plan attached to your workspace.
Send JSON payloads for write actions and expect JSON responses with consistent meta and error objects.
Authorization: Bearer YOUR_API_KEY
{
"data": {
"name": "Urlivo",
"version": "v1",
"docs_url": "https://urlivo.com/developers/api",
"user": {
"id": "u_123",
"email": "hello@example.com",
"name": "Jane Doe"
}
},
"meta": {}
}
The first API version focuses on link creation, management, workspace usage, and domains.
/api/v1/statuscurl -X GET \
https://urlivo.com/api/v1/status \
-H "Authorization: Bearer YOUR_API_KEY"
/api/v1/me/usagecurl -X GET \
https://urlivo.com/api/v1/me/usage \
-H "Authorization: Bearer YOUR_API_KEY"
/api/v1/linkscurl -X GET \
"https://urlivo.com/api/v1/links?status=active&sort=newest" \
-H "Authorization: Bearer YOUR_API_KEY"
/api/v1/linkscurl -X POST \
https://urlivo.com/api/v1/links \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target_url": "https://example.com/campaign",
"slug": "spring24",
"title": "Spring campaign",
"domain": "urlivo.com"
}'
/api/v1/links/{id}curl -X GET \
https://urlivo.com/api/v1/links/l_ab12cd34 \
-H "Authorization: Bearer YOUR_API_KEY"
/api/v1/links/{id}curl -X PATCH \
https://urlivo.com/api/v1/links/l_ab12cd34 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Spring campaign 2026",
"status": "disabled"
}'
/api/v1/links/{id}curl -X DELETE \
https://urlivo.com/api/v1/links/l_ab12cd34 \
-H "Authorization: Bearer YOUR_API_KEY"
/api/v1/domainscurl -X GET \
https://urlivo.com/api/v1/domains \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"id": "l_ab12cd34",
"short_url": "https://urlivo.com/spring24",
"domain": "urlivo.com",
"domain_type": "system",
"slug": "spring24",
"title": "Spring campaign",
"target_url": "https://example.com/campaign",
"status": "active",
"clicks": 42,
"expires_at": "",
"created_at": "2026-03-09 10:00:00",
"updated_at": "2026-03-09 10:00:00"
}
],
"meta": {
"page": 1,
"per_page": 20,
"total": 1,
"has_more": false
}
}
{
"error": {
"code": "invalid_url",
"message": "Please enter a valid URL starting with http:// or https://.",
"status": 422,
"meta": {}
}
}