API and AI assistants
Starter and Pro pages can be edited by your own scripts, by Zapier-style tools, or by an AI assistant such as Claude or ChatGPT. Same rules as the editor: what you can do there, the API can do.
1. Get a key
In your editor open Settings → API keys and press Create key. The key is shown once; keep it like a password. You can have five keys and delete any of them at any time.
2. Connect an AI assistant (MCP)
Add a custom connector (MCP server) in your assistant with this address, and your key as a Bearer token:
https://linkinbiomaker.com/mcp
Then ask in plain words: “add a link to my new video at the top of my page”, “which link got the most taps this week?”, “hide the summer sale link”. The assistant sees tools for pages, blocks, analytics, sign-ups and messages.
3. Or call the REST API
Every request sends the key in the Authorization header. Bodies and answers are JSON.
curl https://linkinbiomaker.com/api/v1/pages -H "Authorization: Bearer lbm_your_key"
curl -X POST https://linkinbiomaker.com/api/v1/pages/123/blocks -H "Authorization: Bearer lbm_your_key" -H "Content-Type: application/json" -d '{"kind":"link","data":{"title":"New video","url":"https://youtube.com/watch?v=abc"},"top":true}'
| Method | Path | What it does |
|---|---|---|
GET | /api/v1/pages | Your pages |
GET | /api/v1/pages/{id} | One page with its blocks and grid posts |
PATCH | /api/v1/pages/{id} | Change title, bio or settings |
GET | /api/v1/pages/{id}/blocks | Blocks in order |
POST | /api/v1/pages/{id}/blocks | Add a block: link, header, text, video, signup, folder, file, form |
PATCH | /api/v1/pages/{id}/blocks/{blockId} | Change a block, hide it (enabled: false) or schedule it |
DELETE | /api/v1/pages/{id}/blocks/{blockId} | Delete a block |
POST | /api/v1/pages/{id}/blocks/reorder | Set the order: {"ids": [...]} |
POST | /api/v1/pages/{id}/posts | Add a photo-grid post (image id + link) |
GET | /api/v1/pages/{id}/analytics?days=30 | Views, visitors, taps per link, sources, devices |
GET | /api/v1/pages/{id}/subscribers | Email and SMS sign-ups |
GET | /api/v1/pages/{id}/messages | Contact-form messages |
Limits and errors
- 120 reads and 30 changes per minute per key. Over that you get
429; wait a minute. 401: missing or deleted key.402: the feature needs a paid plan.404: not your page or block.- Links are checked for phishing and malware like in the editor.
Claim your page and upgrade to Starter to get a key.