Shared responsibility model for the Connect APIs

Shared security responsibilities for Canva API integrations.

Shared responsibility models clarify security responsibility between a platform provider and developers building integrations that use that platform.

Building an integration that connects to Canva means that developers share the same users as Canva. As a result, developers must take some responsibility to protect Canva user data and privacy, which can differ from other Software as a Service (SaaS) product expectations. Canva, as a provider, takes some responsibility, but not all of the security responsibility.

Read through the following sections to understand what are your security responsibilities, and what are Canva's responsibilities.

We reserve the right to amend this page from time to time in our sole discretion.

Integrations and data flow Integrations allow third-party app developers to extend key Canva capabilities off-platform. As a result, integrations allow Canva to share data with third parties. This data sharing happens even when a user isn't actively designing in Canva. The flow of data from Canva through to third parties is controlled by integration architecture. The essential component for this data flow is the Canva Connect APIs.

Connect APIs

The Connect APIs use resource-oriented URLs. They accept requests with parameters, and return JSON responses with standard HTTP response codes. For more information, see API requests and responses.

Integration architecture Some examples of integration architectures built with the Connect APIs can include, but aren't limited to:

  • Keeping Canva in sync with cloud storage and content management apps.
  • Enabling collaboration and communication with different platforms.
  • Embedding Canva into project management workflows.

Consider your integration architecture, such as where customer data flows, where that data is stored, and where potential vulnerabilities may emerge. There could be implications for your security responsibilities.

Minimize security incidents through early identification of vulnerabilities, and timely remediation. This includes notifying stakeholders of vulnerabilities. Provide a framework or policy to meet the challenge of a constantly changing vulnerability landscape.

Your responsibilitiesCanva's responsibilities
Conduct regular security reviews of infrastructure and source code using vulnerability scanning tools, vulnerability disclosure programs, or penetration testing by external parties.Suspend integrations that haven't mitigated security vulnerabilities, as explained in the Canva API and App Developer Terms.
Mitigate or remediate integration security vulnerabilities within the timelines expected in the Canva API and App Developer Terms.Communicate with developers about vulnerabilities in the platform or integrations that may affect their integrations.
Notify Canva of critical or high security vulnerabilities in your integration, in accordance with the Canva API and App Developer Terms.
Your responsibilitiesCanva's responsibilities
Implement adequate monitoring and alerting for backend functionality to ensure timely identification and containment of security events or incidents.Ongoing monitoring of integration platform health, and raising alerts in response to degraded performance, security, or abuse events.
Your responsibilitiesCanva's responsibilities
Ensure your integration doesn't log sensitive security data, personally identifiable information, authentication tokens, and user-generated content, or any other data that may be deemed sensitive by your data classification policy.Maintain robust logging that includes an audit trail of actions performed by an integration.
Implement adequate logging for backend functionality to ensure the timely identification and containment of security events or incidents.Restrict access to logs based on organization permissions.

As the number of security vulnerabilities and exploits increase, its crucial to develop, maintain, and test effective measures to detect and respond to unauthorized system and data access.

Your responsibilitiesCanva's responsibilities
Notify Canva of any incidents involving Canva integration data, in accordance with the Canva API and Integration Developer Terms.Maintain a detailed plan of action for responding to security incidents, including steps to contain and remediate the attack, and communicate with stakeholders.
Develop a detailed plan of action for responding to security incidents, including steps to contain and remediate the attack, and communicate with users.Regularly test the incident response plan to ensure its effectiveness.
Regularly test your incident response plan to ensure its effectiveness.

Implement appropriate network security controls to prevent threat actors from accessing sensitive information when requests move between services.

Your responsibilitiesCanva's responsibilities
Use secure protocols and configurations to encrypt traffic between your integration and backend, and between internal services.Ensure that contemporary, secure protocols are supported by the platform.
Handle data collected and stored in your backend according to your data classification policy, or with current best practice.

