Analytics
Authorization
Bearer AuthorizationBearer <token>
In: header
Query Parameters
post_id*string
Post ID
from_date?string
Start date (ISO 8601)
to_date?string
End date (ISO 8601)
Response Body
application/json
application/json
curl -X GET "https://api.relayapi.dev/v1/analytics/post-timeline?post_id=string"{
"post_id": "string",
"data": [
{
"date": "string",
"impressions": 0,
"likes": 0,
"comments": 0,
"shares": 0,
"clicks": 0,
"views": 0
}
]
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}