Submit leads to an agent

以 Markdown 格式查看
Submit one or more leads to a specific SimZ agent for outbound calling.

身份验证

X-Company-API-Keystring
Company API key issued by SimZ.

路径参数

agentIdstring必需
SimZ agent ID that should receive the leads.

请求

This endpoint expects an object.
leadslist of objects必需
Leads to submit to the target agent.
optionsobject可选

响应

All submitted leads were accepted.
successboolean
batchIdstring or null
Batch identifier for the submitted leads when returned.
acceptedinteger>=0
rejectedinteger>=0
errorslist of objects

错误

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error