Skip to main content
GET
Get template insights

Authorizations

x-api-key
string
header
required

Your ps_ API key

Path Parameters

id
string
required

Template id or name.

Query Parameters

days
enum<integer>
default:30

Window in days: 7, 30 or 90. Defaults to 30. Any other value returns 400 INVALID_DAYS.

Available options:
7,
30,
90

Response

Template insights

templateId
string
required

Template id.

template
object
required

The template's name, status, category, language and Meta quality score.

days
enum<integer>
required

The window used.

Available options:
7,
30,
90
totals
object
required

Sums over the window.

readRate
number | null
required

read / delivered, from 0 to 1. null when delivered is 0.

clicks
object[]
required

Button clicks over the window, one entry per button.

daily
object[]
required

One entry per day in the window, oldest first.