Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Factrove API key, usually prefixed ftrv_. Send Authorization: Bearer <key>. Product routes do not accept x-api-key as a credential. A present Authorization header that is not a valid key does not fall back to the session cookie.

Body

multipart/form-data

One file, an optional access type, and an optional library name.

file
file
required

One non-empty .html or .htm file, at most 10 MiB.

accessType
enum<string>
Available options:
private,
org_shared
name
string

Library name. Normalized to NFC, then trimmed. One line of 1 to 120 Unicode code points. U+0000–U+001F, U+007F–U+009F, U+2028, and U+2029 are rejected before trimming, so a trailing break is not removed. An invalid value is 400 INVALID_REQUEST with message name must be one line of 1 to 120 characters.

Required string length: 1 - 120

Response

The new artifact.

artifact
object
required