curl --request POST \
--url https://app.sideshift.app/api/v1/posts/export-handles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"filters": {},
"selectedIds": [
"<string>"
]
}
'import requests
url = "https://app.sideshift.app/api/v1/posts/export-handles"
payload = {
"filters": {},
"selectedIds": ["<string>"]
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({filters: {}, selectedIds: ['<string>']})
};
fetch('https://app.sideshift.app/api/v1/posts/export-handles', 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://app.sideshift.app/api/v1/posts/export-handles",
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([
'filters' => [
],
'selectedIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.sideshift.app/api/v1/posts/export-handles"
payload := strings.NewReader("{\n \"filters\": {},\n \"selectedIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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://app.sideshift.app/api/v1/posts/export-handles")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"filters\": {},\n \"selectedIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/v1/posts/export-handles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filters\": {},\n \"selectedIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body"name,handle,platform,url,type\n\"Alex Rivera\",\"alexrivera\",\"tiktok\",\"https://www.tiktok.com/@alexrivera\",\"creator\"\n\"ghost-42\",\"ghost-42\",\"instagram\",\"\",\"ghost\"\n"Export unique creator handles as CSV
Generate and download a CSV of unique creator handles from the same
filtered set as POST /posts/export. Use this when you need to reach
out to or reconcile the distinct creators behind a filtered posts view,
without the per-post rows.
Handles are deduped by (platform, handle). When the same handle
appears as both a ghost and a resolved creator, the resolved creator
row wins.
Columns (in order): name, handle, platform, url, type.
type is creator for resolved creators or ghost for unresolved
handles.
Accepts the same auth and filter contract as POST /posts/export.
curl --request POST \
--url https://app.sideshift.app/api/v1/posts/export-handles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"filters": {},
"selectedIds": [
"<string>"
]
}
'import requests
url = "https://app.sideshift.app/api/v1/posts/export-handles"
payload = {
"filters": {},
"selectedIds": ["<string>"]
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({filters: {}, selectedIds: ['<string>']})
};
fetch('https://app.sideshift.app/api/v1/posts/export-handles', 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://app.sideshift.app/api/v1/posts/export-handles",
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([
'filters' => [
],
'selectedIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.sideshift.app/api/v1/posts/export-handles"
payload := strings.NewReader("{\n \"filters\": {},\n \"selectedIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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://app.sideshift.app/api/v1/posts/export-handles")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"filters\": {},\n \"selectedIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/v1/posts/export-handles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filters\": {},\n \"selectedIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body"name,handle,platform,url,type\n\"Alex Rivera\",\"alexrivera\",\"tiktok\",\"https://www.tiktok.com/@alexrivera\",\"creator\"\n\"ghost-42\",\"ghost-42\",\"instagram\",\"\",\"ghost\"\n"Authorizations
API key for authentication. Get yours from Settings → Integrations. A key created by a team member acts as that member and follows their current team permissions; a request outside those permissions returns 403 { "error": "insufficient_scope", "scope": "<required>" }.
Body
Response
CSV file stream
The response is of type file.