Skip to main content
POST
/
v1
/
projects
/
import
Import Project
curl --request POST \
  --url https://api.migma.ai/v1/projects/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "urls": [
    "<string>"
  ],
  "logoUrls": {
    "primary": "<string>",
    "secondary": "<string>",
    "favicon": "<string>"
  }
}
'
{
  "success": true,
  "data": {
    "projectId": "<string>",
    "status": "pending",
    "domain": "<string>",
    "urls": [
      "<string>"
    ],
    "message": "<string>"
  },
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.

Body

application/json
urls
string<uri>[]
required
Required array length: 1 - 10 elements
logoUrls
object

Response

Import started

success
boolean
required
data
object
error
string | null