Skip to main content
POST
/
api
/
5
/
user
/
get_detail_by_cid
get_detail_by_cid
curl --request POST \
  --url https://sg.sobot.io/api/5/user/get_detail_by_cid \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "visitorid": "<string>",
  "partnerid": "<string>",
  "from": 0,
  "cid": "<string>",
  "timezone": "<string>",
  "name_flag": 123
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
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