Today
Pin a Today post
Pin a post to the top of the feed. Admins only. Requires the messaging update permission.
PUT
/
api
/
v1
/
messaging
/
today
/
posts
/
{id}
/
pin
Pin a Today post
curl --request PUT \
--url https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin', 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/v1/messaging/today/posts/{id}/pin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/v1/messaging/today/posts/{id}/pin")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"post": {
"id": "01a15ec7-92e0-7a3b-b4e3-5fc767ad0d9f",
"body": "Our autumn paper bundle is live. Share your link with your contacts this week and the first order ships free.",
"author": {
"id": 48217,
"first_name": "Dwight",
"last_name": "Schrute",
"avatar_url": "https://cdn.fluid.app/avatars/dunder-mifflin/dwight-schrute.jpg",
"avatar_background": "4F46E5",
"receivable_type": "UserCompany",
"bot": false
},
"attachments": [
{
"id": "01a15ec7-92e0-74ad-93cc-3b5716c16309",
"url": "https://cdn.fluid.app/uploads/dunder-mifflin/today/autumn-paper-bundle.jpg",
"filename": "autumn-paper-bundle.jpg",
"content_type": "image/jpeg",
"content_size": 284113,
"image_url": "https://cdn.fluid.app/uploads/dunder-mifflin/today/autumn-paper-bundle.jpg",
"kind": "image",
"metadata": null
}
],
"share_cards": [
{
"kind": "product",
"id": "019e87c6-9900-7f9b-9cb7-0b93713069ba",
"title": "Premium Copy Paper, 10-Ream Case",
"image_url": "https://cdn.fluid.app/products/dunder-mifflin/premium-copy-paper.jpg",
"url": "https://dunder-mifflin.fluid.test/s/k7Qm2xPa",
"price": "$54.99",
"domain": "dunder-mifflin.fluid.test"
}
],
"likes_count": 4,
"comments_count": 2,
"pinned": true,
"pinned_at": "2026-10-22T11:00:00Z",
"edited_at": null,
"created_at": "2026-10-21T14:05:00Z",
"liked": false,
"reported": false,
"can_edit": false,
"can_delete": true,
"can_restore": false,
"archive": null
},
"meta": {
"request_uuid": "3b8e2f61-9c4d-4a7e-8f12-6d5c4b3a2e10",
"timestamp": "2026-10-22T11:00:00Z"
}
}{
"message": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
Bearer token authentication
Path Parameters
The post's uuid_v7.
⌘I
Pin a Today post
curl --request PUT \
--url https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin', 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/v1/messaging/today/posts/{id}/pin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/v1/messaging/today/posts/{id}/pin")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v1/messaging/today/posts/{id}/pin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"post": {
"id": "01a15ec7-92e0-7a3b-b4e3-5fc767ad0d9f",
"body": "Our autumn paper bundle is live. Share your link with your contacts this week and the first order ships free.",
"author": {
"id": 48217,
"first_name": "Dwight",
"last_name": "Schrute",
"avatar_url": "https://cdn.fluid.app/avatars/dunder-mifflin/dwight-schrute.jpg",
"avatar_background": "4F46E5",
"receivable_type": "UserCompany",
"bot": false
},
"attachments": [
{
"id": "01a15ec7-92e0-74ad-93cc-3b5716c16309",
"url": "https://cdn.fluid.app/uploads/dunder-mifflin/today/autumn-paper-bundle.jpg",
"filename": "autumn-paper-bundle.jpg",
"content_type": "image/jpeg",
"content_size": 284113,
"image_url": "https://cdn.fluid.app/uploads/dunder-mifflin/today/autumn-paper-bundle.jpg",
"kind": "image",
"metadata": null
}
],
"share_cards": [
{
"kind": "product",
"id": "019e87c6-9900-7f9b-9cb7-0b93713069ba",
"title": "Premium Copy Paper, 10-Ream Case",
"image_url": "https://cdn.fluid.app/products/dunder-mifflin/premium-copy-paper.jpg",
"url": "https://dunder-mifflin.fluid.test/s/k7Qm2xPa",
"price": "$54.99",
"domain": "dunder-mifflin.fluid.test"
}
],
"likes_count": 4,
"comments_count": 2,
"pinned": true,
"pinned_at": "2026-10-22T11:00:00Z",
"edited_at": null,
"created_at": "2026-10-21T14:05:00Z",
"liked": false,
"reported": false,
"can_edit": false,
"can_delete": true,
"can_restore": false,
"archive": null
},
"meta": {
"request_uuid": "3b8e2f61-9c4d-4a7e-8f12-6d5c4b3a2e10",
"timestamp": "2026-10-22T11:00:00Z"
}
}{
"message": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}