API reference
All public endpoints are served through the gateway under /api/v1/links — this page is public; to send real requests, use the API tester in the console.
- Endpoints
- 45 endpoints
- Groups
- 5 groups
- Scopes
- 5 scopes
- Methods
- GET 20
- POST 8
- PATCH 9
- DELETE 8
Links
7 endpointsLifecycle of link and route graph resources.
Lists links with cursor pagination and filters.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Creates a link with the short form (url) or a full route graph.
cURLLinkcurl -X POST "https://api.beklio.com/api/v1/links" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Returns a link you own, together with its route graph.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Updates metadata, routing and the route graph.
cURLLinkcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Deletes the link and its attached graph resources.
cURLLinkcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Read-only platform/device catalog.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/platform-catalog" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Checks whether a slug is free; accepts an optional domainId and excludeLinkId for renaming.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/links/slug-availability" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Routes
17 endpointsTargeting conditions, targets and features.
Returns the route list of a link.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Adds a new route.
cURLLinkcurl -X POST "https://api.beklio.com/api/v1/links/{id}/routes" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Returns a single route of a link by routeId.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Updates a route.
cURLLinkcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Deletes a route.
cURLLinkcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Lists route conditions (COUNTRY, DEVICE_PROFILE, OS, USER_AGENT, LANGUAGE, REFERRER_DOMAIN).
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/conditions" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Adds a condition (listed with GET; PATCH/DELETE /:conditionId).
cURLLinkcurl -X POST "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/conditions" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Partially updates a route condition.
cURLLinkcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/conditions/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Permanently deletes a route condition.
cURLLinkcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/conditions/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Lists the target items of a route (tree or board items).
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/targets" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Binds a catalog target (listed with GET; PATCH/DELETE /:itemId).
cURLLinkcurl -X POST "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/targets" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Updates a route target (e.g. its required flag).
cURLLinkcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/targets/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Permanently detaches a target from the route.
cURLLinkcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/targets/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Lists route features: PASSWORD, EXPIRATION_DATE, LIMIT, UTM, REDIRECT_DELAY.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/features" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Adds a feature (listed with GET; PATCH/DELETE /:featureId).
cURLLinkcurl -X POST "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/features" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Updates the enabled flag or the config of a route feature.
cURLLinkcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/features/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Permanently removes a feature from the route.
cURLLinkcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/features/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Trees, boards and folders
15 endpointsLink collections. POST creates, PATCH/DELETE /:id updates and deletes.
Lists your tree resources.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/trees" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Creates a link-in-bio tree; username is required (3–64 letters, digits or hyphens).
cURLLinkcurl -X POST "https://api.beklio.com/api/v1/links/trees" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Returns a single link-in-bio tree by id.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/trees/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Partially updates a tree; send only the changed fields.
cURLLinkcurl -X PATCH "https://api.beklio.com/api/v1/links/trees/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Permanently deletes a tree.
cURLLinkcurl -X DELETE "https://api.beklio.com/api/v1/links/trees/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Lists your board resources.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/boards" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Creates a board; title and slug are required, layout is optional.
cURLLinkcurl -X POST "https://api.beklio.com/api/v1/links/boards" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Returns a single board by id.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/boards/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Partially updates a board; send only the changed fields.
cURLLinkcurl -X PATCH "https://api.beklio.com/api/v1/links/boards/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Permanently deletes a board.
cURLLinkcurl -X DELETE "https://api.beklio.com/api/v1/links/boards/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Lists your folders.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/folders" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Creates a folder to organize links; title is required.
cURLLinkcurl -X POST "https://api.beklio.com/api/v1/links/folders" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Returns a single folder by id.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/folders/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Partially updates a folder; send only the changed fields.
cURLLinkcurl -X PATCH "https://api.beklio.com/api/v1/links/folders/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Permanently deletes a folder.
cURLLinkcurl -X DELETE "https://api.beklio.com/api/v1/links/folders/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
QR and analytics
3 endpointsQR status and daily analytics.
Reads the QR status and payload.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/{id}/qr" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Updates the QR payload and generation state.
cURLLinkcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/qr" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Event and visitor totals for ?days=1–365.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/{id}/analytics" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Domains
3 endpointsAvailable and default domain metadata.
Lists the domains you can read, including short link domains.
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/domains" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Returns your default short link domain (null if none).
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/domains/default" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Lists the domains you can currently create links on (active and within plan limits).
cURLLinkcurl -X GET "https://api.beklio.com/api/v1/links/domains/eligible" \ -H "Authorization: Bearer $BEKLIO_API_KEY"