Skip to content

The plans anyone may buy: a month's price before VAT, the visits included, the price of 1,000 more, and the limits

GET
/v1/plans
curl --request GET \
--url https://example.com/v1/plans

Who: anyone.

OK

Media typeapplication/json
object
data
required
Array<object>
object
code
required
string
description
required
string
limits
required
object
connections
required
integer format: int32
custom_domains
required
integer format: int32
members
required
integer format: int32
private_templates
required
boolean
retention
string
Allowed values: days_90 days_180 days_400
visits_per_month
required
integer format: int64
name
required
string
overage_per_1000
required
Any of:
object
currency
required
string
value
required
string
price
required
Any of:
object
amount
required
integer format: int64
currency
required
string
public
required
boolean
meta
required
object
next_page_token
required
string | null
total
required
integer | null format: int64
total_approximate
required
boolean

Example

{
"data": [
{
"limits": {
"retention": "days_90"
}
}
]
}

An error, as go-commons apperr maps it

Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string

Example generated

{
"error": {
"code": "example",
"fields": {
"additionalProperty": "example"
},
"message": "example"
}
}