Public
Documentation Settings

DotB Public API

POSTcap lead

https://tdp.dotb.cloud/rest/v11_3/captureLead

Capture lead from website, landing page for DotB IMS

Bodyraw (json)
json
{
    "name": "toan test",
    "email": "toan.tran@dotb.vn",
    "phone": "123123213",
    "parent_name1": "",
    "parent_name2": "",
    "team_name": "",
    "lead_source": "",
    "description": "",
    "utm_source": "",
    "utm_medium": "",
    "utm_agent": "",
    "source_description": "",
    "type": "lead"
}
Example Request
curl
curl --location 'https://ems.polyvietnam.edu.vn/rest/v11_3/cap_lead_v2' \
--form 'type=""' \
--form 'first_name=""' \
--form 'last_name=""' \
--form 'email=""' \
--form 'phone_mobile=""' \
--form 'campaign_name=""' \
--form 'account_name=""' \
--form 'website=""' \
--form 'description=""' \
--form 'lead_source=""'
200 OK
Example Response
json
{
  "success": 0,
  "code": "101",
  "message": "Invalid access token"
}
Server

openresty

Date

Fri, 25 Mar 2022 09:18:02 GMT

Content-Type

application/json

Content-Length

59

Connection

keep-alive

X-Powered-By

PHP/7.1.33

X-Served-By

edu.dotb.cloud

POSTVOIP24h call missed

<domain>/rest/v11_3/callcenter/voip24h/webhook-callmissed
Bodyraw (json)
json
{
	"testparamsbody": "testparamsbody"
}
Example Request
curl
curl --location '<domain>/rest/v11_3/callcenter/voip24h/webhook-callmissed' \
--data '{
	"testparamsbody": "testparamsbody"
}'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers