Skip to content

Active price list (public)

GET
/v1/public/pricing
curl --request GET \
--url https://api.replifier.com/v1/public/pricing

Only publishable tiers and amounts from the active price list; never negotiated discounts or Stripe ids. Amounts come in the currency of the country (?country=XX, or the request country): EUR for the euro zone, MXN for Mexico, USD otherwise; if the list has no amounts in that currency it answers USD with currency: "USD". Cached for 1 h (private when the country comes from the request). Without an active price list it responds 503 pricing_unavailable and the website points to the dashboard.

country

ISO 3166-1 alpha-2 country. Defaults to the request country (Cloudflare cf.country).

string
/^[A-Za-z]{2}$/

ISO 3166-1 alpha-2 country. Defaults to the request country (Cloudflare cf.country).

Price list

Media typeapplication/json
object
currency
required
string
trialDays
required
integer
plans
required
Array<object>
object
code
required
string
name
required
string
monthly
required

Monthly amount in the currency’s minor unit (cents); null = custom pricing.

integer
nullable
annualMonthly
required

Monthly equivalent when billed annually.

integer
nullable
includedSends
required
integer
nullable
agency
required

Agency discount on any tier; null = not published.

object
discountPct
required

Agency discount percentage, on both monthly and annual plans.

integer
minPaidBrands
required

Minimum paid brands for the agency discount (Free brands do not count).

integer
updatedAt
required
string

Example generated

{
"currency": "example",
"trialDays": 1,
"plans": [
{
"code": "example",
"name": "example",
"monthly": 1,
"annualMonthly": 1,
"includedSends": 1
}
],
"agency": {
"discountPct": 1,
"minPaidBrands": 1
},
"updatedAt": "example"
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Service temporarily unavailable

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}