Skip to main content
POST
/
v1
/
lists
/
{listId}
/
contacts
Add contacts to a list
curl --request POST \
  --url https://openapi.enginy.ai/v1/lists/{listId}/contacts \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "contactIds": [
    123
  ]
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {
    "requestedCount": 123,
    "addedCount": 123,
    "skippedCount": 123
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

listId
string
required

The list ID

Body

application/json
contactIds
integer[]
required

Array of contact IDs to add/remove

Minimum array length: 1

Response

Contacts added to list

status
enum<string>
required
Available options:
success
message
string
required
data
object
required