curl --request POST \
--url https://api.superx.so/v1/contact-lists/{id}/members/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"x_user_ids": [
"944883311",
"44196397",
"1234567890"
]
}
'import requests
url = "https://api.superx.so/v1/contact-lists/{id}/members/bulk"
payload = { "x_user_ids": ["944883311", "44196397", "1234567890"] }
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({x_user_ids: ['944883311', '44196397', '1234567890']})
};
fetch('https://api.superx.so/v1/contact-lists/{id}/members/bulk', 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.superx.so/v1/contact-lists/{id}/members/bulk",
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([
'x_user_ids' => [
'944883311',
'44196397',
'1234567890'
]
]),
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.superx.so/v1/contact-lists/{id}/members/bulk"
payload := strings.NewReader("{\n \"x_user_ids\": [\n \"944883311\",\n \"44196397\",\n \"1234567890\"\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.superx.so/v1/contact-lists/{id}/members/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"x_user_ids\": [\n \"944883311\",\n \"44196397\",\n \"1234567890\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superx.so/v1/contact-lists/{id}/members/bulk")
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 \"x_user_ids\": [\n \"944883311\",\n \"44196397\",\n \"1234567890\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"added": 2,
"duplicates": 0,
"failed": 0,
"not_found": [
"1234567890"
],
"total_in_list_after": 44
}
}{
"error": {
"code": "system_list_read_only",
"message": "System lists are managed automatically and can't be edited."
}
}{
"error": {
"code": "invalid_api_key",
"message": "Unknown or revoked API key"
}
}{
"error": {
"code": "insufficient_scope",
"message": "This API key is read-only. Create a key with the write scope to use this endpoint."
}
}{
"error": {
"code": "list_not_found",
"message": "No contact list with that id belongs to this account."
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded for the Pro plan (30 requests/min). Upgrade for higher limits.",
"retry_after": 42
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch scheduled posts. Try again shortly."
}
}{
"error": {
"code": "upstream_unavailable",
"message": "The scheduling service is temporarily unavailable. Retry with the same Idempotency-Key."
}
}Add contact list members in bulk
Add up to 500 people to a list you created, by numeric X user id.
This endpoint does NO live profile lookup, which is why it costs one
write and no enrichment: it builds each member from the profile SuperX
already stores. Ids SuperX has never seen come back in not_found and
are NOT added, so no placeholder members are ever created. Add those
one at a time with POST /v1/contact-lists/{id}/members and a
handle, which does resolve live (and costs one enrichment unit).
Re-adding an existing member is counted in duplicates, never an
error. Duplicate ids inside one call are collapsed. System lists return
400 system_list_read_only.
Works for your main account or any account linked to it (account_id);
accounts shared with you are read-only. Needs the write scope.
curl --request POST \
--url https://api.superx.so/v1/contact-lists/{id}/members/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"x_user_ids": [
"944883311",
"44196397",
"1234567890"
]
}
'import requests
url = "https://api.superx.so/v1/contact-lists/{id}/members/bulk"
payload = { "x_user_ids": ["944883311", "44196397", "1234567890"] }
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({x_user_ids: ['944883311', '44196397', '1234567890']})
};
fetch('https://api.superx.so/v1/contact-lists/{id}/members/bulk', 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.superx.so/v1/contact-lists/{id}/members/bulk",
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([
'x_user_ids' => [
'944883311',
'44196397',
'1234567890'
]
]),
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.superx.so/v1/contact-lists/{id}/members/bulk"
payload := strings.NewReader("{\n \"x_user_ids\": [\n \"944883311\",\n \"44196397\",\n \"1234567890\"\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.superx.so/v1/contact-lists/{id}/members/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"x_user_ids\": [\n \"944883311\",\n \"44196397\",\n \"1234567890\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superx.so/v1/contact-lists/{id}/members/bulk")
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 \"x_user_ids\": [\n \"944883311\",\n \"44196397\",\n \"1234567890\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"added": 2,
"duplicates": 0,
"failed": 0,
"not_found": [
"1234567890"
],
"total_in_list_after": 44
}
}{
"error": {
"code": "system_list_read_only",
"message": "System lists are managed automatically and can't be edited."
}
}{
"error": {
"code": "invalid_api_key",
"message": "Unknown or revoked API key"
}
}{
"error": {
"code": "insufficient_scope",
"message": "This API key is read-only. Create a key with the write scope to use this endpoint."
}
}{
"error": {
"code": "list_not_found",
"message": "No contact list with that id belongs to this account."
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded for the Pro plan (30 requests/min). Upgrade for higher limits.",
"retry_after": 42
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch scheduled posts. Try again shortly."
}
}{
"error": {
"code": "upstream_unavailable",
"message": "The scheduling service is temporarily unavailable. Retry with the same Idempotency-Key."
}
}Authorizations
A SuperX API key ("sxk_..."), created in the SuperX app under Account > API / MCP / CLI. Keys are server-side secrets.
Path Parameters
The list id from GET /v1/contact-lists.
Body
Response
The bulk add finished. Read the counters for what happened.
Counters from a bulk member add. added + duplicates + failed equals the number of resolvable ids; not_found ids never reached the list.
Members are inserted one at a time upstream, so a 502 or 503 can land after some of them were already added. Retrying the same request is safe: the list dedupes on (list, person), so anything that got in the first time comes back in duplicates rather than being added twice.
Show child attributes
Show child attributes