API Documentation
Base URL: http://localhost:3003
Browser Management
POST
/api/browser/launchLaunch Chrome and navigate to CanvaGET
/api/browser/statusCheck browser connection and Canva login statusPOST
/api/browser/cookiesInject cookies to login without passwordTeam Members
GET
/api/members/listList all team members (active + invited)POST
/api/members/inviteInvite members by emailDebug
GET
/api/debug/page-infoInspect current page elements (buttons, links)Quick Start
1. Launch browser + inject cookies
# Launch browser
curl -X POST http://localhost:3003/api/browser/launch
# Inject cookies (export from your real Chrome first)
curl -X POST http://localhost:3003/api/browser/cookies \
-H "Content-Type: application/json" \
-d @cookies.json2. Verify login
curl http://localhost:3003/api/browser/status
# => {"connected":true,"loggedIn":true,...}3. Invite members
curl -X POST http://localhost:3003/api/members/invite \
-H "Content-Type: application/json" \
-d '{"emails":["new@example.com"]}'4. List members
curl http://localhost:3003/api/members/listError Handling
// All endpoints return this format on error:
{
"success": false,
"error": "Error description message"
}
// HTTP Status Codes:
// 200 - Success
// 400 - Bad Request (invalid input)
// 500 - Server Error (browser not connected, etc.)