GET
/
user
/
leads
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"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

List of leads

The response is of type object.