1.0.0
OAS 3.0.0

Combined API

Client Libraries
Shell
Ruby
Node.js
PHP
Python
More

Add lead to contact list and campaign

Body
application/json
api_key
required
string
linkedin_url
required
string uri
list_id
required
string
campaign_id
required
string
data
array object[]
Responses
  • 200

    Lead successfully added to contacts list and campaign

  • 400

    Bad request

  • 401

    Unauthorized - Invalid API key

  • 403

    Forbidden - API key issue or contact already in workspace

  • 404

    List or campaign not found

  • 500

    Internal server error

POST/api/v1/leads
Shell cURL
curl --request POST \
  --url https://prosp.ai/api/v1/leads \
  --header 'Content-Type: application/json' \
  --data '{
  "api_key": "",
  "linkedin_url": "",
  "list_id": "",
  "campaign_id": "",
  "data": [
    {
      "property": "",
      "value": ""
    }
  ]
}'
{
  "message": "success"
}