curl --request GET \
--url https://api.goextrovert.com/client/v2/csv-export \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.goextrovert.com/client/v2/csv-export"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.goextrovert.com/client/v2/csv-export', 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.goextrovert.com/client/v2/csv-export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.goextrovert.com/client/v2/csv-export"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.goextrovert.com/client/v2/csv-export")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goextrovert.com/client/v2/csv-export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body<string>{
"status": "error",
"data": null,
"message": "An error occurred while processing the request"
}Download CSV Export
Streams a CSV export of prospects, published comments or Dashboard statistics (text/csv). A file holds at most 10000 rows; a larger export is refused with a message to narrow the filter (a campaign, a list or a shorter period), never cut off. Up to 2 exports of one caller run at a time, and the same export started again within 60 seconds is refused with 429. Access follows the caller’s own rights, exactly as the corresponding lists in the app; an inaccessible campaign or list is refused with 403. The file is UTF-8 with a BOM, with snake_case column names, ISO 8601 dates and full URLs.
curl --request GET \
--url https://api.goextrovert.com/client/v2/csv-export \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.goextrovert.com/client/v2/csv-export"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.goextrovert.com/client/v2/csv-export', 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.goextrovert.com/client/v2/csv-export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.goextrovert.com/client/v2/csv-export"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.goextrovert.com/client/v2/csv-export")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goextrovert.com/client/v2/csv-export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body<string>{
"status": "error",
"data": null,
"message": "An error occurred while processing the request"
}Authorizations
API Key for authentication
Query Parameters
What the file contains. prospects: prospects with their connection and engagement numbers; filter by campaignId or listId. comments: comments published on LinkedIn, oldest first; filter by campaignId and the period, no period means all time. statistics: the Dashboard numbers, one row per day; the period is required and keeps the Dashboard limit of 31 days.
prospects, comments, statistics Optional campaign ID in the caller's scope; omit for every accessible campaign.
Optional prospect list ID; prospects only.
First calendar day of the period, included, YYYY-MM-DD. Given together with endDate.
^\d{4}-\d{2}-\d{2}$Last calendar day of the period, included, YYYY-MM-DD. Given together with startDate.
^\d{4}-\d{2}-\d{2}$IANA timezone the calendar days are taken in. Required for statistics (use the user's profile timezone to match the Dashboard); comments uses UTC without it. In the export link it may be omitted: the Extrovert app then uses the visitor's profile timezone.
1Response
The CSV file.
The response is of type string.