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. The documented page, block, style, analytics, form and audience endpoints use the same ownership and plan rules as the editor. Supported actions are listed below.
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)
Check that your assistant client supports custom MCP connectors and Bearer tokens. Hosted-client acceptance varies by client. Screenshots are optional, require a configured browser, and omit external embeds; they are not a capture of third-party players. OAuth connections are available only when enabled for this installation.
Setup for Claude Code, Cursor and web assistants.
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, grid, signup, video, file, folder, form, socials, image, faq, quote, timeline, countdown, marquee, goal, divider, announcement, card, resume, testimonials |
GET | /api/v1/pages/{id}/styles | The page design (theme, colours, fonts, buttons, background, header) |
PATCH | /api/v1/pages/{id}/styles | Change the design, e.g. {"preset":"harbor","radius":12} |
GET | /api/v1/pages/{id}/forms | Contact-form and sign-up blocks with their fields |
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 and click-through rate per link (each link inside a folder too), sources, devices. days=all or from/to dates |
GET | /api/v1/pages/{id}/analytics.csv?days=all | The same numbers as a spreadsheet (CSV) |
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.