List of API

Acquire user

You can acquire user information by linking with REST API.

Request URL
http://app.chatplus.jp/api/v1/get_lead?[parameter]=[value]……

In [Parameter], enter [Parameter] of [Enter parameter].

List of enter parameter

List of out put parameter

Example)Designate register date and when you want to acquire user information registered after the set date.
http://app.chatplus.jp/api/v1/get_lead?created_date_start=20170223

Edit user

You can update user information by linking with REST API or the tag method.

REST API

Request URL
http://app.chatplus.jp/api/v1/update_user?[parameter]=[value]……

In [Parameter], enter [Parameter] of [Enter parameter].
In [value], enter [value] (applicable email address etc.) of [Enter parameter].

List of enter parameter

List of out put parameter

Example)
http://app.chatplus.jp/api/v1/update_user?email=aa@×××.jp&name=John Parker
※URL encode with UTF-8 of [value] part.

Tag method

You can link by adding code below to the code in the chat window.

d["__cp_p"]={
"name":"Name"
, "companyName":"Company name"
, "tel":"Phone number"
, "email":"Email address"
, "score":"Score"
, "scoreType":"" //No designation:revise with score value, [+]:Add with score value, [-]:Subtract with score value
};
d["__cp_f"]={
"Free content1":"Value1"
, "Freecontent2":"Value2"
, ....
};

You can check the chat window code from [General setting]>[Chat window] on the left side of the management screen.

シェアする

  • このエントリーをはてなブックマークに追加

フォローする