Create a new lead

This endpoint can be used to insert a new lead in the campaign given in url

Path Params
integer
required

Campaign ID in which you want to add your new lead

Query Params
string
required

The API key provided for your application

Body Params
string
required

The API key provided for your application

campaign_invitation
object
required
Responses
200

Candidate was succesfully added to the campaign. The response will include the lead ID and PIN. If the lead already exists, will return 'Duplicate Candidate already exists'.

400

Bad request. Please make sure that required parameters were provided.

404

Campaign not found.

500

Internal server error, we will provide you with the exception message of the application.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!