This API is currently provided as a preview. Be aware of the following:
- There might be unannounced breaking changes.
- Any breaking changes to preview APIs won't produce a new API version.
- Public apps that use preview APIs will not pass the review process, and can't be made available to all Canva users.
Lists the view counts over time for a design.
Each response item represents one time bucket.
Request
- Base URL: https://api.canva.com/rest
- URL: https://api.canva.com/rest/v1/designs/{designId}/analytics/views-over-time
- Auth: OAuth 2 (authorization code, authorization URL https://www.canva.com/api/oauth/authorize, token URL https://api.canva.com/rest/v1/oauth/token, scopes: design:content:read)
Path parameters
The design ID.
Query parameters
The inclusive start of the requested time range, as a Unix timestamp (in seconds since the Unix Epoch).
The inclusive end of the requested time range, as a Unix timestamp (in seconds since the Unix Epoch).
The timezone to use for bucketing, as a UTC offset in the form +HH:MM (for example, +10:00).
The maximum number of time buckets to return per page.
If the success response contains a continuation token, there are more time buckets you can list. You can use this token as a query parameter and retrieve more time buckets from the list, for example /v1/designs/{designId}/analytics/views-over-time?continuation={continuation}.
To retrieve all time buckets, you might need to make multiple requests.
Response
OK
Example response
{
"items": [
{
"count": 15,
"bucket_start_at": 1745452800
}
],
"continuation": "RkFGMgXlsVTDbMd:MR3L0QjiaUzycIAjx0yMyuNiV0OildoiOwL0x32G4NjNu4FwtAQNxowUQNMMYN"
}Changes
- warning
added the new
user_linked_to_another_idpenum value to theresponse property for the response status - warning
added the new
user_linked_to_another_idpenum value to theresponse property for the response status - warning
added the new
user_linked_to_another_idpenum value to theresponse property for the response status - warning
added the new
user_linked_to_another_idpenum value to theresponse property for the response status - warning
added the new
user_linked_to_another_idpenum value to theresponse property for the response status - warning
added the new
user_linked_to_another_idpenum value to theresponse property for the response status
- warning
- warning
added the new
asset_not_readyenum value to theresponse property for the response status - warning
added the new
asset_not_readyenum value to theresponse property for the response status - warning
added the new
asset_not_readyenum value to theresponse property for the response status - warning
added the new
asset_not_readyenum value to theresponse property for the response status - warning
added the new
asset_not_readyenum value to theresponse property for the response status - warning
added the new
asset_not_readyenum value to theresponse property for the response status
- warning