Skip to content
RedirHub/API
Sign inGet API key
API reference

Every endpoint

30 operations across 22 paths, grouped the way the API groups them. Every page is generated from the live OpenAPI document.

List and create every kind of link in one place: short links, QR codes, redirects and website migrations.

GET/linksList linksPOST/linksCreate a linkGET/links/{id}Get a linkPUT/links/{id}Update a linkDELETE/links/{id}Delete a linkGET/links/{id}/historyGet a link’s change historyGET/links/{id}/qrGet a link's QR codeGET/links/countCount linksGET/links/facetsList link facetsGET/links/filter-pinsGet pinned filtersPUT/links/filter-pinsUpdate pinned filters

Bulk Operations

Import, export, update, and delete redirects and short links in bulk.

PUT/bulkUpdate records in bulkDELETE/bulkDelete records in bulkPOST/bulk/summarySummary records

Hostnames

Connect hostnames, manage their configuration, and select a routing cluster.

GET/hostList connected hostnamesPOST/hostCreate a hostnameGET/host/{host}Get a hostnamePUT/host/{host}Update a hostnameDELETE/host/{host}Delete a hostnamePOST/host/{host}/refreshRe-check a hostname

Workspace

Workspace details and subscriptions.

GET/workspace/{id}Get a workspaceGET/workspace/currentGet the current workspacePOST/workspace/integration-keyThe workspace's integration key, created when it has none. Integrations send it as `Authorization: Bearer <key>` when they report visits to the host's `integration.hits_url`; the same key serves every integration of the workspace. With `rotate` it is replaced: the old key stops at once and every rules file moves to a new address, so each integration needs the new key and its new rules URL. No other response carries the key. Managers and owners onlyGET/workspace/subscriptionList product subscriptionsGET/workspace/subscription/{product}Get one subscriptionPOST/workspace/update/{metaKey}Update one workspace setting

Account & Reference

Account settings plus shared reference and recommendation endpoints.

GET/accountGet the current accountGET/shared/pluginsList available pluginsGET/shared/typesList record typesGET/testVerify your API token