Resolve a Magic Patterns URL to an editor ID
Designs
Resolve a Magic Patterns URL to an editor ID
Given a Magic Patterns URL, returns the underlying editorId. Supports:
- Design URLs:
magicpatterns.com/c/<editorId> - Published URLs:
project-<slug>.magicpatterns.app - Canvas URLs:
magicpatterns.com/s/<canvasId>?nodeIds=<nodeId>
Use this when a user shares a Magic Patterns link and you need the
editorId to call other endpoints.
POST
Resolve a Magic Patterns URL to an editor ID
Authorizations
Magic Patterns API key. The same key authenticates v3 REST and the MCP server. Create one at https://www.magicpatterns.com/settings/api-keys.
Body
application/json
A Magic Patterns design / published / canvas URL.
Example:
"https://www.magicpatterns.com/c/abc123"
Response
Resolved editor ID.
Example:
"abc123"