Skip to main content
GET
Get post analytics history

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Path Parameters

pid
string
required

SocialAPI post ID (UUID)

Query Parameters

from
string

First day, YYYY-MM-DD. Defaults to 29 days before to.

to
string

Last day, YYYY-MM-DD. Defaults to today (UTC).

metrics
string

Comma-separated metric names. Defaults to every stored metric.

Response

OK

data
object