Skip to main content
POST
/
api
/
lead
/
update
/
{cid}
cURL
curl --request POST \
  --url https://api.pingtree.com/api/lead/update/{cid} \
  --header 'Content-Type: application/json' \
  --data '{
  "transaction_id": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "<string>",
  "mobile": "<string>",
  "address": "<string>",
  "state": "<string>",
  "city": "<string>",
  "zip_code": "<string>",
  "date_of_birth": "<string>"
}'
{
  "status": "<string>",
  "type": "<string>",
  "message": "<string>"
}

Path Parameters

cid
string
required

Your campaign unique ID

Body

application/json

Lead details to add to the campaign

transaction_id
string
required

Lead's Transaction ID, Which was generate from click script of Pingtree

first_name
string

First name of the lead

last_name
string

Last name of the lead

email
string

Email of the lead

mobile
string

Mobile of the lead

address
string

Address of the lead

state
string

State of the lead

city
string

City of the lead

zip_code
string

Zip Code of the lead

date_of_birth
string

Date of Birth of the lead

Response

Lead successfully updated

status
string

Status code of API response

type
string

Type of API response which can be success or error

message
string

Message of API response

I