Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

An access token from the OAuth flow (eo_at_...). It lasts one hour; refresh it with the refresh token. See Authentication.

Headers

Idempotency-Key
string

A unique key (up to 255 printable ASCII characters). The same key from your app within 24 hours answers the first result again, with Idempotent-Replayed: true, instead of creating twice.

Maximum string length: 255

Body

application/json
title
string
required

One line, trimmed, no invisible characters and no <.

Required string length: 1 - 255
content
string
required

HTML, up to 51,200 bytes as sent (rule max). Valid UTF-8 without NUL characters (rule text). Unsafe HTML is removed before it is saved.

slug
string

Letters a-z and A-Z, digits and dashes. Unique among the store's pages (409 slug_taken).

Maximum string length: 255
Pattern: ^[a-zA-Z0-9-]+$
show_in_header
boolean
default:false
position
integer
default:0
Required range: 0 <= x <= 1000000000
is_active
boolean
default:true

Response

The page created. Location is its path.

page
object
required