add-member
ChatGPTInvite one or more members to the current workspace by email. Requires manager role. An invitation email will be sent to each address.
bulk-delete-links
ChatGPTDelete links (redirects, short links, QR codes) of the current workspace by their source URLs, e.g. ["example.com/path"]. Runs as a dry run by default: it returns the matched count, a sample and a confirmation_token. Show the count to the user and, once they confirm, call again with the same source_urls, dry_run=false and the confirmation_token. Deleting is irreversible. Requires editor role.
bulk-import
ChatGPTImport many links at once from JSON rows[], up to about 5,000 per call; this is how a website migration is created (handler "migration", one row per old URL). Each row needs "url" and may set "handler": "redirect" (default), "migration" or "short-url". mode=create (default) skips source URLs that already exist; mode=upsert replaces them. Runs as a dry run by default: it validates the rows and imports nothing. Call again with dry_run=false to import; mode=upsert also needs the confirmation_token of the dry run with the same rows. The rows count against the plan's link limit. Requires editor role.
bulk-update-links
ChatGPTApply the same changes to many links of the current workspace. Select the links with the filter arguments (ids, handler, host, search, filter_tags, filter_status, ...), or pass all_links=true to change every link. tags and status are values to write, not filters: select by tag with filter_tags and by state with filter_status. Runs as a dry run by default: it returns the affected count, a sample and a confirmation_token. Show the count to the user and, once they confirm, call again with the same arguments, dry_run=false and the confirmation_token. Requires editor role.
check-host-dns
ChatGPTLook up a custom domain's DNS live, right now, and compare it with the records the domain needs. Returns, for each setup path (CNAME, IP+TXT, NS delegation), the required records and whether each one is live (null when the nameservers could not be looked up); the live records (A/CNAME, TXT, and the nameservers of the root domain); and the records the last scheduled check saw. Use it to find out why a domain does not work yet. Nothing is saved: the domain status changes only on the next DNS check.
connect-host
ChatGPTConnect a domain to your workspace. Supports root (example.com), subdomain (sub.example.com), and wildcard (*.example.com) domains. Optionally enable or disable short links for the domain. When the domain is already connected to the workspace, its settings are updated: https_requested (default true) and short_links_enabled when given. Requires editor role, or manager role when short_links_enabled is set.
count-links
ChatGPTCount the links of the current workspace that match the filter arguments: all of them, the paused ones, the ones whose domain does not point to us (dns_issue), and the ones without a click in the last four weeks (no_clicks).
create-branded-link
ChatGPTCreate a branded short link on one of the workspace's short-link domains, e.g. "go.example.com/spring" sending visitors to a destination URL. The alias is generated when omitted. For a printed QR code use create-qr-code instead. list-hosts with short_links_enabled=true lists the domains that can be used. Returns the created link. Requires editor role.
create-qr-code
ChatGPTCreate a dynamic QR code: a short link on one of the workspace's short-link domains, e.g. "go.example.com/menu", whose destination can change after printing. Returns the created link and the QR code image in the default style, as the dashboard draws it; the style can be changed in the dashboard. list-hosts with short_links_enabled=true lists the domains that can be used. Requires editor role.
create-redirect
ChatGPTCreate a domain redirect: send a source URL (a domain, subdomain or path, e.g. "old.example.com" or "example.com/pricing") to a destination URL. To move a whole website, many URLs at once, use bulk-import with handler "migration" instead. Returns the created link. Requires editor role. API reference for the same create (POST /links): https://www.redirhub.com/docs/reference/links-store
delete-link
ChatGPTDelete a link (redirect, site migration, short link or QR code) by its id, with its change history. This is irreversible. Requires editor role.
get-access-logs
ChatGPTGet raw HTTP request logs. Returns individual visit records (timestamp, IP, user agent, country, browser, referrer, etc.) from the raw access log — not aggregated statistics. Optional file filter (link path). Without it, returns requests across all links in the workspace. Optional date_from+date_to (YYYY-MM-DD, defaults to last 7 days); logs cover at most the last 14 days, except on Enterprise. Other optional filters: country, handler, browser, device, referrer, search (IP or UA). Set bot_free to true to exclude automated traffic (crawlers, scanners, bots). Pagination via cursor (ISO timestamp of the last result).
get-account
ChatGPTGet the profile of the signed-in user: name, email, language, timezone, country and current workspace.
get-host
ChatGPTGet one custom domain of the current workspace by hostname, with its DNS status, the DNS records it needs, HTTPS status (state, last error, and the certificates we hold for it with expiry and whether www is covered) and short-link setting.
get-link
ChatGPTGet one link (redirect, site migration, short link or QR code) of the current workspace by its id, with its destinations, redirect type, plugins, UTM parameters, QR style and tags.
get-link-history
ChatGPTGet the changes made to a link after it was created, newest first: each entry holds only the changed fields (destination, utm, type, status) before and after, who made the change and how (dashboard, API, MCP). Reading the history needs the audit log feature (Pro plans and up); without it data is empty while total still counts the changes.
get-link-options
ChatGPTGet the values links accept, with a label and description for each: redirect types (301, 302, frame, txt, ...), destination routing strategies for links with several destinations, and plugins. as_paid_feature names the plan feature a value needs, if any.
get-qr-code
ChatGPTGet the QR code of a link as a PNG image, drawn exactly as the dashboard draws it: the link's saved QR style, the workspace logo when the style asks for it, and the readable link under the code. The code encodes the link with ?utm_source=qr, so scans are counted apart from clicks. For print files, GET /v1/links/{id}/qr serves the same code as SVG or as a PNG up to 2048 px wide.
get-stats
ChatGPTGet analytics (click) data for the current workspace. Two modes, chosen automatically: - Link-level: set file (single link path like "/promo") or files (compare up to 10). Returns per-link clicks for the period, a daily trend, and optional breakdowns (country, city, browser, device, referrer, proto). - Org-level: omit file/files. Returns total clicks, unique visitors, active/total link counts, and optional breakdowns (file ranking, handler split). Time range: pass either time_range (7d, 30d, 90d, 180d, this_month, last_month; default 30d) OR a custom date_from+date_to (YYYY-MM-DD). Optional handler filter (redirect or short-url) and limit (per-breakdown, default 10, max 50). Clicks and the trend reach back as far as the plan's analytics history (90 days; 6 months on plans with more analytics history). Breakdowns cover at most the last 14 days, except on Enterprise (see breakdown_period). Earlier dates are cut off.
get-workspace
ChatGPTGet the current workspace (organization): its name, level and settings, the counts of its links, and visits_this_month: the clicks of the current calendar month (UTC), in total and per link kind. The monthly count is there even when the workspace has no click analytics.
list-hosts
ChatGPTList the custom domains (hosts) connected to the current workspace, newest first, with their DNS, HTTPS (state and stored certificates) and short-link status. Follow next_cursor for more pages.
list-links
ChatGPTList the links (redirects, site migrations, short links and QR codes) of the current workspace, newest first. Narrow the list with the filter arguments and follow next_cursor for more pages. Each link carries its id, which get-link, update-link and delete-link take.
list-members
ChatGPTList the members of the current workspace with their role (viewer, editor or manager). Each member carries its id, which update-member and remove-member take.
refresh-host
ChatGPTRe-check the DNS of one of the workspace's custom domains now and save the result, as the scheduled check does: the domain is switched on when its DNS points to us and off when it no longer does, and HTTPS certificates are requested when needed. Returns whether the DNS is correct, whether HTTPS is requested and when the domain was checked.
remove-member
ChatGPTRemove a member from the current workspace. Requires manager role. The removed user loses access immediately.
trace-redirect-chain
ChatGPTTrace any URL's redirects, live: each hop with its status code (301, 302, ...), the final URL and status, how fast the first response came (median time to first byte), who served it, how it ranks against every redirect tested in the last 7 days, and the issues worth fixing (temporary redirect where a permanent one belongs, a chain of several hops, a hop over plain HTTP, a broken destination, an invalid certificate). Use it to check a redirect, expand a short link, trace a chain or measure redirect speed; give compare_with to measure a second URL side by side. Every answer has a report_url: a public page with the chart and the chain, to share with the user; anyone with the link can open it, so do not trace URLs whose path or query holds private data. Works for any public URL on every plan. A hop that is a link of the current workspace comes with its link_id: offer to fix it with update-link (e.g. type 301, or the final destination to cut a chain). For a URL not in the workspace, offer create-redirect.
update-account
ChatGPTUpdate a profile setting for the currently authenticated user. Supported keys: name, language, currency, timezone, current_workspace, login_workspace, country, phone, im.
update-host
ChatGPTUpdate settings for a custom domain: toggle HTTPS, and enable or disable short links. Requires editor role, or manager role when short_links_enabled is set.
update-link
ChatGPTUpdate a link (redirect, site migration, short link or QR code) by its id, with the same checks as the dashboard. Only the fields given change; its source URL and kind never do. Requires editor role.
update-member
ChatGPTUpdate a workspace member's role. Requires manager role. Valid roles: viewer, editor, manager.
update-workspace
ChatGPTUpdate workspace settings. Supported keys: name, country, email, billing_extra, email_summary, email_host_status, email_manager. Requires manager role.
add-member
Claudebulk-delete-links
Claudebulk-import
Claudebulk-update-links
Claudecheck-host-dns
Claudeconnect-host
Claudecount-links
Claudecreate-branded-link
Claudecreate-qr-code
Claudecreate-redirect
Claudedelete-link
Claudeget-access-logs
Claudeget-account
Claudeget-host
Claudeget-link
Claudeget-link-history
Claudeget-link-options
Claudeget-qr-code
Claudeget-stats
Claudeget-workspace
Claudelist-hosts
Claudelist-links
Claudelist-members
Clauderefresh-host
Clauderemove-member
Claudetrace-redirect-chain
Claudeupdate-account
Claudeupdate-host
Claudeupdate-link
Claudeupdate-member
Claudeupdate-workspace
Claude