Link shortener

Account summary

Retrieve link counts, clicks, unavailable destinations, and API usage in one request.

GEThttps://pqno.app/admin/api/encurtar-link/resumo

Returns metrics for links accessible to the token, along with API usage. A company token also includes metrics for each person.

Click date range

inicio and fim follow the rules in Link statistics: YYYY-MM-DD dates, a range of up to 366 days, and the last 30 days when omitted.

The range applies to cliques.no_periodo and pessoas[].cliques_no_periodo. cliques.hoje always refers to today, while link counts reflect the account's current state.

Summary fields

FieldDescription
escopopessoal for personal tokens or empresa for company tokens.
planoPlan applied to the token: pro or business.
periodoStart and end dates used for click metrics.
links.totalCurrent number of links within the token's scope.
links.limiteThe plan's link limit, or null for unlimited links.
links.fora_do_arNumber of links with destinations recorded as unavailable.
cliques.no_periodo / cliques.hojeClicks during the requested period and today.
apiDaily usage and per-minute limit: cota_diaria, usadas_hoje, restantes_hoje, and limite_por_minuto.

This request counts toward the daily quota. api.usadas_hoje already includes the summary request.

Per-person metrics on Business

The pessoas field is included for company tokens and sorted by clicks during the period, highest first. Each item contains:

FieldDescription
id / nomePerson's identity. Use id as the usuario filter in List links.
ativoWhether the person still has access to the company.
linksNumber of links the person created within the company.
cliques_no_periodoClicks on those links during the requested period.

People who have lost access may still appear when they have links within the company. Their records use ativo: false.

Parameters

Header

Authorizationstringrequired
Send Bearer followed by your API token, for example Authorization: Bearer YOUR_TOKEN.

Query parameters

iniciostring
First date of the range, in YYYY-MM-DD format. If omitted, the range starts 29 days before fim.
fimstring
Last date of the range, in YYYY-MM-DD format. Default: today. This date is included.