POST
/
lists
curl --request POST \
  --url https://app.prontohq.com/api/v2/lists \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "name": "<string>",
  "webhook_url": "<string>",
  "companies": [
    {
      "name": "Pronto",
      "country_code": "FR",
      "domain": "prontohq.com",
      "linkedin_url": "https://www.linkedin.com/company/prontohq"
    },
    {
      "name": "Google",
      "country_code": "US",
      "domain": "google.com",
      "linkedin_url": "https://www.linkedin.com/company/google"
    }
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "linkedin_list_id": 123
}

Authorizations

X-API-KEY
string
header
required

Your API key

Body

application/json
List object that needs to be added
name
string
required

The name of the list

companies
object[]
required
Example:
[
  {
    "name": "Pronto",
    "country_code": "FR",
    "domain": "prontohq.com",
    "linkedin_url": "https://www.linkedin.com/company/prontohq"
  },
  {
    "name": "Google",
    "country_code": "US",
    "domain": "google.com",
    "linkedin_url": "https://www.linkedin.com/company/google"
  }
]
webhook_url
string

URL to be notified when the list import is complete

Response

201 - application/json
List created successfully
id
string

The ID of the created list

linkedin_list_id
integer

The ID of the created list