Create Plan
POST /api/v1/admin/plans
POST
/api/v1/admin/plans
Criar novo plano. Apenas superadmin.
Authorizations
Seção intitulada “Authorizations ”Request Body required
Seção intitulada “Request Body required ” PlanCreate
Schema para criar plano.
object
name
required
Name
string
slug
required
Slug
string
is_active
Is Active
boolean
is_featured
Is Featured
boolean
sort_order
Sort Order
integer
max_users
Max Users
integer
max_contacts
Max Contacts
integer
max_companies
Max Companies
integer
max_deals
Max Deals
integer
max_storage_mb
Max Storage Mb
integer
max_ai_credits_monthly
Max Ai Credits Monthly
integer
max_custom_assistants
Max Custom Assistants
integer
max_automations
Max Automations
integer
max_workflow_executions_monthly
Max Workflow Executions Monthly
integer
max_email_sends_monthly
Max Email Sends Monthly
integer
max_whatsapp_sessions
Max Whatsapp Sessions
integer
max_channels
Max Channels
integer
Responses
Seção intitulada “ Responses ”Successful Response
PlanResponse
Schema de resposta para plano.
object
name
required
Name
string
slug
required
Slug
string
is_active
Is Active
boolean
is_featured
Is Featured
boolean
sort_order
Sort Order
integer
id
required
Id
integer
max_users
required
Max Users
integer
max_contacts
required
Max Contacts
integer
max_companies
required
Max Companies
integer
max_deals
required
Max Deals
integer
max_storage_mb
required
Max Storage Mb
integer
max_ai_credits_monthly
required
Max Ai Credits Monthly
integer
max_custom_assistants
required
Max Custom Assistants
integer
max_automations
required
Max Automations
integer
max_workflow_executions_monthly
required
Max Workflow Executions Monthly
integer
max_email_sends_monthly
required
Max Email Sends Monthly
integer
max_whatsapp_sessions
required
Max Whatsapp Sessions
integer
max_channels
required
Max Channels
integer
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string