Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

Get link clicks overview

POST
/api/v3/metrics/clicks/links
curl --request POST \
--url https://api.tryletterhead.com/api/v3/metrics/clicks/links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form api=true \
--form from=2026-02-26 \
--form to=2026-03-26 \
--form 'channels[]=an-example-channel' \
--form page=1 \
--form limit=10

Per-URL click totals for your company’s clicks dashboard, with each link’s page title, site name, and content topics — sourced from the link content graph joined against click metrics and the IAB content taxonomy.

v3 endpoints expect a company API key.

Media type multipart/form-data
object
api
required

When set to true, this endpoint will accept authorization with your API Key.

string
Example
true
from
required

Period start date (inclusive).

string
Example
2026-02-26
to
required

Period end date (inclusive), must be >= from.

string
Example
2026-03-26
channels[]

string[] | Optionally filter to a list of channels (by their slugs).

string
Example
an-example-channel
page

Page number. Defaults to 1.

string
Example
1
limit

Items per page. Max of 100. Defaults to 10.

string
Example
10

Get link clicks overview

Media type application/json
object
items
Array<object>
object
url
string
urlMd5
string
pageTitle
string
siteName
string
topics
Array<string>
clicks
integer
clicksUnique
integer
message
string
total

Total matching links, for pagination — not a click count.

integer
Example
{
"items": [
{
"url": "https://example.com/an-article",
"urlMd5": "5d41402abc4b2a76b9719d911017c592",
"pageTitle": "An Example Article",
"siteName": "Example News",
"topics": [
"Local News"
],
"clicks": 84,
"clicksUnique": 61
}
],
"message": "Clicks dashboard links retrieved.",
"total": 1
}

400 Validation Error — from/to missing, malformed, or from is after to.

Media type application/json
object
data
Array<string>
items
Array<object>
object
message
string
total
integer
Example
{
"data": [
"The from date must be on or before the to date."
],
"items": [],
"message": "Looks like the input data doesn't meet our requirements.",
"total": 0
}

Still can’t find what you need? Contact support.