Change who the member's widget recipe is shown to
Not released yet: every request answers 404 until Fluid turns on the widget library and recipes for the member’s company.
Replaces the recipe’s visibility, people with its audiences or company. Only its author may, while it is published. Official stays as a company admin left it. Bearer only.
curl --request PUT \
--url https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "people",
"audiences": [
{
"audienceKind": "downline"
},
{
"audienceKind": "member",
"memberId": "0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f"
},
{
"audienceKind": "segment",
"countryCode": "US"
}
]
}
'import requests
url = "https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility"
payload = {
"kind": "people",
"audiences": [
{ "audienceKind": "downline" },
{
"audienceKind": "member",
"memberId": "0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f"
},
{
"audienceKind": "segment",
"countryCode": "US"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
kind: 'people',
audiences: [
{audienceKind: 'downline'},
{audienceKind: 'member', memberId: '0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f'},
{audienceKind: 'segment', countryCode: 'US'}
]
})
};
fetch('https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility', 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/member/v2026-10/widgets/{id}/visibility",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'kind' => 'people',
'audiences' => [
[
'audienceKind' => 'downline'
],
[
'audienceKind' => 'member',
'memberId' => '0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f'
],
[
'audienceKind' => 'segment',
'countryCode' => 'US'
]
]
]),
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/member/v2026-10/widgets/{id}/visibility"
payload := strings.NewReader("{\n \"kind\": \"people\",\n \"audiences\": [\n {\n \"audienceKind\": \"downline\"\n },\n {\n \"audienceKind\": \"member\",\n \"memberId\": \"0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f\"\n },\n {\n \"audienceKind\": \"segment\",\n \"countryCode\": \"US\"\n }\n ]\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"people\",\n \"audiences\": [\n {\n \"audienceKind\": \"downline\"\n },\n {\n \"audienceKind\": \"member\",\n \"memberId\": \"0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f\"\n },\n {\n \"audienceKind\": \"segment\",\n \"countryCode\": \"US\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"kind\": \"people\",\n \"audiences\": [\n {\n \"audienceKind\": \"downline\"\n },\n {\n \"audienceKind\": \"member\",\n \"memberId\": \"0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f\"\n },\n {\n \"audienceKind\": \"segment\",\n \"countryCode\": \"US\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"data": {
"id": "0199e9c8-6d2a-7b1e-9f3c-1a2b3c4d5e6f",
"kind": "recipe",
"name": "Event countdown with RSVP",
"slug": "event_countdown",
"prefix": "event_countdown_8f04d3",
"purpose": "Counts down to one event and takes RSVPs from signed-in visitors",
"publisher": {
"memberId": "0199e9c8-1111-7b1e-9f3c-1a2b3c4d5e6f",
"name": "Riley Rep"
},
"official": false,
"officialVersion": null,
"readableVersion": 2,
"visibility": "people",
"latestVersion": 2,
"screenshots": [],
"actions": [
"adapt",
"set_visibility",
"unpublish"
]
},
"meta": {
"request_uuid": "0192f4c8-5b6c-7d74-a3e8-0f1a2b3c4d5e",
"timestamp": "2026-11-30T15:08:21Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
A member credential in the Authorization: Bearer header: a member
session JWT, a portal JWT whose login is linked to a membership in
that company, an opaque member token, or a verified One Auth identity
access token. The credential alone identifies the member and company.
Member session JWTs, and portal JWTs the server minted read-only, are
refused with 403 on every write.
Body
Who a recipe is shown to. Official is never a visibility; it comes from a company admin.
curl --request PUT \
--url https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "people",
"audiences": [
{
"audienceKind": "downline"
},
{
"audienceKind": "member",
"memberId": "0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f"
},
{
"audienceKind": "segment",
"countryCode": "US"
}
]
}
'import requests
url = "https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility"
payload = {
"kind": "people",
"audiences": [
{ "audienceKind": "downline" },
{
"audienceKind": "member",
"memberId": "0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f"
},
{
"audienceKind": "segment",
"countryCode": "US"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
kind: 'people',
audiences: [
{audienceKind: 'downline'},
{audienceKind: 'member', memberId: '0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f'},
{audienceKind: 'segment', countryCode: 'US'}
]
})
};
fetch('https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility', 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/member/v2026-10/widgets/{id}/visibility",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'kind' => 'people',
'audiences' => [
[
'audienceKind' => 'downline'
],
[
'audienceKind' => 'member',
'memberId' => '0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f'
],
[
'audienceKind' => 'segment',
'countryCode' => 'US'
]
]
]),
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/member/v2026-10/widgets/{id}/visibility"
payload := strings.NewReader("{\n \"kind\": \"people\",\n \"audiences\": [\n {\n \"audienceKind\": \"downline\"\n },\n {\n \"audienceKind\": \"member\",\n \"memberId\": \"0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f\"\n },\n {\n \"audienceKind\": \"segment\",\n \"countryCode\": \"US\"\n }\n ]\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"people\",\n \"audiences\": [\n {\n \"audienceKind\": \"downline\"\n },\n {\n \"audienceKind\": \"member\",\n \"memberId\": \"0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f\"\n },\n {\n \"audienceKind\": \"segment\",\n \"countryCode\": \"US\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/member/v2026-10/widgets/{id}/visibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"kind\": \"people\",\n \"audiences\": [\n {\n \"audienceKind\": \"downline\"\n },\n {\n \"audienceKind\": \"member\",\n \"memberId\": \"0199e9c8-3333-7b1e-9f3c-1a2b3c4d5e6f\"\n },\n {\n \"audienceKind\": \"segment\",\n \"countryCode\": \"US\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"data": {
"id": "0199e9c8-6d2a-7b1e-9f3c-1a2b3c4d5e6f",
"kind": "recipe",
"name": "Event countdown with RSVP",
"slug": "event_countdown",
"prefix": "event_countdown_8f04d3",
"purpose": "Counts down to one event and takes RSVPs from signed-in visitors",
"publisher": {
"memberId": "0199e9c8-1111-7b1e-9f3c-1a2b3c4d5e6f",
"name": "Riley Rep"
},
"official": false,
"officialVersion": null,
"readableVersion": 2,
"visibility": "people",
"latestVersion": 2,
"screenshots": [],
"actions": [
"adapt",
"set_visibility",
"unpublish"
]
},
"meta": {
"request_uuid": "0192f4c8-5b6c-7d74-a3e8-0f1a2b3c4d5e",
"timestamp": "2026-11-30T15:08:21Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}