Skip to main content
POST

Authorizations

Authorization
string
header
required

API key from https://studio.molfex.app/api-keys. Starts with molfex_.

Body

application/json
slug
string
required

Lowercase letters, numbers, and hyphens. Becomes {slug}.molfex.app.

Pattern: ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$
Example:

"my-site"

fileName
string
required
Required string length: 1 - 255
Example:

"site.zip"

siteSettings
object

Response

Draft created

ok
enum<boolean>
required
Available options:
true
data
object
required