Pular para o conteúdo

Update Session

PUT
/api/v1/whatsapp/sessions/{session_id}

Update a WhatsApp session.

session_id
required
Session Id
integer
x-tenant-id
Any of:
integer
WhatsAppSessionUpdate

Schema for updating a WhatsApp session.

object
name
Any of:
string
>= 1 characters <= 255 characters
webhook_url
Any of:
string
<= 500 characters
webhook_events
Any of:
Array<string>
auto_reply_enabled
Any of:
boolean
auto_reply_message
Any of:
string
is_default
Any of:
boolean
is_active
Any of:
boolean

Successful Response

WhatsAppSessionResponse

Schema for WhatsApp session response.

object
name
required
Name

Friendly name for the session

string
>= 1 characters <= 255 characters
id
required
Id
integer
phone_number
Any of:
string
wuzapi_user_id
required
Wuzapi User Id
string
status
required
Status
string
connected_at
Any of:
string format: date-time
disconnected_at
Any of:
string format: date-time
last_seen_at
Any of:
string format: date-time
profile_name
Any of:
string
profile_picture_url
Any of:
string
is_active
required
Is Active
boolean
is_default
required
Is Default
boolean
auto_reply_enabled
required
Auto Reply Enabled
boolean
auto_reply_message
Any of:
string
total_messages_sent
required
Total Messages Sent
integer
total_messages_received
required
Total Messages Received
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>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string