Maintain the integrity, confidentiality, and availability of underlying infrastructure, and provide a safe computing environment.

Your responsibilitiesCanva's responsibilities
Harden any associated services in the integration backend. For more information, see the OWASP Web Service Security Cheat Sheet and the OWASP Database Security Cheat Sheet.Ensure the platform infrastructure is hardened.
Scan for security misconfigurations and vulnerabilities.Scan for security misconfigurations and vulnerabilities.
Provide a secure runtime for integrations that prevents any security control bypasses.
Use the provided runtime in a way that doesn't purposely try to bypass security controls.

Data, source code, and other business assets support integrations and related system functionality. It's important to have mechanisms that minimize the impact of accidental or malicious disasters on essential system functionality.

Your responsibilitiesCanva's responsibilities
Establish a business continuity and disaster recovery plan to minimize the impact of outages to the functionality of your integration during incidents, or after an accidental or malicious disaster.
Ensure that data stored by Canva on behalf of your integration is backed up, and can be reasonably restored in an incident.
Maintain business continuity and disaster recovery plans.
Your responsibilitiesCanva's responsibilities
Use the mechanisms made available to verify user and team access to content before serving it to a user.Provide APIs for authentication with third-party platforms.
Use the APIs for authenticating users to third-party platforms.Provide mechanisms for integrations to verify user and team access to Canva content.
Your responsibilitiesCanva's responsibilities
Detect denial of service attacks against integration backends.Detect denial of service attacks executed via integration frontends, or caused by integrations.
Mitigate denial of service attacks against integration backends.Mitigate denial of service attacks executed via integration frontends, or caused by integrations.
Suspend integrations that may be misbehaving or insufficiently managing high volumes of requests.
Your responsibilitiesCanva's responsibilities
Ensure your integration complies with the restrictions contained within Section 5 of the Canva API and App Developer Terms.Detect and mitigate integrations that disrupt the normal operations of Canva or other Canva integrations.
Ensure your integration does not exceed the Canva API and integration platform quotas and limits.Enforce platform limits for storage, request throughput, and other points of data flow.

Ensure that every request made to the integration is sufficiently authenticated.

Your responsibilitiesCanva's responsibilities
Ensure the secure storage and handling of client credentials (for example, the client ID and client secret). This includes protecting credentials from exposure in source code through the integration, and securely transmitting them only over encrypted connections.Provide support for secure and recommended client authentication methods.
Securely handle access tokens, refresh tokens, and ID tokens obtained from Canva. Ensure that tokens are used in an authenticated manner for accessing protected resources and that they are transmitted securely.

Ensure that every request made to the integration is sufficiently authorized.

Your responsibilitiesCanva's responsibilities
Verify the authenticity of incoming webhook messages to your integration before displaying them to users.Ensure that users with access to Canva can use your integration.
Verify that organizations, teams, and users are authorized to access content before serving it.For private integrations, ensure that only users with access to the team use the integration.

Ensure sufficient input validation and output encoding is applied within the integration.

Your responsibilitiesCanva's responsibilities
Implement input validation in your integration to ensure that only properly formatted data is sent to Canva. This includes validating URLs, scopes, and any data received from users before making an OAuth request.Ensure all data received from your integration, including redirect URLs, scopes, and client credentials, undergo stringent validation against expected formats and values.
Apply appropriate encoding mechanisms to any user-generated output that might be rendered in the application to prevent Cross-Site-Scripting (XSS) vulnerabilities. Ensuring data is safely encoded before it is displayed can protect against injection attacks that might compromise the client or the user.
Carefully inspect and validate authorization responses from the server. This includes ensuring that the state returned matches the one sent in the authorization request, and that access tokens and ID tokens are correctly parsed and validated before use.

Ensure that the integration doesn't expose ways of using a legitimate process flow of an integration in a way that results in a negative consequence.

