Skip to main content
POST
/
videos
/
metrics
Batch windowed video metrics
curl --request POST \
  --url https://api.creatoraudit.com/v2/videos/metrics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "video_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "period": "30d",
  "start_date": "2023-12-25",
  "end_date": "2023-12-25"
}
'
{
  "data": {},
  "meta": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
video_ids
string<uuid>[]
required

Org video/post UUIDs to window (1–200).

Required array length: 1 - 200 elements
period
enum<string>
default:30d

Preset window (7d/30d/90d) or 'custom' with start_date/end_date.

Available options:
7d,
30d,
90d,
custom
start_date
string<date> | null

Inclusive UTC start; required when period=custom.

end_date
string<date> | null

Inclusive UTC end; required when period=custom.

Response

Successful Response

data
object
required
meta
object
required