Skip to main content
POST
Create an assistant

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
name
string
gerekli

Assistant's name.

Maximum string length: 255
email
string<email>
gerekli

Assistant's email address.

Maximum string length: 255
set_password
boolean | null

Whether an explicit password is provided. When false, or when no password is sent, a random password is generated and a set-password link is emailed.

password
string | null

Assistant's password. Required when set_password is true; ignored when set_password is false.

Minimum string length: 8
password_confirmation
string | null

Assistant's password confirmation. Must match the password field.

Minimum string length: 8
phone
string | null

Assistant's phone number.

Maximum string length: 20
language
string[] | null

Assistant's language preferences.

avatar_url
string | null

Assistant's avatar URL.

Maximum string length: 1000
is_active
boolean | null

Assistant's active status.

Yanıt

The response is of type object.