Your responsibilitiesCanva's responsibilities
Ensure that your integration correctly implements the OAuth authorization code flow with PKCE (Proof Key of Code Exchange) as per the standard specifications, avoiding custom modifications that could introduce vulnerabilities.
Properly validate redirect URLs on the integration side to prevent open redirect vulnerabilities, ensuring that redirects lead only to trusted or expected locations.
Implement secure error handling that doesn't expose sensitive information, ensuring that error messages are generic and logged appropriately.
Request only the necessary scopes required for the functionality of the integration, adhering to the principle of least privilege.
Securely manage the state parameter within OAuth flows to mitigate Cross-Site Request Forgery (CSRF) attacks, ensuring that the state is validated for each authorization request and response.
Apply security controls in layers to mitigate business logic flaws.

Ensure the frameworks and third-party libraries used to build integrations don't include security bugs, and that fixes are implemented according to the Canva API and App Developer Terms.

Your responsibilitiesCanva's responsibilities
Choose and implement integration frameworks and libraries that are robust and well-maintained. When using libraries to assist with the handling of OAuth flows, only use those recommended by the OAuth community.Offer detailed documentation, SDKs, and libraries that facilitate building integrations with the authorization server. This includes examples of secured configurations, recommended practices for integration, and troubleshooting tips.
Configure the integration framework securely, ensuring that default settings that may be insecure are adjusted according to your security guidelines. This includes secure handling of redirect URLs, ensuring proper scope requests, and correctly implementing token handling processes.Ensure that any updates or changes to the Connect API authorization flow are backward compatible or clearly communicated to developers in advance.
Conduct thorough testing of the integrated OAuth flow within the integration to identify and address any security or functional flaws that may result from incorrect handling of data from the authorization server.Clearly communicate any known security considerations specific to the integration framework or libraries provided, including regular security updates and advisories regarding known vulnerabilities.
Your responsibilitiesCanva's responsibilities
Implement authentication mechanisms that robustly identify and authenticate users based on their tenant context, ensuring that access tokens and other credentials are strictly scoped to the user’s tenant.Provide robust support for multi-tenancy within Canva, including mechanisms for team identification, and management within the OAuth flows.
Ensure that the application logic and data storage mechanisms are designed to segregate and manage data on a per-tenant basis, preventing cross-tenant access or leaks.Issue access tokens that are explicitly scoped and labeled based on the team, ensuring that resources accessible with a token are limited to those belonging to the appropriate team.
Safely configure tenant-specific settings and customizations in the integration to avoid introducing vulnerabilities that could affect tenant data security.Offer access controls allowing for tailored configurations that respect the unique security needs of each team and organization.

Appropriately manage data throughout its lifecycle, from data entry to data destruction.

Your responsibilitiesCanva's responsibilities
Ensure that the data collected and processed is limited to only what is required for the integration to function as intended.Maintain web storage separation and cleanup between user sessions.
Ensure that sensitive security data, such as API keys, pre-shared keys, or encryption keys are not hard-coded in source code. For more information, see the OWASP Secrets Management Cheat Sheet and the OWASP Password Storage Cheat Sheet.
Ensure that you have appropriate processes to handle the revocation and rotation of sensitive security data.
Ensure that any personal information collected by your integration is handled in accordance with the Canva API and App Developer Terms, your data classification policy, and applicable data protection and privacy legislation.
Only use confidential information in accordance with the Canva API and App Developer Terms.

Secure development activities are functional practices that, when applied appropriately, can achieve the following:

  • Reduce released software vulnerabilities.
  • Reduce the potential impact of undetected or unaddressed exploitation of vulnerabilities.
  • Address the root causes of vulnerabilities to prevent recurrences.
Your responsibilitiesCanva's responsibilities
Adopt secure development activities or practices that aid in the identification, prioritization, and remediation of security vulnerabilities. For more information, see the OWASP Secure Product Design Cheat Sheet.
Perform regular threat modeling on integrations and their critical paths, to identify, prioritize and remediate threats that may impact the security of your integration.