Skip to main content
POST
Fetch a Blueprint from a URL

Authorizations

Authorization
string
header
required

Personal API token, sent as Authorization: Bearer <SANDYWP_API_KEY>. Obtain one from the dashboard account menu (API keys), sandywp auth login, or POST /api/account/tokens. A missing or invalid token returns 401 auth_required. Scoped OAuth tokens are limited to the Imports family and GET /api/account/me; see the top-level conventions.

Body

application/json
url
string<uri>
required

HTTP(S) URL of a JSON Blueprint. GitHub blob URLs are normalized to their raw form.

Response

The fetched source and its normalized URL.

source
string
required

Pretty-printed JSON source ready to send to POST /api/app/blueprints.

sourceUrl
string<uri>
required