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.
Gets the aggregated analytics for a design.
The response includes total views, unique viewers, and view duration metrics.
Request
- Base URL: https://api.canva.com/rest
- URL: https://api.canva.com/rest/v1/designs/{designId}/analytics
- 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.
Response
OK
Example response
{
"average_view_duration_seconds": 42,
"total_view_duration_seconds": 5040,
"unique_view_count": 87,
"total_view_count": 120
}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