cURL
curl --request POST \ --url 'https://api.example.com/api/v1/agency/billing/{agency_id}/billing_plan?api_key=' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "bots_count": 123, "queries_count": 123, "words_count": 123, "voice_seconds": 123, "premium_support": true, "default_plan": false, "remove_branding": false, "advanced_intents": false, "auto_intents": false, "billing_plan_group": "<string>", "credits": {}, "attributes": {}, "agency_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "plan_lookup_key": "<string>" } '
{ "message": "Data created successfully", "meta": {}, "data": { "name": "<string>", "description": "<string>", "bots_count": 123, "queries_count": 123, "words_count": 123, "voice_seconds": 123, "premium_support": true, "default_plan": false, "remove_branding": false, "advanced_intents": false, "auto_intents": false, "billing_plan_group": "<string>", "credits": {}, "attributes": {}, "agency_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "plan_lookup_key": "<string>" } }
Create a new billing plan for the agency
Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.
in-
Successful Response
Show child attributes
Was this page helpful?