Developers
Everything you do in Nimbli also works from a script or an AI assistant, with the same rules and the same limits. They act as you and can't do more than you can.
Connect an AI assistant
Claude, ChatGPT or any client that speaks MCP.
Copy these instructions
Show the instructions
I want to connect you to Nimbli, a service for short links and QR codes, so you can manage my links for me.
Nimbli has a remote MCP server at https://nimbli.app/mcp. Sign-in is through my Nimbli account in the browser (OAuth), and you will not need an API key.
Please walk me through adding it in your app's current settings, step by step, since you know your own menus better than any web page does. If you cannot use remote MCP servers at all, tell me so plainly.
When it is connected, list my teams. Ask me before you delete anything. Do not try to make tokens, change teams or delete my account: Nimbli does not allow assistants to.
Paste them into your assistant
Start a new chat in Claude, ChatGPT, Gemini or any assistant that can use connectors (MCP), and paste them in.
Or add it yourself:https://nimbli.app/mcpFollow its steps, then ask
Shorten https:/
/ shop.example.com/ spring as spring-sale. Deleting a link always asks you first. Assistants never make tokens, change teams or delete your account.
Tools an assistant gets15
API tokens
A token lets a script act as you, in the team you pick.
API reference
For developers writing a script: every operation of v1, with its params, an example answer and a curl line.
API basics
- Base address
https://nimbli.app/api/v1openapi.json- Sign in
Authorization: Bearer <token>. Every call is a POST to its operation's address, with its params as JSON.- Safe retries
- Send
Idempotency-Keywhen creating; a retry with the same key returns the same link. - Limits
- Per person, across the teams they're main owner of: 25 links on the free plan and 250 on Pro; a team uses its main owner's plan.
- Per team: 3 people on the free plan and 10 on Pro.
- Shared with the dashboard, the same on both plans: 20 new links an hour and 100 a day per team (and 40 an hour and 200 a day for one person, in all their teams), and 10 a day in a free account's first 7 days, in all its teams together; 600 calls a minute.
- Every answer has
RateLimitandRateLimit-Policy. A call past a limit answers 429 and says in its message how long to wait, and inRetry-Aftertoo past 600 calls a minute.
- Paging
- Lists return up to 100 items a call, with a
nextcursor to send back asafter.
Operations
Open one for its address, curl line, params, example answer and errors. Its scope is the least a token needs to call it.
listTeams Read only The teams you're in, by name.
POSThttps:/
Pass a team's id as team to make or list its links.
curl -X POST \
https://nimbli.app/api/v1/listTeams \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{"limit": 50}'Example answer
{
"data": [
{
"id": "team_01JB8XQ2F4ZK7M3N9P5R2T6V8W",
"name": "name"
}
],
"next": "eyJrIjpbIjIwMzAtMDEtMTUiXX0"
}createLink Read and create Makes a short link in a team, with a random 7-character code, and optionally a short link name (3 to 50 of a-z 0-9 - _) and a note.
POSThttps:/
The destination must be an https address that isn't an IP address, a Nimbli link, another link shortener or blocked. A team makes at most as many links as its main owner's plan allows, counted across every team that person is main owner of, and at most 20 an hour and 100 a day, whichever plan it is on; in the first 7 days of a free account, its teams make up to 10 a day together. Send an Idempotency-Key header to retry safely.
curl -X POST \
https://nimbli.app/api/v1/createLink \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"team": "team_01JB8XQ2F4ZK7M3N9P5R2T6V8W",
"destination": "destination",
"name": "name",
"note": "note",
"domain": "domain"
}'Params
Example answer
{ "id": "link_01JB8XQ2F4ZK7M3N9P5R2T6V8W", "code": "code", "name": "name", "destination": "https://example.com/page", "note": "note", "state": "active", "createdAt": "2030-01-15T09:30:00.000Z", "changedAt": "2030-01-15T09:30:00.000Z", "address": "https://example.com/page", "domain": "domain" }
Errors to branch on13
createLinks Read and create Makes up to 50 links in a team at once.
POSThttps:/
Each gets its own result: the link, or the status and message createLink would have failed with. One failing doesn't stop the others.
curl -X POST \
https://nimbli.app/api/v1/createLinks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"team": "team_01JB8XQ2F4ZK7M3N9P5R2T6V8W",
"links": [
{
"destination": "destination",
"name": "name",
"note": "note"
}
],
"domain": "domain"
}'Params
Example answer
{ "results": [ { "link": { "id": "link_01JB8XQ2F4ZK7M3N9P5R2T6V8W", "code": "code", "name": "name", "destination": "https://example.com/page", "note": "note", "state": "active", "createdAt": "2030-01-15T09:30:00.000Z", "changedAt": "2030-01-15T09:30:00.000Z", "address": "https://example.com/page", "domain": "domain" }, "status": 3, "code": "code", "message": "message" } ] }
listLinks Read only A team's links, newest first, deleted ones left out.
POSThttps:/
state keeps only active, flagged or disabled links; q matches the code, short link name, destination or note.
curl -X POST \
https://nimbli.app/api/v1/listLinks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"team": "team_01JB8XQ2F4ZK7M3N9P5R2T6V8W",
"state": "active",
"q": "q",
"limit": 50
}'Params
Example answer
{ "data": [ { "id": "link_01JB8XQ2F4ZK7M3N9P5R2T6V8W", "code": "code", "name": "name", "destination": "https://example.com/page", "note": "note", "state": "active", "createdAt": "2030-01-15T09:30:00.000Z", "changedAt": "2030-01-15T09:30:00.000Z", "address": "https://example.com/page", "domain": "domain" } ], "next": "eyJrIjpbIjIwMzAtMDEtMTUiXX0" }
getLink Read only One link by its code.
POSThttps:/
A deleted link, or one outside your teams, is 404.
curl -X POST \
https://nimbli.app/api/v1/getLink \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{"code": "codexxx"}'Params
Example answer
{ "id": "link_01JB8XQ2F4ZK7M3N9P5R2T6V8W", "code": "code", "name": "name", "destination": "https://example.com/page", "note": "note", "state": "active", "createdAt": "2030-01-15T09:30:00.000Z", "changedAt": "2030-01-15T09:30:00.000Z", "address": "https://example.com/page", "domain": "domain" }
setDestination Full access Changes where a link goes.
POSThttps:/
Printed QR codes and shared links follow. A flagged or disabled link can't change.
curl -X POST \
https://nimbli.app/api/v1/setDestination \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"code": "codexxx",
"destination": "destination"
}'Params
Example answer
{ "id": "link_01JB8XQ2F4ZK7M3N9P5R2T6V8W", "code": "code", "name": "name", "destination": "https://example.com/page", "note": "note", "state": "active", "createdAt": "2030-01-15T09:30:00.000Z", "changedAt": "2030-01-15T09:30:00.000Z", "address": "https://example.com/page", "domain": "domain" }
Errors to branch on9
setNote Full access Sets a link's note to self, or clears it with null.
POSThttps:/
curl -X POST \
https://nimbli.app/api/v1/setNote \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"code": "codexxx",
"note": "note"
}'Params
Example answer
{ "id": "link_01JB8XQ2F4ZK7M3N9P5R2T6V8W", "code": "code", "name": "name", "destination": "https://example.com/page", "note": "note", "state": "active", "createdAt": "2030-01-15T09:30:00.000Z", "changedAt": "2030-01-15T09:30:00.000Z", "address": "https://example.com/page", "domain": "domain" }
Errors to branch on1
renameLink Full access Sets, changes or removes (null) a link's short link name.
POSThttps:/
The old name stops working at once and stays your team's; QR codes keep working, since they use the code.
curl -X POST \
https://nimbli.app/api/v1/renameLink \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"code": "codexxx",
"name": "name"
}'Params
Example answer
{ "id": "link_01JB8XQ2F4ZK7M3N9P5R2T6V8W", "code": "code", "name": "name", "destination": "https://example.com/page", "note": "note", "state": "active", "createdAt": "2030-01-15T09:30:00.000Z", "changedAt": "2030-01-15T09:30:00.000Z", "address": "https://example.com/page", "domain": "domain" }
Errors to branch on6
deleteLink Full access Deletes a link: it answers "link not found" at once, and its code and name are never used again.
POSThttps:/
curl -X POST \
https://nimbli.app/api/v1/deleteLink \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{"code": "codexxx"}'Params
Example answer
nullErrors to branch on1
linkClicks Read only A link's clicks per day for the last 30 days, oldest first, with the totals for 7 and 30 days.
POSThttps:/
curl -X POST \
https://nimbli.app/api/v1/linkClicks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{"code": "codexxx"}'Params
Example answer
{
"days": [
{
"date": "2030-01-15",
"clicks": 3
}
],
"last7": 3,
"last30": 3
}listDomains Read only A team's own short domains, such as go.yourcafe.com, oldest first, with each one's state.
POSThttps:/
Connecting and removing a domain is done on the site.
curl -X POST \
https://nimbli.app/api/v1/listDomains \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"team": "team_01JB8XQ2F4ZK7M3N9P5R2T6V8W"
}'Params
Example answer
{ "domains": [ { "id": "short_domain_01JB8XQ2F4ZK7M3N9P5R2T6V8W", "hostname": "hostname", "status": "waiting", "records": [ { "type": "type", "name": "name", "value": "value", "found": true } ], "isDefault": true, "home": "https://example.com/page", "links": 3, "addedAt": "2030-01-15T09:30:00.000Z", "until": "2030-01-15T09:30:00.000Z" } ] }
setLinkDomain Read and create Sets which address a link shows and puts in its new QR codes: one of its team's working domains, or ni.run (null).
POSThttps:/
The link opens at every one of them whatever it shows, so printed codes keep working.
curl -X POST \
https://nimbli.app/api/v1/setLinkDomain \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"code": "codexxx",
"domain": "domain"
}'Params
Example answer
{ "id": "link_01JB8XQ2F4ZK7M3N9P5R2T6V8W", "code": "code", "name": "name", "destination": "https://example.com/page", "note": "note", "state": "active", "createdAt": "2030-01-15T09:30:00.000Z", "changedAt": "2030-01-15T09:30:00.000Z", "address": "https://example.com/page", "domain": "domain" }
Errors to branch on1
Errors
Each is application/problem+json with the status, a code, a detail to show, and the field at fault.