Skip to main content
POST
/
v1
/
lists
/
{fromListId}
/
companies
/
move
Move companies between lists
curl --request POST \
  --url https://openapi.enginy.ai/v1/lists/{fromListId}/companies/move \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "toListId": 123,
  "companyIds": [
    123
  ]
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {
    "requestedCount": 123,
    "removedFromSourceCount": 123,
    "addedToDestinationCount": 123,
    "notInSourceCount": 123,
    "alreadyInDestinationCount": 123
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

fromListId
string
required

The source list ID

Body

application/json
toListId
integer
required

Destination list ID

companyIds
integer[]
required

Array of company IDs to move

Minimum array length: 1

Response

Companies moved between lists

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