v2

latestOpenAPI 3.1.02026-07-26231357386.7 KB
User

Create Live Agent

Creates a new user with role agent

Required roles:

  • admin
post/api/v1/user/create_live_agent

Request body

first_namestring required
last_namestring required
emailstring email required
is_activeboolean
is_superuserboolean
birthdatestring date-time nullable
is_enterpriseboolean nullable
role_idstring uuid nullable
phonestring nullable
statestring nullable
countrystring nullable
addressstring nullable
active_billing_plan_idstring uuid nullable
next_billing_plan_idstring uuid nullable
stripe_customer_idstring nullable
stripe_subscription_idstring nullable
stripe_subscription_statusstring nullable
stripe_has_payment_methodboolean nullable
stripe_card_brandstring nullable
stripe_card_last4string nullable
is_trialboolean nullable
used_trialboolean nullable
is_payingboolean nullable
stripe_last_payment_datestring date-time nullable
billing_updated_atstring date-time nullable
last_credits_refreshstring date-time nullable
next_credits_refreshstring date-time nullable
tutorial_completed_atstring date-time nullable
passwordstring required

Response

Successful Response

messagestring nullable
{"stackTrail":"components:schemas:IPostResponseBase:properties:data:anyOf","oasType":"schema","type":"unknown","title":"Data","nullable":true}