Installations
Create a droplet installation
Install a droplet on your company. Pass the droplet’s uuid as droplet_uuid. You can install a published droplet, one your company owns, or one another company granted you access to, as long as it is operational.
Optionally pass scopes to set the installation’s scopes and role_id to attach one of your company’s roles. An unknown role_id returns 422.
When the installation is created, Fluid sends the droplet’s install webhook so the droplet can set itself up for your company.
Call it with a company admin’s Bearer token, or a company API or partner token, that has the droplets.update permission. Other callers get 401. A droplet that is already installed on your company returns 409; a droplet your company cannot install returns 404.
POST
/
api
/
droplet_installations
Create a droplet installation
curl --request POST \
--url https://api.fluid.app/api/droplet_installations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"droplet_uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"scopes": [
"orders",
"products"
]
}
'import requests
url = "https://api.fluid.app/api/droplet_installations"
payload = {
"droplet_uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"scopes": ["orders", "products"]
}
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_uuid: 'drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u',
scopes: ['orders', 'products']
})
};
fetch('https://api.fluid.app/api/droplet_installations', 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/droplet_installations",
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_uuid' => 'drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u',
'scopes' => [
'orders',
'products'
]
]),
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/droplet_installations"
payload := strings.NewReader("{\n \"droplet_uuid\": \"drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u\",\n \"scopes\": [\n \"orders\",\n \"products\"\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/droplet_installations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"droplet_uuid\": \"drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u\",\n \"scopes\": [\n \"orders\",\n \"products\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/droplet_installations")
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_uuid\": \"drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u\",\n \"scopes\": [\n \"orders\",\n \"products\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"droplet_installation": {
"uuid": "dri_9Hc3LmQ7vT2xNp5KwB8rYf4ZjD6sAg1Ue",
"id": 48213,
"droplet_uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"droplet_name": "Middle-Out Order Analytics",
"active": true,
"scopes": [
"orders",
"products"
],
"effective_scopes": [
"orders",
"products"
],
"created_at": "2026-09-14T15:32:08Z"
},
"meta": {
"request_id": "7e2c9b41-3f8a-4d15-b6e0-9a4c21d7f583",
"timestamp": "2026-09-14T15:32:08Z"
}
}{
"message": "<string>"
}{
"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 installation
curl --request POST \
--url https://api.fluid.app/api/droplet_installations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"droplet_uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"scopes": [
"orders",
"products"
]
}
'import requests
url = "https://api.fluid.app/api/droplet_installations"
payload = {
"droplet_uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"scopes": ["orders", "products"]
}
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_uuid: 'drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u',
scopes: ['orders', 'products']
})
};
fetch('https://api.fluid.app/api/droplet_installations', 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/droplet_installations",
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_uuid' => 'drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u',
'scopes' => [
'orders',
'products'
]
]),
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/droplet_installations"
payload := strings.NewReader("{\n \"droplet_uuid\": \"drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u\",\n \"scopes\": [\n \"orders\",\n \"products\"\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/droplet_installations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"droplet_uuid\": \"drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u\",\n \"scopes\": [\n \"orders\",\n \"products\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/droplet_installations")
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_uuid\": \"drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u\",\n \"scopes\": [\n \"orders\",\n \"products\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"droplet_installation": {
"uuid": "dri_9Hc3LmQ7vT2xNp5KwB8rYf4ZjD6sAg1Ue",
"id": 48213,
"droplet_uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"droplet_name": "Middle-Out Order Analytics",
"active": true,
"scopes": [
"orders",
"products"
],
"effective_scopes": [
"orders",
"products"
],
"created_at": "2026-09-14T15:32:08Z"
},
"meta": {
"request_id": "7e2c9b41-3f8a-4d15-b6e0-9a4c21d7f583",
"timestamp": "2026-09-14T15:32:08Z"
}
}{
"message": "<string>"
}{
"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"
}
}