Skip to main content
POST
/
lists
/
companies
Create a new company list
curl --request POST \
  --url https://app.tryspecter.com/api/v1/lists/companies \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "My list",
  "company_ids": [
    "5e3a7f2b0aa7a3270a55f2a7"
  ]
}'
"a1d2434c-e089-480a-8a27-9909d2f558b4"

Authorizations

X-API-Key
string
header
required

Body

application/json

Name and list of companies to add to the new list

name
string
required

Name of the list to create

Example:

"My list"

company_ids
string[]

ID of company being added

Response

The ID of the list that was created

ID of the list

Example:

"a1d2434c-e089-480a-8a27-9909d2f558b4"

I