Skip to content

How video pages are doing

GET
/api/v1/outreach/videos/stats
curl --request GET \
--url https://digize.com/api/v1/outreach/videos/stats \
--header 'x-api-key: <x-api-key>'

A template’s pages (or every template’s): made, opened, watched half way and to the end, button and calendar clicks, bookings, and today’s pages against the daily limit.

Needs the outreach:read permission.

templateId
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
object
pages
required
number
ready
required
number
pending
required
number
failed
required
number
opened
required

Pages opened at least once.

number
views
required
number
watchedHalf
required

Pages watched at least half way.

number
watchedAll
required

Pages watched to the end.

number
clicked
required

Pages whose button was pressed or calendar opened.

number
clicks
required
number
bookings
required
number
today
required

Pages made today (UTC).

number
dailyLimit
required
number

Example generated

{
"pages": 1,
"ready": 1,
"pending": 1,
"failed": 1,
"opened": 1,
"views": 1,
"watchedHalf": 1,
"watchedAll": 1,
"clicked": 1,
"clicks": 1,
"bookings": 1,
"today": 1,
"dailyLimit": 1
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}