OpenParable
Skip to content
← Back to skills

Canva Prod Checklist

DevOps & Security
canva-prod-checklist

Canva Prod Checklist is an Agent Skill for devops & security published in the jeremylongshore/claude-code-plugins-plus-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Execute Canva Connect API production deployment checklist and go-live procedures. Use when deploying Canva integrations to production, preparing for launch, or validating production readiness. Trigger with phrases like "canva production", "deploy canva", "canva go-live", "canva launch checklist".

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/HEAD/plugins/saas-packs/canva-pack/skills/canva-prod-checklist/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/canva-prod-checklist, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Canva Production Checklist

Overview

Complete checklist for deploying Canva Connect API integrations to production, covering OAuth configuration, security, error handling, monitoring, and Canva's integration review process.

Pre-Deployment

OAuth & Security

  • Client ID and secret stored in secret manager (not env files)
  • Redirect URIs use HTTPS and match production domains
  • Only required OAuth scopes requested (least privilege)
  • Access tokens stored encrypted at rest
  • Refresh token rotation handled (single-use tokens)
  • Token revocation implemented for user disconnect
  • No client secrets in frontend code

API Integration

  • All API calls use api.canva.com/rest/v1/* endpoints
  • Rate limits respected with exponential backoff (see canva-rate-limits)
  • Export polling implemented with timeout (don't poll forever)
  • 429 responses handled with Retry-After header
  • 401 responses trigger automatic token refresh
  • Error responses parsed and logged (without tokens)
  • Blank designs auto-delete warning handled (7-day window)
  • Export download URLs consumed within 24-hour window

Webhook Security

  • Webhook endpoint uses HTTPS
  • JWK signature verification implemented (see canva-webhooks-events)
  • Webhook handler returns 200 immediately
  • Heavy processing done asynchronously
  • Idempotency keys prevent duplicate processing

Data Handling

  • No access tokens in log output
  • User design metadata treated as sensitive
  • Temporary URLs (thumbnails, exports) not cached beyond expiry
  • Thumbnail URLs expire in 15 minutes — refresh as needed
  • Edit/view URLs expire in 30 days — regenerate via API

Production Readiness Verification

#!/bin/bash
# canva-prod-verify.sh

echo "=== Canva Production Readiness ==="

# 1. Verify API connectivity from production
HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" \
  -H "Authorization: Bearer $CANVA_ACCESS_TOKEN" \
  "https://api.canva.com/rest/v1/users/me")
echo "[$([ $HTTP_CODE = 200 ] && echo 'PASS' || echo 'FAIL')] API connectivity: HTTP $HTTP_CODE"

# 2. Test design creation
DESIGN=$(curl -s -X POST "https://api.canva.com/rest/v1/designs" \
  -H "Authorization: Bearer $CANVA_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"design_type":{"type":"custom","width":100,"height":100},"title":"Prod Test"}')
DESIGN_ID=$(echo "$DESIGN" | python3 -c "import sys,json; print(json.load(sys.stdin)['design']['id'])" 2>/dev/null)
echo "[$([ -n "$DESIGN_ID" ] && echo 'PASS' || echo 'FAIL')] Design creation: $DESIGN_ID"

# 3. Test export
if [ -n "$DESIGN_ID" ]; then
  EXPORT=$(curl -s -X POST "https://api.canva.com/rest/v1/exports" \
    -H "Authorization: Bearer $CANVA_ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d "{\"design_id\":\"$DESIGN_ID\",\"format\":{\"type\":\"png\"}}")
  EXPORT_ID=$(echo "$EXPORT" | python3 -c "import sys,json; print(json.load(sys.stdin)['job']['id'])" 2>/dev/null)
  echo "[$([ -n "$EXPORT_ID" ] && echo 'PASS' || echo 'FAIL')] Export job: $EXPORT_ID"
fi

echo ""
echo "=== Done ==="

Canva Integration Review

For public integrations (available to all Canva users), you must pass Canva's review:

  1. Submit your integration for review in the Canva developer portal
  2. Canva reviews security, OAuth implementation, and UX
  3. Preview features (e.g., webhooks) are not allowed in public integrations
  4. Fix any issues and resubmit

Private integrations (your organization only) do not require review.

Health Check Endpoint

app.get('/health', async (req, res) => {
  const start = Date.now();
  let canvaStatus = 'unknown';

  try {
    const me = await fetch('https://api.canva.com/rest/v1/users/me', {
      headers: { 'Authorization': `Bearer ${getServiceToken()}` },
      signal: AbortSignal.timeout(5000),
    });
    canvaStatus = me.ok ? 'healthy' : `error:${me.status}`;
  } catch {
    canvaStatus = 'unreachable';
  }

  res.json({
    status: canvaStatus === 'healthy' ? 'healthy' : 'degraded',
    services: { canva: { status: canvaStatus, latencyMs: Date.now() - start } },
    timestamp: new Date().toISOString(),
  });
});

Monitoring Alerts

AlertConditionSeverity
Auth failures401 errors > 0P1
Rate limited429 errors > 5/minP2
Export failureslicense_required or internal_failureP3
API unreachableConnection timeoutP1
Token refresh failsRefresh returns errorP1

Error Handling

IssueCauseSolution
Token refresh loopRevoked refresh tokenRe-authorize user
Export stuck in_progressBackend delayTimeout after 120s, retry
Webhook URL rejectedHTTP not HTTPSUse HTTPS endpoint
Review rejectionUsing preview featuresRemove preview-only features

Resources

Next Steps

For version upgrades, see canva-upgrade-migration.