Skip to content
View as Markdown

GET Contacts by Tags​

GET
/reports/contacts-by-tags

Retrieve a paginated list of tags with the number of contacts assigned to each tag, sorted by contact count descending.

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

Number of tag rows to return per page.

Type
integer
Default
20
page

Page number for pagination.

Type
integer
Default
1

Responses​

Tag contact counts retrieved successfully.

application/json
JSON
{
"tags": {
"current_page": 0,
"data": [
{
"id": 0,
"title": "string",
"contact_count": 0
}
],
"from": 0,
"last_page": 0,
"next_page_url": "string",
"path": "string",
"per_page": 0,
"prev_page_url": "string",
"to": 0,
"total": 0
}
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI