API
Tolinks Public API
Fetch public pages and manage your links programmatically. Base URL: https://tolinks.in
Authentication
Authenticated endpoints use an API token (Agency plan). Create one in the dashboard → API page and send it as:
Authorization: Bearer <token>Endpoints
GET /api/public/v1/page/{handle}
Public page data — profile and active links. No authentication.
curl https://tolinks.in/api/public/v1/page/rishavGET /api/public/v1/links
Links of the authenticated page. Requires a Bearer token.
curl -H "Authorization: Bearer <token>" https://tolinks.in/api/public/v1/linksGET /api/health
Service health check.
Specification
Machine-readable OpenAPI description: openapi.json. Agents can also discover this API through the API catalog and an MCP server at /api/mcp.