Lipi StudioStart free trial

Docs

API reference

The REST API behind Lipi Studio. Every call here is also an MCP tool at https://studio.lipi.com.np/mcp. Requests go to https://studio.lipi.com.np/api.

Before you start

Base URL
https://studio.lipi.com.np/api
Authentication
Send Authorization: Bearer lsk_... with a workspace key, or Authorization: Bearer lst_... with a personal token. A workspace key is made by an owner or admin under Settings, API keys, and belongs to the workspace, not to a person. Keep it secret: the secret is shown once.
Scopes
studio:read is always included. studio:write lets a key create and edit items, up to Author. studio:publish and studio:approve go up to Editor. No key or token ever does Admin work.
Workspaces
A key reaches one workspace. A call for any other workspace answers 404.
IP allowlist
A key may be limited to addresses or CIDR ranges, such as 203.0.113.7 or 10.0.0.0/8. A call from anywhere else answers 403.
Rate limits
Each key or token gets 600 calls a minute, and 120 of them may write. Each IP address gets 1200 requests a minute. Over a limit the API answers 429 with Retry-After in seconds. Keys and tokens have separate budgets.
Errors
Errors are JSON with an error object holding a code and a message.

Polling for changes

Tools that cannot receive webhooks can poll GET /api/events. The first call returns the newest events, with next_since. Send that value back as since on the next call to get only what came after it. Events are oldest first. When nothing is new, next_since stays the same.

curl -H "Authorization: Bearer $KEY" \
  "https://studio.lipi.com.np/api/events?since=$NEXT_SINCE&limit=100"

For items in one workspace, GET /api/workspaces/{id}/items takes updated_since, after_id and limit. Send the last item's updated_at and id back to continue from there.