Skip to main content
POST
/
api
/
5
/
user
/
query_agent
query_agent
curl --request POST \
  --url https://sg.sobot.io/api/5/user/query_agent \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

visitorid
string

访客ID,由智齿生成,商户内唯一

partnerid
string

对接ID,需要保证唯一性

from
integer
default:0

用户来源:0-开放平台,1-pc/h5/sdk,2-微信

cid
string

会话ID

timezone
string

时区

name_flag
integer

是否需要返回用户昵称,1:需要,0:不需要

Response

200

No Content