Skip to main content
GET
Ads summary

Authorizations

x-api-key
string
header
required

Your ps_ API key

Headers

x-whatsapp-number-id
string

Narrows an account-wide credential to one number (its id or instance id from GET /v1/numbers). Without it, an account-wide credential sees the whole workspace; a number-scoped key always sees only its own number.

Query Parameters

whatsappNumberId
string

Restrict to one number inside the credential's scope (403 NUMBER_NOT_IN_GRANT otherwise).

startDate
string<date-time>

Start of the range (ISO 8601), over the message time — and the lead's Meta creation time for leadCount. Must be ≤ endDate.

endDate
string<date-time>

End of the range (ISO 8601), inclusive.

Response

Per-ad summary