Customers
Create multiple customers
Creates or updates up to 1,000 customers in one request, matching existing customers by email (emails are lowercased). Each entry may carry a default address. The response lists one id per submitted entry, in order, so an email repeated in the payload returns the same id more than once. Rep attribution, default addresses and identity sync are applied in the background after the response. If any email is invalid, the whole batch is rejected with 422. Requires a company admin Bearer token with the members.manage permission (customers.update is accepted as a fallback).
POST
/
api
/
v2025-06
/
customers
/
bulk
Create multiple customers
curl --request POST \
--url https://api.fluid.app/api/v2025-06/customers/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customers": [
{
"email": "holly.flax@dundermifflin.com",
"first_name": "Holly",
"last_name": "Flax",
"phone": "+16035550148",
"external_id": "crm-99812",
"address": {
"address1": "14 Amherst Street",
"address2": "Apt 3",
"city": "Nashua",
"state": "NH",
"postal_code": "03064",
"country": "US"
}
},
{
"email": "robert.california@sabre.com",
"first_name": "Robert",
"last_name": "California",
"account_id": "DM-CUST-10517"
}
]
}
'import requests
url = "https://api.fluid.app/api/v2025-06/customers/bulk"
payload = { "customers": [
{
"email": "holly.flax@dundermifflin.com",
"first_name": "Holly",
"last_name": "Flax",
"phone": "+16035550148",
"external_id": "crm-99812",
"address": {
"address1": "14 Amherst Street",
"address2": "Apt 3",
"city": "Nashua",
"state": "NH",
"postal_code": "03064",
"country": "US"
}
},
{
"email": "robert.california@sabre.com",
"first_name": "Robert",
"last_name": "California",
"account_id": "DM-CUST-10517"
}
] }
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({
customers: [
{
email: 'holly.flax@dundermifflin.com',
first_name: 'Holly',
last_name: 'Flax',
phone: '+16035550148',
external_id: 'crm-99812',
address: {
address1: '14 Amherst Street',
address2: 'Apt 3',
city: 'Nashua',
state: 'NH',
postal_code: '03064',
country: 'US'
}
},
{
email: 'robert.california@sabre.com',
first_name: 'Robert',
last_name: 'California',
account_id: 'DM-CUST-10517'
}
]
})
};
fetch('https://api.fluid.app/api/v2025-06/customers/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.fluid.app/api/v2025-06/customers/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([
'customers' => [
[
'email' => 'holly.flax@dundermifflin.com',
'first_name' => 'Holly',
'last_name' => 'Flax',
'phone' => '+16035550148',
'external_id' => 'crm-99812',
'address' => [
'address1' => '14 Amherst Street',
'address2' => 'Apt 3',
'city' => 'Nashua',
'state' => 'NH',
'postal_code' => '03064',
'country' => 'US'
]
],
[
'email' => 'robert.california@sabre.com',
'first_name' => 'Robert',
'last_name' => 'California',
'account_id' => 'DM-CUST-10517'
]
]
]),
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.fluid.app/api/v2025-06/customers/bulk"
payload := strings.NewReader("{\n \"customers\": [\n {\n \"email\": \"holly.flax@dundermifflin.com\",\n \"first_name\": \"Holly\",\n \"last_name\": \"Flax\",\n \"phone\": \"+16035550148\",\n \"external_id\": \"crm-99812\",\n \"address\": {\n \"address1\": \"14 Amherst Street\",\n \"address2\": \"Apt 3\",\n \"city\": \"Nashua\",\n \"state\": \"NH\",\n \"postal_code\": \"03064\",\n \"country\": \"US\"\n }\n },\n {\n \"email\": \"robert.california@sabre.com\",\n \"first_name\": \"Robert\",\n \"last_name\": \"California\",\n \"account_id\": \"DM-CUST-10517\"\n }\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.fluid.app/api/v2025-06/customers/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"customers\": [\n {\n \"email\": \"holly.flax@dundermifflin.com\",\n \"first_name\": \"Holly\",\n \"last_name\": \"Flax\",\n \"phone\": \"+16035550148\",\n \"external_id\": \"crm-99812\",\n \"address\": {\n \"address1\": \"14 Amherst Street\",\n \"address2\": \"Apt 3\",\n \"city\": \"Nashua\",\n \"state\": \"NH\",\n \"postal_code\": \"03064\",\n \"country\": \"US\"\n }\n },\n {\n \"email\": \"robert.california@sabre.com\",\n \"first_name\": \"Robert\",\n \"last_name\": \"California\",\n \"account_id\": \"DM-CUST-10517\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/customers/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 \"customers\": [\n {\n \"email\": \"holly.flax@dundermifflin.com\",\n \"first_name\": \"Holly\",\n \"last_name\": \"Flax\",\n \"phone\": \"+16035550148\",\n \"external_id\": \"crm-99812\",\n \"address\": {\n \"address1\": \"14 Amherst Street\",\n \"address2\": \"Apt 3\",\n \"city\": \"Nashua\",\n \"state\": \"NH\",\n \"postal_code\": \"03064\",\n \"country\": \"US\"\n }\n },\n {\n \"email\": \"robert.california@sabre.com\",\n \"first_name\": \"Robert\",\n \"last_name\": \"California\",\n \"account_id\": \"DM-CUST-10517\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"customers": [
{
"id": 48213
},
{
"id": 48221
}
],
"meta": {
"request_id": "c0a8012e-7f3b-4d6a-9e21-5b8d4f2a6c17",
"timestamp": "2026-09-30T14:15:22Z"
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required array length:
1 - 1000 elementsShow child attributes
Show child attributes
⌘I
Create multiple customers
curl --request POST \
--url https://api.fluid.app/api/v2025-06/customers/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customers": [
{
"email": "holly.flax@dundermifflin.com",
"first_name": "Holly",
"last_name": "Flax",
"phone": "+16035550148",
"external_id": "crm-99812",
"address": {
"address1": "14 Amherst Street",
"address2": "Apt 3",
"city": "Nashua",
"state": "NH",
"postal_code": "03064",
"country": "US"
}
},
{
"email": "robert.california@sabre.com",
"first_name": "Robert",
"last_name": "California",
"account_id": "DM-CUST-10517"
}
]
}
'import requests
url = "https://api.fluid.app/api/v2025-06/customers/bulk"
payload = { "customers": [
{
"email": "holly.flax@dundermifflin.com",
"first_name": "Holly",
"last_name": "Flax",
"phone": "+16035550148",
"external_id": "crm-99812",
"address": {
"address1": "14 Amherst Street",
"address2": "Apt 3",
"city": "Nashua",
"state": "NH",
"postal_code": "03064",
"country": "US"
}
},
{
"email": "robert.california@sabre.com",
"first_name": "Robert",
"last_name": "California",
"account_id": "DM-CUST-10517"
}
] }
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({
customers: [
{
email: 'holly.flax@dundermifflin.com',
first_name: 'Holly',
last_name: 'Flax',
phone: '+16035550148',
external_id: 'crm-99812',
address: {
address1: '14 Amherst Street',
address2: 'Apt 3',
city: 'Nashua',
state: 'NH',
postal_code: '03064',
country: 'US'
}
},
{
email: 'robert.california@sabre.com',
first_name: 'Robert',
last_name: 'California',
account_id: 'DM-CUST-10517'
}
]
})
};
fetch('https://api.fluid.app/api/v2025-06/customers/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.fluid.app/api/v2025-06/customers/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([
'customers' => [
[
'email' => 'holly.flax@dundermifflin.com',
'first_name' => 'Holly',
'last_name' => 'Flax',
'phone' => '+16035550148',
'external_id' => 'crm-99812',
'address' => [
'address1' => '14 Amherst Street',
'address2' => 'Apt 3',
'city' => 'Nashua',
'state' => 'NH',
'postal_code' => '03064',
'country' => 'US'
]
],
[
'email' => 'robert.california@sabre.com',
'first_name' => 'Robert',
'last_name' => 'California',
'account_id' => 'DM-CUST-10517'
]
]
]),
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.fluid.app/api/v2025-06/customers/bulk"
payload := strings.NewReader("{\n \"customers\": [\n {\n \"email\": \"holly.flax@dundermifflin.com\",\n \"first_name\": \"Holly\",\n \"last_name\": \"Flax\",\n \"phone\": \"+16035550148\",\n \"external_id\": \"crm-99812\",\n \"address\": {\n \"address1\": \"14 Amherst Street\",\n \"address2\": \"Apt 3\",\n \"city\": \"Nashua\",\n \"state\": \"NH\",\n \"postal_code\": \"03064\",\n \"country\": \"US\"\n }\n },\n {\n \"email\": \"robert.california@sabre.com\",\n \"first_name\": \"Robert\",\n \"last_name\": \"California\",\n \"account_id\": \"DM-CUST-10517\"\n }\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.fluid.app/api/v2025-06/customers/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"customers\": [\n {\n \"email\": \"holly.flax@dundermifflin.com\",\n \"first_name\": \"Holly\",\n \"last_name\": \"Flax\",\n \"phone\": \"+16035550148\",\n \"external_id\": \"crm-99812\",\n \"address\": {\n \"address1\": \"14 Amherst Street\",\n \"address2\": \"Apt 3\",\n \"city\": \"Nashua\",\n \"state\": \"NH\",\n \"postal_code\": \"03064\",\n \"country\": \"US\"\n }\n },\n {\n \"email\": \"robert.california@sabre.com\",\n \"first_name\": \"Robert\",\n \"last_name\": \"California\",\n \"account_id\": \"DM-CUST-10517\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/customers/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 \"customers\": [\n {\n \"email\": \"holly.flax@dundermifflin.com\",\n \"first_name\": \"Holly\",\n \"last_name\": \"Flax\",\n \"phone\": \"+16035550148\",\n \"external_id\": \"crm-99812\",\n \"address\": {\n \"address1\": \"14 Amherst Street\",\n \"address2\": \"Apt 3\",\n \"city\": \"Nashua\",\n \"state\": \"NH\",\n \"postal_code\": \"03064\",\n \"country\": \"US\"\n }\n },\n {\n \"email\": \"robert.california@sabre.com\",\n \"first_name\": \"Robert\",\n \"last_name\": \"California\",\n \"account_id\": \"DM-CUST-10517\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"customers": [
{
"id": 48213
},
{
"id": 48221
}
],
"meta": {
"request_id": "c0a8012e-7f3b-4d6a-9e21-5b8d4f2a6c17",
"timestamp": "2026-09-30T14:15:22Z"
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}