Drop zones
Create a drop zone
Creates a drop zone. name and embed_url are required. When settings has both page and zone, the zone must be valid for that page type (see Get drop zone constants). Called with a droplet token, the drop zone is attached to that droplet installation, and that installation may set drop_zone.app_bridge.app_origins — a list of origins the owning droplet registers against this zone. Any other caller sending app_bridge at all is refused (422), and app_bridge.client_id is never accepted (it is derived server-side from the owning installation). Requires the droplets update permission; a droplet token also needs the web scope.
POST
/
api
/
drop_zones
Create a drop zone
curl --request POST \
--url https://api.fluid.app/api/drop_zones \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"drop_zone": {
"name": "Schrute Farms upsell",
"embed_url": "https://schrute-farms.dundermifflin.com/embeds/checkout-upsell",
"active": true,
"settings": {
"page": "checkout",
"zone": "below_order_items"
}
}
}
'import requests
url = "https://api.fluid.app/api/drop_zones"
payload = { "drop_zone": {
"name": "Schrute Farms upsell",
"embed_url": "https://schrute-farms.dundermifflin.com/embeds/checkout-upsell",
"active": True,
"settings": {
"page": "checkout",
"zone": "below_order_items"
}
} }
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({
drop_zone: {
name: 'Schrute Farms upsell',
embed_url: 'https://schrute-farms.dundermifflin.com/embeds/checkout-upsell',
active: true,
settings: {page: 'checkout', zone: 'below_order_items'}
}
})
};
fetch('https://api.fluid.app/api/drop_zones', 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/drop_zones",
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([
'drop_zone' => [
'name' => 'Schrute Farms upsell',
'embed_url' => 'https://schrute-farms.dundermifflin.com/embeds/checkout-upsell',
'active' => true,
'settings' => [
'page' => 'checkout',
'zone' => 'below_order_items'
]
]
]),
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/drop_zones"
payload := strings.NewReader("{\n \"drop_zone\": {\n \"name\": \"Schrute Farms upsell\",\n \"embed_url\": \"https://schrute-farms.dundermifflin.com/embeds/checkout-upsell\",\n \"active\": true,\n \"settings\": {\n \"page\": \"checkout\",\n \"zone\": \"below_order_items\"\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/drop_zones")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"drop_zone\": {\n \"name\": \"Schrute Farms upsell\",\n \"embed_url\": \"https://schrute-farms.dundermifflin.com/embeds/checkout-upsell\",\n \"active\": true,\n \"settings\": {\n \"page\": \"checkout\",\n \"zone\": \"below_order_items\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/drop_zones")
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 \"drop_zone\": {\n \"name\": \"Schrute Farms upsell\",\n \"embed_url\": \"https://schrute-farms.dundermifflin.com/embeds/checkout-upsell\",\n \"active\": true,\n \"settings\": {\n \"page\": \"checkout\",\n \"zone\": \"below_order_items\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"drop_zone": {
"uuid": "dz_4Hq8ZtVx2mRkP7wN3cLbJe9sFy6aD1uGo",
"name": "Schrute Farms upsell",
"active": true,
"settings": {
"page": "checkout",
"zone": "below_order_items"
},
"embed_url": "https://schrute-farms.dundermifflin.com/embeds/checkout-upsell",
"created_at": "2026-09-21T09:12:44Z"
},
"meta": {
"request_id": "3f9c1a7e-5b2d-4c8e-9a61-2d7f0b4e8c13",
"timestamp": "2026-09-21T09:12:45Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"scheduled_date": "2026-12-10",
"last_bill_date": "2026-11-10",
"requested_date": "2026-11-30",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"scheduled_date": "2026-12-10",
"last_bill_date": "2026-11-10",
"requested_date": "2026-11-30",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"error_message": "Invalid parameters",
"errors": {
"drop_zone": {
"app_bridge": [
"may only contain app_origins — client_id is derived from the owning installation, never accepted as input"
]
}
},
"meta": {
"request_id": "3f9c1a7e-5b2d-4c8e-9a61-2d7f0b4e8c13",
"timestamp": "2026-09-21T09:12:45Z"
}
}⌘I
Create a drop zone
curl --request POST \
--url https://api.fluid.app/api/drop_zones \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"drop_zone": {
"name": "Schrute Farms upsell",
"embed_url": "https://schrute-farms.dundermifflin.com/embeds/checkout-upsell",
"active": true,
"settings": {
"page": "checkout",
"zone": "below_order_items"
}
}
}
'import requests
url = "https://api.fluid.app/api/drop_zones"
payload = { "drop_zone": {
"name": "Schrute Farms upsell",
"embed_url": "https://schrute-farms.dundermifflin.com/embeds/checkout-upsell",
"active": True,
"settings": {
"page": "checkout",
"zone": "below_order_items"
}
} }
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({
drop_zone: {
name: 'Schrute Farms upsell',
embed_url: 'https://schrute-farms.dundermifflin.com/embeds/checkout-upsell',
active: true,
settings: {page: 'checkout', zone: 'below_order_items'}
}
})
};
fetch('https://api.fluid.app/api/drop_zones', 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/drop_zones",
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([
'drop_zone' => [
'name' => 'Schrute Farms upsell',
'embed_url' => 'https://schrute-farms.dundermifflin.com/embeds/checkout-upsell',
'active' => true,
'settings' => [
'page' => 'checkout',
'zone' => 'below_order_items'
]
]
]),
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/drop_zones"
payload := strings.NewReader("{\n \"drop_zone\": {\n \"name\": \"Schrute Farms upsell\",\n \"embed_url\": \"https://schrute-farms.dundermifflin.com/embeds/checkout-upsell\",\n \"active\": true,\n \"settings\": {\n \"page\": \"checkout\",\n \"zone\": \"below_order_items\"\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/drop_zones")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"drop_zone\": {\n \"name\": \"Schrute Farms upsell\",\n \"embed_url\": \"https://schrute-farms.dundermifflin.com/embeds/checkout-upsell\",\n \"active\": true,\n \"settings\": {\n \"page\": \"checkout\",\n \"zone\": \"below_order_items\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/drop_zones")
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 \"drop_zone\": {\n \"name\": \"Schrute Farms upsell\",\n \"embed_url\": \"https://schrute-farms.dundermifflin.com/embeds/checkout-upsell\",\n \"active\": true,\n \"settings\": {\n \"page\": \"checkout\",\n \"zone\": \"below_order_items\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"drop_zone": {
"uuid": "dz_4Hq8ZtVx2mRkP7wN3cLbJe9sFy6aD1uGo",
"name": "Schrute Farms upsell",
"active": true,
"settings": {
"page": "checkout",
"zone": "below_order_items"
},
"embed_url": "https://schrute-farms.dundermifflin.com/embeds/checkout-upsell",
"created_at": "2026-09-21T09:12:44Z"
},
"meta": {
"request_id": "3f9c1a7e-5b2d-4c8e-9a61-2d7f0b4e8c13",
"timestamp": "2026-09-21T09:12:45Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"scheduled_date": "2026-12-10",
"last_bill_date": "2026-11-10",
"requested_date": "2026-11-30",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"scheduled_date": "2026-12-10",
"last_bill_date": "2026-11-10",
"requested_date": "2026-11-30",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"error_message": "Invalid parameters",
"errors": {
"drop_zone": {
"app_bridge": [
"may only contain app_origins — client_id is derived from the owning installation, never accepted as input"
]
}
},
"meta": {
"request_id": "3f9c1a7e-5b2d-4c8e-9a61-2d7f0b4e8c13",
"timestamp": "2026-09-21T09:12:45Z"
}
}