Submit leads to an agent

Afficher en Markdown
Submit one or more leads to a specific SimZ agent for outbound calling.

Authentification

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

Paramètres de chemin

agentIdstringRequis
SimZ agent ID that should receive the leads.

Requête

This endpoint expects an object.
leadslist of objectsRequis
Leads to submit to the target agent.
optionsobjectOptionnel

Réponse

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

Erreurs

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