Skip to main content
POST
/
api
/
v1
/
agency
/
billing
/
{agency_id}
/
billing_plan
{
  "message": "<string>",
  "meta": {},
  "data": {
    "name": "<string>",
    "description": "<string>",
    "bots_count": 123,
    "queries_count": 123,
    "words_count": 123,
    "voice_seconds": 123,
    "premium_support": true,
    "default_plan": true,
    "remove_branding": true,
    "advanced_intents": true,
    "auto_intents": true,
    "billing_plan_group": "<string>",
    "credits": {},
    "attributes": {},
    "agency_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "plan_lookup_key": "<string>"
  }
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Path Parameters

agency_id
string<uuid>
required

Body

application/json
name
string
required
description
string
required
bots_count
integer
required
queries_count
integer
required
words_count
integer
required
voice_seconds
integer
required
premium_support
boolean
required
default_plan
boolean | null
default:false
remove_branding
boolean | null
default:false
advanced_intents
boolean | null
default:false
auto_intents
boolean | null
default:false
billing_plan_group
string | null
credits
object
attributes
object
agency_id
string<uuid> | null
plan_lookup_key
string | null

Response

Successful Response

message
string | null
default:Data created successfully
meta
data
object | null