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
name
string
required

One line, trimmed, no invisible characters and no <. Unique in the store, letter case aside.

Required string length: 1 - 100
cost
number
required

At most 2 decimals.

Required range: 0 <= x <= 1000000
hidden
boolean
default:false

Response

The area added. Location is its path.

area
object
required