User

Create Live Agent

Changed on

Creates a new user with role agent

Required roles:

  • admin
post/api/v1/user/create_live_agent

Request

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
dataunknown

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property