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

Authorizations

X-API-Key
string
header
required

Body

application/json
name
string
required

Name of the list to create

Example:

"My list"

people_ids
string[]

ID of people being added

Response

The ID of the list that was created

ID of the list

Example:

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

I