メインコンテンツへスキップ
POST
チャットウッドにメッセージ履歴を同期

承認

Authorization
string
header
必須

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

ボディ

application/json
device_id
string

同期するデバイス ID (指定されていない場合は CHATWOOT_DEVICE_ID を使用)

days_limit
integer
デフォルト:3

同期する日数の履歴

include_media
boolean
デフォルト:true

メディア添付ファイルを同期に含める

include_groups
boolean
デフォルト:true

グループチャットを同期に含める

レスポンス

同期の開始に成功しました

status
integer
例:

200

code
string
例:

"SYNC_STARTED"

message
string
例:

"History sync initiated in background"

results
object