curl --request POST \
--url https://api.nuvia.ai/v1/tables/{id}/export-csv \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"view": "<string>",
"filters": [
{
"field": "<string>",
"value": "<string>"
}
],
"sort": "<string>",
"limit": 10000,
"rowIds": [
"<string>"
],
"excludeRowIds": [
"<string>"
]
}
'import requests
url = "https://api.nuvia.ai/v1/tables/{id}/export-csv"
payload = {
"view": "<string>",
"filters": [
{
"field": "<string>",
"value": "<string>"
}
],
"sort": "<string>",
"limit": 10000,
"rowIds": ["<string>"],
"excludeRowIds": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
view: '<string>',
filters: [{field: '<string>', value: '<string>'}],
sort: '<string>',
limit: 10000,
rowIds: ['<string>'],
excludeRowIds: ['<string>']
})
};
fetch('https://api.nuvia.ai/v1/tables/{id}/export-csv', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nuvia.ai/v1/tables/{id}/export-csv",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'view' => '<string>',
'filters' => [
[
'field' => '<string>',
'value' => '<string>'
]
],
'sort' => '<string>',
'limit' => 10000,
'rowIds' => [
'<string>'
],
'excludeRowIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nuvia.ai/v1/tables/{id}/export-csv"
payload := strings.NewReader("{\n \"view\": \"<string>\",\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"sort\": \"<string>\",\n \"limit\": 10000,\n \"rowIds\": [\n \"<string>\"\n ],\n \"excludeRowIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nuvia.ai/v1/tables/{id}/export-csv")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"view\": \"<string>\",\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"sort\": \"<string>\",\n \"limit\": 10000,\n \"rowIds\": [\n \"<string>\"\n ],\n \"excludeRowIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nuvia.ai/v1/tables/{id}/export-csv")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"view\": \"<string>\",\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"sort\": \"<string>\",\n \"limit\": 10000,\n \"rowIds\": [\n \"<string>\"\n ],\n \"excludeRowIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_bodyExportar lista en CSV (selección grande)
Misma exportación del GET, con los parámetros en el body. Necesario cuando la selección tiene más de 100 filas: en la query string el parser convierte el array en objeto (qs arrayLimit) y la URL supera el maxHeaderSize de Node.
curl --request POST \
--url https://api.nuvia.ai/v1/tables/{id}/export-csv \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"view": "<string>",
"filters": [
{
"field": "<string>",
"value": "<string>"
}
],
"sort": "<string>",
"limit": 10000,
"rowIds": [
"<string>"
],
"excludeRowIds": [
"<string>"
]
}
'import requests
url = "https://api.nuvia.ai/v1/tables/{id}/export-csv"
payload = {
"view": "<string>",
"filters": [
{
"field": "<string>",
"value": "<string>"
}
],
"sort": "<string>",
"limit": 10000,
"rowIds": ["<string>"],
"excludeRowIds": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
view: '<string>',
filters: [{field: '<string>', value: '<string>'}],
sort: '<string>',
limit: 10000,
rowIds: ['<string>'],
excludeRowIds: ['<string>']
})
};
fetch('https://api.nuvia.ai/v1/tables/{id}/export-csv', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nuvia.ai/v1/tables/{id}/export-csv",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'view' => '<string>',
'filters' => [
[
'field' => '<string>',
'value' => '<string>'
]
],
'sort' => '<string>',
'limit' => 10000,
'rowIds' => [
'<string>'
],
'excludeRowIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nuvia.ai/v1/tables/{id}/export-csv"
payload := strings.NewReader("{\n \"view\": \"<string>\",\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"sort\": \"<string>\",\n \"limit\": 10000,\n \"rowIds\": [\n \"<string>\"\n ],\n \"excludeRowIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nuvia.ai/v1/tables/{id}/export-csv")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"view\": \"<string>\",\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"sort\": \"<string>\",\n \"limit\": 10000,\n \"rowIds\": [\n \"<string>\"\n ],\n \"excludeRowIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nuvia.ai/v1/tables/{id}/export-csv")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"view\": \"<string>\",\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"sort\": \"<string>\",\n \"limit\": 10000,\n \"rowIds\": [\n \"<string>\"\n ],\n \"excludeRowIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_bodyAutorizaciones
Token JWT de autenticação
Encabezados
Identificador de la empresa objetivo. Obligatorio solo para API keys globales (type=global). Se ignora para API keys de empresa y usuarios humanos.
Parámetros de ruta
ID de la lista
Cuerpo
ID de la view a usar. Si se omite, se usa la view predeterminada
Filtros para aplicar en las rows
Show child attributes
Show child attributes
Columna para la ordenación
Dirección de la ordenación
asc, desc Límite de filas a exportar (máx. 10000)
1 <= x <= 10000IDs de las rows a exportar (solo seleccionadas). Cuando se informa, exporta solo esas rows.
10000IDs de rows a excluir de la exportación. Se usa cuando "seleccionar todos" está activo.
10000