Skip to main content
POST
/
v3
/
designs
/
resolve-url
Resolve a Magic Patterns URL to an editor ID
curl --request POST \
  --url https://api.magicpatterns.com/api/v3/designs/resolve-url \
  --header 'Content-Type: application/json' \
  --header 'x-mp-api-key: <api-key>' \
  --data '
{
  "url": "https://www.magicpatterns.com/c/abc123"
}
'
{
  "editorId": "abc123"
}

Documentation Index

Fetch the complete documentation index at: https://magicpatterns.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-mp-api-key
string
header
required

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
url
string
required

A Magic Patterns design / published / canvas URL.

Example:

"https://www.magicpatterns.com/c/abc123"

Response

Resolved editor ID.

editorId
string
Example:

"abc123"