Zingalinks API v1

The Zingalinks endpoints — mint short links, render QR codes, read click/scan analytics and register branded hosts. Authenticate with a zk_ key carrying data:read / data:write:*. Needs an active Zingalinks plan (its own, or a paid ZingaConnect plan, which bundles it); custom domains need Starter or above.

Short links

Mint and manage short links. The slug is immutable; the destination is not.

GET/linksList links

source defaults to app (your own links); pass crm for links ZingaConnect minted for campaigns, or all.

NameInTypeReqDescription
sourcequerystringapp|crm|all
statusquerystringactive|archived|disabled
qquerystringSlug or title substring
limitqueryintegerPage size (1-200, default 50)
offsetqueryintegerRows to skip
Trial
POST/linksCreate a link

Omit slug for a short unguessable one. domainId publishes on one of your verified hosts (Starter+).

Trial
GET/links/{link_id}Get a link
NameInTypeReqDescription
link_idpathstringyesLink id
Trial
PATCH/links/{link_id}Update a link

Re-point (targetUrl), retitle, retag, set expiresAt, or set status to active|archived|disabled. The edge is updated in the same call. The slug is immutable by design.

NameInTypeReqDescription
link_idpathstringyesLink id
Trial
DELETE/links/{link_id}Delete a link

Soft-deletes and drops the edge mirror — the short URL stops resolving. Use status: disabled to pause instead.

NameInTypeReqDescription
link_idpathstringyesLink id
Trial

Analytics & QR

Clicks, scans and the 'who clicked' roster; plus a QR of the link's short URL.

GET/links/{link_id}/statsClick & scan statistics

Bot hits are excluded. identity counts are returned on every plan; the named roster needs a paid ZingaConnect plan.

NameInTypeReqDescription
link_idpathstringyesLink id
daysqueryintegerWindow in days (1-365)
Trial
GET/links/{link_id}/qrRender a QR code

Returns image bytes (not JSON) for the link's short URL. fmt=svg for print. URL-encode a colour's # as %23.

NameInTypeReqDescription
link_idpathstringyesLink id
fmtquerystringpng|svg
sizequeryintegerPNG pixel size (64-2000)
darkquerystringForeground colour
lightquerystringBackground colour
Trial

Custom domains

Branded short-link hosts (Starter+). DNS verification is completed in the console.

GET/links/domainsList custom domains
Trial
POST/links/domainsRegister a custom domain

Starts pending; point its DNS at the edge and verify in the console.

Trial
DELETE/links/domains/{domain_id}Remove a custom domain

Links on it stop resolving — keep it while printed material is in circulation.

NameInTypeReqDescription
domain_idpathstringyesDomain id
Trial

← All APIs