Skip to content
View as Markdown

GET Recently Created Tags

GET
/reports/recent-tags

The most recently created tags, each with its current contact count.

Ordering is by created_at descending — this is a “what's new” widget, not a popularity ranking. For that, use GET /reports/contacts-by-tags.

Not paginated: per_page is a plain limit and defaults to 5. contact_count comes back as a string.

Required capability: fcrm_view_dashboard

Enforced by ReportPolicy::verifyRequest(), the policy default for this route group.

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Parameters

Query Parameters

per_page

Maximum number of tags to return.

Type
integer
Default
5

Responses

Recently created tags.

application/json
JSON
{
"tags": [
{
"id": 0,
"title": "string",
"created_at": "string",
"contact_count": "string"
}
]
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI