Agregar o eliminar empresas en su lista
Use este endpoint para gestionar empresas en sus listas añadiendo (attaching) o eliminando (detaching) usando sus dominios o IDs.
Puede modificar hasta 1,000 empresas por solicitud API.
Regístrate para acceder a todas las características de nuestra API
Obtén tus 500 créditos gratuitos y comienza a enriquecer y buscar empresas.
No se requiere tarjeta de crédito
La acción a realizar sobre las empresas: 'attach' para agregarlas a la lista, o 'detach' para eliminarlas de la lista.
Valores posibles
Un array de dominios de empresas (e.g. ['microsoft.com', 'apple.com']) para agregar o eliminar de la lista. Máximo 1,000 dominios.
Un array de IDs de empresas para agregar o eliminar de la lista (cada ID para una empresa está disponible en metas.mysqlId). Máximo 1,000 IDs de empresa.
The analytics of the list.
When the list was created.
2022-02-22T07:23:52.000+00:00
If the list is dynamic or static.
true
The id of the list.
3838
If the list has been imported.
true
The integrations associated with the list.
The name of the list
SaaS with 100k+ MRR
The process active status of the list (for internal use).
true
The process initialized flag (for internal use).
true
When the list is being processed.
2022-02-22T07:23:52.000+00:00
The query used to generate the list.
import createClient from '@thecompaniesapi/sdk'
const tca = createClient({ apiToken: 'YOUR_API_TOKEN' })
const response = await tca.listsToggleCompanies({
listId: 1234,
domains: ['apple.com', 'stripe.com']
})
const list = response.data // The updated list