Droplets
Create a droplet
Create a droplet owned by your company. name and embed_url are required. Set install_webhook_url and uninstall_webhook_url to receive install and uninstall events, categories to a list of droplet category slugs, and extension_zip_url to import a theme extension from a zip file.
The response includes the droplet’s webhook_secret. It is returned only here, so store it: use it to verify the webhooks Fluid sends your droplet.
Call it with a Bearer token for your company that has the droplets.update permission. An invalid URL or unknown category slug returns 422.
POST
/
api
/
droplets
Create a droplet
curl --request POST \
--url https://api.fluid.app/api/droplets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"droplet": {
"name": "Middle-Out Order Analytics",
"embed_url": "https://apps.piedpiper.com/fluid/embed",
"install_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/install",
"uninstall_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/uninstall",
"settings": {
"marketplace_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "Order and rep performance dashboards, compressed to what matters."
},
"details_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "See sales by rep, product, and country without exporting a single spreadsheet.",
"features": [
{
"name": "Rep leaderboards",
"summary": "Rank reps by sales and new enrollments.",
"details": "Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.",
"image_url": "https://cdn.piedpiper.com/fluid/leaderboard.png"
}
]
},
"service_operational_countries": [
"USA",
"CAN"
]
},
"requested_scopes": [
"orders",
"products",
"members"
],
"categories": [
"analytics-reporting"
]
}
}
'import requests
url = "https://api.fluid.app/api/droplets"
payload = { "droplet": {
"name": "Middle-Out Order Analytics",
"embed_url": "https://apps.piedpiper.com/fluid/embed",
"install_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/install",
"uninstall_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/uninstall",
"settings": {
"marketplace_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "Order and rep performance dashboards, compressed to what matters."
},
"details_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "See sales by rep, product, and country without exporting a single spreadsheet.",
"features": [
{
"name": "Rep leaderboards",
"summary": "Rank reps by sales and new enrollments.",
"details": "Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.",
"image_url": "https://cdn.piedpiper.com/fluid/leaderboard.png"
}
]
},
"service_operational_countries": ["USA", "CAN"]
},
"requested_scopes": ["orders", "products", "members"],
"categories": ["analytics-reporting"]
} }
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({
droplet: {
name: 'Middle-Out Order Analytics',
embed_url: 'https://apps.piedpiper.com/fluid/embed',
install_webhook_url: 'https://apps.piedpiper.com/fluid/webhooks/install',
uninstall_webhook_url: 'https://apps.piedpiper.com/fluid/webhooks/uninstall',
settings: {
marketplace_page: {
title: 'Middle-Out Order Analytics',
logo_url: 'https://cdn.piedpiper.com/fluid/middle-out-logo.png',
summary: 'Order and rep performance dashboards, compressed to what matters.'
},
details_page: {
title: 'Middle-Out Order Analytics',
logo_url: 'https://cdn.piedpiper.com/fluid/middle-out-logo.png',
summary: 'See sales by rep, product, and country without exporting a single spreadsheet.',
features: [
{
name: 'Rep leaderboards',
summary: 'Rank reps by sales and new enrollments.',
details: 'Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.',
image_url: 'https://cdn.piedpiper.com/fluid/leaderboard.png'
}
]
},
service_operational_countries: ['USA', 'CAN']
},
requested_scopes: ['orders', 'products', 'members'],
categories: ['analytics-reporting']
}
})
};
fetch('https://api.fluid.app/api/droplets', 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/droplets",
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([
'droplet' => [
'name' => 'Middle-Out Order Analytics',
'embed_url' => 'https://apps.piedpiper.com/fluid/embed',
'install_webhook_url' => 'https://apps.piedpiper.com/fluid/webhooks/install',
'uninstall_webhook_url' => 'https://apps.piedpiper.com/fluid/webhooks/uninstall',
'settings' => [
'marketplace_page' => [
'title' => 'Middle-Out Order Analytics',
'logo_url' => 'https://cdn.piedpiper.com/fluid/middle-out-logo.png',
'summary' => 'Order and rep performance dashboards, compressed to what matters.'
],
'details_page' => [
'title' => 'Middle-Out Order Analytics',
'logo_url' => 'https://cdn.piedpiper.com/fluid/middle-out-logo.png',
'summary' => 'See sales by rep, product, and country without exporting a single spreadsheet.',
'features' => [
[
'name' => 'Rep leaderboards',
'summary' => 'Rank reps by sales and new enrollments.',
'details' => 'Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.',
'image_url' => 'https://cdn.piedpiper.com/fluid/leaderboard.png'
]
]
],
'service_operational_countries' => [
'USA',
'CAN'
]
],
'requested_scopes' => [
'orders',
'products',
'members'
],
'categories' => [
'analytics-reporting'
]
]
]),
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/droplets"
payload := strings.NewReader("{\n \"droplet\": {\n \"name\": \"Middle-Out Order Analytics\",\n \"embed_url\": \"https://apps.piedpiper.com/fluid/embed\",\n \"install_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/install\",\n \"uninstall_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/uninstall\",\n \"settings\": {\n \"marketplace_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"Order and rep performance dashboards, compressed to what matters.\"\n },\n \"details_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"See sales by rep, product, and country without exporting a single spreadsheet.\",\n \"features\": [\n {\n \"name\": \"Rep leaderboards\",\n \"summary\": \"Rank reps by sales and new enrollments.\",\n \"details\": \"Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.\",\n \"image_url\": \"https://cdn.piedpiper.com/fluid/leaderboard.png\"\n }\n ]\n },\n \"service_operational_countries\": [\n \"USA\",\n \"CAN\"\n ]\n },\n \"requested_scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ],\n \"categories\": [\n \"analytics-reporting\"\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/droplets")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"droplet\": {\n \"name\": \"Middle-Out Order Analytics\",\n \"embed_url\": \"https://apps.piedpiper.com/fluid/embed\",\n \"install_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/install\",\n \"uninstall_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/uninstall\",\n \"settings\": {\n \"marketplace_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"Order and rep performance dashboards, compressed to what matters.\"\n },\n \"details_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"See sales by rep, product, and country without exporting a single spreadsheet.\",\n \"features\": [\n {\n \"name\": \"Rep leaderboards\",\n \"summary\": \"Rank reps by sales and new enrollments.\",\n \"details\": \"Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.\",\n \"image_url\": \"https://cdn.piedpiper.com/fluid/leaderboard.png\"\n }\n ]\n },\n \"service_operational_countries\": [\n \"USA\",\n \"CAN\"\n ]\n },\n \"requested_scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ],\n \"categories\": [\n \"analytics-reporting\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/droplets")
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 \"droplet\": {\n \"name\": \"Middle-Out Order Analytics\",\n \"embed_url\": \"https://apps.piedpiper.com/fluid/embed\",\n \"install_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/install\",\n \"uninstall_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/uninstall\",\n \"settings\": {\n \"marketplace_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"Order and rep performance dashboards, compressed to what matters.\"\n },\n \"details_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"See sales by rep, product, and country without exporting a single spreadsheet.\",\n \"features\": [\n {\n \"name\": \"Rep leaderboards\",\n \"summary\": \"Rank reps by sales and new enrollments.\",\n \"details\": \"Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.\",\n \"image_url\": \"https://cdn.piedpiper.com/fluid/leaderboard.png\"\n }\n ]\n },\n \"service_operational_countries\": [\n \"USA\",\n \"CAN\"\n ]\n },\n \"requested_scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ],\n \"categories\": [\n \"analytics-reporting\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"droplet": {
"uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"name": "Middle-Out Order Analytics",
"categories": [
"Analytics & Reporting"
],
"active": false,
"publicly_available": false,
"embed_url": "https://apps.piedpiper.com/fluid/embed",
"requested_scopes": [
"orders",
"products",
"members"
],
"created_at": "2026-09-08T16:20:44Z",
"settings": {
"marketplace_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "Order and rep performance dashboards, compressed to what matters."
},
"details_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "See sales by rep, product, and country without exporting a single spreadsheet.",
"features": [
{
"name": "Rep leaderboards",
"summary": "Rank reps by sales and new enrollments.",
"details": "Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.",
"image_url": "https://cdn.piedpiper.com/fluid/leaderboard.png",
"video_url": null
}
]
},
"service_operational_countries": [
"USA",
"CAN"
]
},
"app_extensions": [],
"install_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/install",
"uninstall_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/uninstall",
"widget_data_url": null,
"lifecycle_contract_version": "v2",
"webhook_secret": "dws_6Pj2KxN8vR4mTq9BzL3hWc7YfG1sDa5Ek"
},
"meta": {
"request_id": "7e2c9b41-3f8a-4d15-b6e0-9a4c21d7f583",
"timestamp": "2026-09-14T15:32:08Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}⌘I
Create a droplet
curl --request POST \
--url https://api.fluid.app/api/droplets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"droplet": {
"name": "Middle-Out Order Analytics",
"embed_url": "https://apps.piedpiper.com/fluid/embed",
"install_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/install",
"uninstall_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/uninstall",
"settings": {
"marketplace_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "Order and rep performance dashboards, compressed to what matters."
},
"details_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "See sales by rep, product, and country without exporting a single spreadsheet.",
"features": [
{
"name": "Rep leaderboards",
"summary": "Rank reps by sales and new enrollments.",
"details": "Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.",
"image_url": "https://cdn.piedpiper.com/fluid/leaderboard.png"
}
]
},
"service_operational_countries": [
"USA",
"CAN"
]
},
"requested_scopes": [
"orders",
"products",
"members"
],
"categories": [
"analytics-reporting"
]
}
}
'import requests
url = "https://api.fluid.app/api/droplets"
payload = { "droplet": {
"name": "Middle-Out Order Analytics",
"embed_url": "https://apps.piedpiper.com/fluid/embed",
"install_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/install",
"uninstall_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/uninstall",
"settings": {
"marketplace_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "Order and rep performance dashboards, compressed to what matters."
},
"details_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "See sales by rep, product, and country without exporting a single spreadsheet.",
"features": [
{
"name": "Rep leaderboards",
"summary": "Rank reps by sales and new enrollments.",
"details": "Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.",
"image_url": "https://cdn.piedpiper.com/fluid/leaderboard.png"
}
]
},
"service_operational_countries": ["USA", "CAN"]
},
"requested_scopes": ["orders", "products", "members"],
"categories": ["analytics-reporting"]
} }
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({
droplet: {
name: 'Middle-Out Order Analytics',
embed_url: 'https://apps.piedpiper.com/fluid/embed',
install_webhook_url: 'https://apps.piedpiper.com/fluid/webhooks/install',
uninstall_webhook_url: 'https://apps.piedpiper.com/fluid/webhooks/uninstall',
settings: {
marketplace_page: {
title: 'Middle-Out Order Analytics',
logo_url: 'https://cdn.piedpiper.com/fluid/middle-out-logo.png',
summary: 'Order and rep performance dashboards, compressed to what matters.'
},
details_page: {
title: 'Middle-Out Order Analytics',
logo_url: 'https://cdn.piedpiper.com/fluid/middle-out-logo.png',
summary: 'See sales by rep, product, and country without exporting a single spreadsheet.',
features: [
{
name: 'Rep leaderboards',
summary: 'Rank reps by sales and new enrollments.',
details: 'Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.',
image_url: 'https://cdn.piedpiper.com/fluid/leaderboard.png'
}
]
},
service_operational_countries: ['USA', 'CAN']
},
requested_scopes: ['orders', 'products', 'members'],
categories: ['analytics-reporting']
}
})
};
fetch('https://api.fluid.app/api/droplets', 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/droplets",
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([
'droplet' => [
'name' => 'Middle-Out Order Analytics',
'embed_url' => 'https://apps.piedpiper.com/fluid/embed',
'install_webhook_url' => 'https://apps.piedpiper.com/fluid/webhooks/install',
'uninstall_webhook_url' => 'https://apps.piedpiper.com/fluid/webhooks/uninstall',
'settings' => [
'marketplace_page' => [
'title' => 'Middle-Out Order Analytics',
'logo_url' => 'https://cdn.piedpiper.com/fluid/middle-out-logo.png',
'summary' => 'Order and rep performance dashboards, compressed to what matters.'
],
'details_page' => [
'title' => 'Middle-Out Order Analytics',
'logo_url' => 'https://cdn.piedpiper.com/fluid/middle-out-logo.png',
'summary' => 'See sales by rep, product, and country without exporting a single spreadsheet.',
'features' => [
[
'name' => 'Rep leaderboards',
'summary' => 'Rank reps by sales and new enrollments.',
'details' => 'Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.',
'image_url' => 'https://cdn.piedpiper.com/fluid/leaderboard.png'
]
]
],
'service_operational_countries' => [
'USA',
'CAN'
]
],
'requested_scopes' => [
'orders',
'products',
'members'
],
'categories' => [
'analytics-reporting'
]
]
]),
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/droplets"
payload := strings.NewReader("{\n \"droplet\": {\n \"name\": \"Middle-Out Order Analytics\",\n \"embed_url\": \"https://apps.piedpiper.com/fluid/embed\",\n \"install_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/install\",\n \"uninstall_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/uninstall\",\n \"settings\": {\n \"marketplace_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"Order and rep performance dashboards, compressed to what matters.\"\n },\n \"details_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"See sales by rep, product, and country without exporting a single spreadsheet.\",\n \"features\": [\n {\n \"name\": \"Rep leaderboards\",\n \"summary\": \"Rank reps by sales and new enrollments.\",\n \"details\": \"Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.\",\n \"image_url\": \"https://cdn.piedpiper.com/fluid/leaderboard.png\"\n }\n ]\n },\n \"service_operational_countries\": [\n \"USA\",\n \"CAN\"\n ]\n },\n \"requested_scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ],\n \"categories\": [\n \"analytics-reporting\"\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/droplets")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"droplet\": {\n \"name\": \"Middle-Out Order Analytics\",\n \"embed_url\": \"https://apps.piedpiper.com/fluid/embed\",\n \"install_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/install\",\n \"uninstall_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/uninstall\",\n \"settings\": {\n \"marketplace_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"Order and rep performance dashboards, compressed to what matters.\"\n },\n \"details_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"See sales by rep, product, and country without exporting a single spreadsheet.\",\n \"features\": [\n {\n \"name\": \"Rep leaderboards\",\n \"summary\": \"Rank reps by sales and new enrollments.\",\n \"details\": \"Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.\",\n \"image_url\": \"https://cdn.piedpiper.com/fluid/leaderboard.png\"\n }\n ]\n },\n \"service_operational_countries\": [\n \"USA\",\n \"CAN\"\n ]\n },\n \"requested_scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ],\n \"categories\": [\n \"analytics-reporting\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/droplets")
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 \"droplet\": {\n \"name\": \"Middle-Out Order Analytics\",\n \"embed_url\": \"https://apps.piedpiper.com/fluid/embed\",\n \"install_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/install\",\n \"uninstall_webhook_url\": \"https://apps.piedpiper.com/fluid/webhooks/uninstall\",\n \"settings\": {\n \"marketplace_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"Order and rep performance dashboards, compressed to what matters.\"\n },\n \"details_page\": {\n \"title\": \"Middle-Out Order Analytics\",\n \"logo_url\": \"https://cdn.piedpiper.com/fluid/middle-out-logo.png\",\n \"summary\": \"See sales by rep, product, and country without exporting a single spreadsheet.\",\n \"features\": [\n {\n \"name\": \"Rep leaderboards\",\n \"summary\": \"Rank reps by sales and new enrollments.\",\n \"details\": \"Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.\",\n \"image_url\": \"https://cdn.piedpiper.com/fluid/leaderboard.png\"\n }\n ]\n },\n \"service_operational_countries\": [\n \"USA\",\n \"CAN\"\n ]\n },\n \"requested_scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ],\n \"categories\": [\n \"analytics-reporting\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"droplet": {
"uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"name": "Middle-Out Order Analytics",
"categories": [
"Analytics & Reporting"
],
"active": false,
"publicly_available": false,
"embed_url": "https://apps.piedpiper.com/fluid/embed",
"requested_scopes": [
"orders",
"products",
"members"
],
"created_at": "2026-09-08T16:20:44Z",
"settings": {
"marketplace_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "Order and rep performance dashboards, compressed to what matters."
},
"details_page": {
"title": "Middle-Out Order Analytics",
"logo_url": "https://cdn.piedpiper.com/fluid/middle-out-logo.png",
"summary": "See sales by rep, product, and country without exporting a single spreadsheet.",
"features": [
{
"name": "Rep leaderboards",
"summary": "Rank reps by sales and new enrollments.",
"details": "Daily leaderboards show which reps drive the most revenue, refreshed every hour from your Fluid orders.",
"image_url": "https://cdn.piedpiper.com/fluid/leaderboard.png",
"video_url": null
}
]
},
"service_operational_countries": [
"USA",
"CAN"
]
},
"app_extensions": [],
"install_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/install",
"uninstall_webhook_url": "https://apps.piedpiper.com/fluid/webhooks/uninstall",
"widget_data_url": null,
"lifecycle_contract_version": "v2",
"webhook_secret": "dws_6Pj2KxN8vR4mTq9BzL3hWc7YfG1sDa5Ek"
},
"meta": {
"request_id": "7e2c9b41-3f8a-4d15-b6e0-9a4c21d7f583",
"timestamp": "2026-09-14T15:32:08Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}