meshalive
API Reference

Meshalive REST API

Full CRUD API for short links, analytics, and workspace management. Completely free — no paid plan required, no rate limits by tier.

Base URL: https://api.meshalive.com/v1

Authentication

All authenticated endpoints require a Bearer token in the Authorization header. Two token types are supported:

JWT (dashboard sessions)
Authorization: Bearer eyJhbGci...
15-minute expiry. Refresh via POST /v1/auth/refresh.
API token (programmatic)
Authorization: Bearer mshl_••••••••
Long-lived. Create from Settings → API Tokens.

Quick start

Create a short link
curl -X POST https://api.meshalive.com/v1/links \
  -H "Authorization: Bearer mshl_your_api_token" \
  -H "Content-Type: application/json" \
  -H "X-Workspace-ID: your-workspace-uuid" \
  -d '{"destination": "https://example.com/product", "slug": "product"}'

# Response
{
  "id": "018e4c1a-...",
  "short_url": "https://meshalive.com/product",
  "slug": "product",
  "destination": "https://example.com/product",
  "clicks": 0,
  "created_at": "2026-05-20T10:00:00Z"
}

Endpoints

MethodPathDescription
POST/v1/auth/registerCreate a new user account and default workspace
POST/v1/auth/loginAuthenticate and receive a JWT access token
POST/v1/auth/refreshRotate refresh token and receive a new JWT
POST/v1/auth/logoutInvalidate the current session
GET/v1/linksList all short links in the workspace
POST/v1/linksCreate a new short link
PATCH/v1/links/:idUpdate a short link (slug, destination, tags, expiry)
DELETE/v1/links/:idArchive a short link
GET/v1/links/:id/analyticsGet click analytics for a specific link
GET/v1/workspaceGet current workspace details
GET/v1/workspace/membersList workspace members and roles

Rate limits

All users
Unlimited requests
Auth endpoints
10 req / min (anti-abuse)
Redirect
No limit
Ready to integrate?
Get your API token free — no paid plan required.
Get started →