Link shortener
Account summary
Retrieve link counts, clicks, unavailable destinations, and API usage in one request.
https://pqno.app/admin/api/encurtar-link/resumoReturns 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
| Field | Description |
|---|---|
escopo | pessoal for personal tokens or empresa for company tokens. |
plano | Plan applied to the token: pro or business. |
periodo | Start and end dates used for click metrics. |
links.total | Current number of links within the token's scope. |
links.limite | The plan's link limit, or null for unlimited links. |
links.fora_do_ar | Number of links with destinations recorded as unavailable. |
cliques.no_periodo / cliques.hoje | Clicks during the requested period and today. |
api | Daily 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:
| Field | Description |
|---|---|
id / nome | Person's identity. Use id as the usuario filter in List links. |
ativo | Whether the person still has access to the company. |
links | Number of links the person created within the company. |
cliques_no_periodo | Clicks 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.

