prospects
To import new prospects
Changed onpost/v1/prospects/import
Request
- Base URLhttps://developer.saleshandy.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
<b><i> Prospect Import Status Codes : </i></b><br><br>
- <b>Status:</b> 10000 <b>Description:</b> Success
- <b>Status:</b> 10100 <b>Description:</b> Invalid Email
- <b>Status:</b> 10200 <b>Description:</b> Prospect already present in another step of same sequence
- <b>Status:</b> 10300 <b>Description:</b> Mismatch in custom field type
- <b>Status:</b> 10400 <b>Description:</b> Nothing to update
- <b>Status:</b> 10500 <b>Description:</b> Nothing to overwrite
- <b>Status:</b> 10600 <b>Description:</b> Duplicate prospect
- <b>Status:</b> 10700 <b>Description:</b> Bounced prospect
- <b>Status:</b> 10800 <b>Description:</b> Unsubscribed prospect
- <b>Status:</b> 10900 <b>Description:</b> More then One Separator
- <b>Status:</b> 11000 <b>Description:</b> Prospect already present with different owner
- <b>Status:</b> 12000 <b>Description:</b> Prospect is active in another sequence
unknown required
Example response
{
"message": "Prospects have been imported",
"payload": [
{
"email": "vishwash1245@gmail.com",
"status": 10200
},
{
"email": "saleshandyUser123@gmail.com",
"status": 10200
}
]
}Changes
- info
added the new
upsertenum value to the request property
- info