Skip to main content
POST
Create an agent rate card

Authorizations

Authorization
string
header
required

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

Body

application/json

Create rate card payload

name
string
required
Required string length: 1 - 120
rows
object[]
required
Maximum array length: 1000
denomination
enum<string>
required
Available options:
credits,
units,
currency
description
string | null
Maximum string length: 280
fallback_per_usd
string | null
Pattern: ^\d+(\.\d+)?$
currency
string | null
Required string length: 3

Response

201 - application/json
id
string
required
name
string
required
denomination
enum<string>
required
Available options:
credits,
units,
currency
currency
string | null
required
description
string | null
required
fallback_per_usd
string | null
required
rows
object[]
required
attached_product_id
string | null
required
using_policy_count
number
required
using_policies
object[]
required
using_plan_count
number
required