English
cURL
curl --request GET \ --url https://app.robocallz.ai/user/leads \ --header 'Authorization: Bearer <token>'
{ "leads": [ { "id": "1", "campaign_id": "1", "phone_number": "+1234567890", "variables": { "customer_name": "John Doe", "email": "john.doe@example.com" }, "status": "created", "created_at": "2024-01-01T00:00:00.000000Z", "updated_at": "2024-01-01T00:00:00.000000Z", "campaign": { "id": "1", "name": "Summer Campaign" } } ] }
Create a new lead in the Robocallz system
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of leads
The response is of type object.
object