Skip to main content
POST
Create subscription

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
city
string
required
Minimum string length: 1
Example:

"London"

entity_type
string
required
Minimum string length: 1
Example:

"restaurant"

fields
string[]
required
Minimum array length: 1
Minimum string length: 1
Example:

Response

Created

id
string<uuid>
required
account_id
string<uuid>
required
city
string
required
Example:

"London"

entity_type
string
required
Example:

"restaurant"

fields
string[]
required
Example:
status
enum<string>
required
Available options:
active,
paused,
cancelled
Example:

"active"

data_status
string
required
field_assessments
object
required
created_at
string
required
updated_at
string
required
cancelled_at
string | null
required