How video pages are doing
GET
/api/v1/outreach/videos/stats
const url = 'https://digize.com/api/v1/outreach/videos/stats';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”templateId
string
Responses
Section titled “Responses”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
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
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
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
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
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}