Bes_Open_API_English
  1. Leads
Bes_Open_API_English
  • Development guideline
    • BesChannels Product Overview
    • Log Update
  • Authentication
    • openapi-Get token
      POST
  • Leads
    • Get Leads List
      POST
    • Get Leads Details
      POST
    • Leads Create/Add
      POST
    • Leads Edit
      POST
    • Leads Delete
      POST
    • Get List of Remark
      POST
    • Add Remarks
      GET
    • Leads Assignment
      POST
    • Get Leads Activities & Attributes
      POST
    • Get Leads Behaviors
      POST
  • Contents
    • Get Content List
      POST
  • Events
    • Get Events List
      POST
  • Table Structure
    • Application acquiry
      POST
    • Table Structure List
      POST
    • Table Structure Details
      POST
  • Behaviors-NEW
    • Add Application
      POST
    • Add Activities
      GET
    • Get Activities
      POST
    • Get Activities Attributes
      POST
    • Add Activities Attributes
      POST
    • Add Users Behaviors
      POST
  • Others
    • Error code
  1. Leads

Leads Create/Add

Developing
POST
/leads/open-api/create-leads
客户数据平台(CDP)/线索Leads/线索
To create leads
Dependency interface: table structure list, table structure details

Request

Query Params
access_token
string 
optional
Body Params application/json
FullName
string 
姓名
optional
name
Example:
13691010101
MobilePhone
string 
手机号
required
mobilephone
Example:
张三
Email
string 
邮箱
optional
email
Example:
wangshangfeng@scrmtech.com
Address
object 
地区
optional
address
province
string 
optional
city
string 
optional
area
string 
optional
value
string 
optional
user_id
string 
用户ID
required
user ID
Example
{
    "MobilePhone": "13499091234",
    "FullName": "aaa",
    "Company": "",
    "Street": "",
    "LeadOwner": "",
    "IsLead": "",
    "Email": ""
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.beschannels.com/leads/open-api/create-leads?access_token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "MobilePhone": "13499091234",
    "FullName": "aaa",
    "Company": "",
    "Street": "",
    "LeadOwner": "",
    "IsLead": "",
    "Email": ""
}'

Responses

🟢200Successful request
application/json
Body
code
integer 
optional
0=success, others failed 
Example:
0
msg
string 
optional
status code description
Example:
ok
Example
{
    "code": 0,
    "msg": "ok"
}
Modified at 2023-06-08 09:20:14
Previous
Get Leads Details
Next
Leads Edit
Built with