Skip to main content
POST
Get my analytics

Authorizations

Authorization
string
header
required

Access token issued by gtm.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Path Parameters

sid
string
required

LinkedIn account sid (ln_ac_…).

Required string length: 18
Pattern: ^ln_ac_

Body

application/json

Request body of get_linkedin_account_my_analytics.

date_from
string | null

Window start, YYYY-MM-DD. Omit BOTH dates for the trailing 28 days; supplying only one is a 422.

Pattern: ^\d{4}-\d{2}-\d{2}$
date_to
string | null

Window end, YYYY-MM-DD. Must not precede date_from and must not be in the future.

Pattern: ^\d{4}-\d{2}-\d{2}$

Response

action success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
action
action
string
required

kebab-case verb; matches the route segment.

item
object | null
required
result
object
required
meta
object
required
credits
object