New to Corsair? See API access, authentication, and error handling.
Analytics
audience
analytics.audience
Read a top-N click breakdown by country, city, referrer, browser, OS or device
Risk: read
Output
data full type
data full type
clicks
analytics.clicks
Read click counts over a time range at a chosen granularity, in a chosen timezone
Risk: read
Output
data full type
data full type
Domains
active
domains.active
Check whether a domain’s DNS verification has completed, which is the step to poll after adding the CNAME
Risk: read
Output
create
domains.create
Add a custom domain; the DNS CNAME still has to be created and verified before it serves links
Risk: write
Output
delete
domains.delete
Remove a custom domain from the workspace
Risk: destructive
Output
get
domains.get
Read one domain’s validity, archive state, slug length and redirect settings
Risk: read
Output
dnsSettings full type
dnsSettings full type
homeRedirect
domains.homeRedirect
Set where a domain’s root redirects to; U301 allows it on the Pro plan only and answers 403 on the free plan
Risk: write
Output
list
domains.list
List the workspace’s domains, including the shared u301.co and any of your own
Risk: read
object[]
Output full type
Output full type
notFoundRedirect
domains.notFoundRedirect
Set where an unknown slug on a domain redirects to; U301 allows it on the Pro plan only and answers 403 on the free plan
Risk: write
Output
pathLength
domains.pathLength
Set the random slug length a domain uses, 3 to 10
Risk: write
Output
Links
create
links.create
Shorten a URL on u301.co or one of your domains, with an optional custom slug, password and comment; a new link spends one monthly allowance slot
Risk: write
Output
delete
links.delete
Delete a short link; the destination is no longer reachable through it
Risk: destructive
Output
get
links.get
Read one short link by its short form, such as u301.co/abc123
Risk: read
Output
list
links.list
List the workspace’s short links with their click counts, archive and suspend state
Risk: read
Output
links full type
links full type
metadata full type
metadata full type