API reference
One REST API for the whole workspace.
Every request is scoped to a workspace and authenticated with a bearer API key against https://api.public-url.com.
POST
/v1/linksCreate a short link on a verified domain.
GET
/v1/links/:idFetch a link's destination, tags, and analytics URL.
PATCH
/v1/links/:idUpdate a link's destination, routing rules, or expiration.
DELETE
/v1/links/:idDeactivate a short link.
POST
/v1/domainsAdd a custom domain and begin DNS verification.
GET
/v1/campaigns/:id/reportRetrieve clicks, conversions, and revenue for a campaign.
POST
/v1/conversionsPublish a conversion event tied to a click ID.
GET
/v1/analytics/eventsStream recent click and conversion events for a workspace.
Build the link layer
your campaigns need.
Create branded links, route every visitor to the right destination, and keep attribution connected from click to conversion.