Skip to main content
POST
Create Location

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Body

application/json
website_id
string<uuid>
required
location
string
required

Location name. Trimmed; blank rejected.

Example:

"New York"

country
string
required

Supported country (case-insensitive).

Example:

"United States"

prompt_ids
string<uuid>[]

Active prompt ids to attach.

Maximum array length: 1000

Response

Location created

id
string<uuid>
required
location
string
required
country
string
required