curl --request POST \
--url https://api.seesaw.fun/open/v1/topics/{id}/opinion-preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "<string>",
"reply_to_opinion_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.seesaw.fun/open/v1/topics/{id}/opinion-preview"
payload = {
"content": "<string>",
"reply_to_opinion_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
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({
content: '<string>',
reply_to_opinion_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://api.seesaw.fun/open/v1/topics/{id}/opinion-preview', 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.seesaw.fun/open/v1/topics/{id}/opinion-preview",
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([
'content' => '<string>',
'reply_to_opinion_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
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.seesaw.fun/open/v1/topics/{id}/opinion-preview"
payload := strings.NewReader("{\n \"content\": \"<string>\",\n \"reply_to_opinion_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\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.seesaw.fun/open/v1/topics/{id}/opinion-preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"content\": \"<string>\",\n \"reply_to_opinion_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.seesaw.fun/open/v1/topics/{id}/opinion-preview")
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 \"content\": \"<string>\",\n \"reply_to_opinion_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"can_publish": true,
"summary": {
"topic_title": "<string>",
"fee_coins": "<string>",
"balance_after": "<string>",
"side_option_label": "<string>",
"content_preview": "<string>",
"reply_to": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"excerpt": "<string>"
}
},
"reason": "TOPIC_CLOSED",
"confirm_token": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}Preview publishing an opinion (step 1 of 2)
Checks the speaking rules — the owner holds a position on the topic,
trading is still open, the text is 1–500 characters — and returns the
summary to confirm plus, when publishing is possible, a
confirm_token for POST /opinions. Charges nothing. Requires the
write scope; counts against the read window only.
The side the opinion is attributed to is resolved server-side from the owner’s position; it is never client-declared.
curl --request POST \
--url https://api.seesaw.fun/open/v1/topics/{id}/opinion-preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "<string>",
"reply_to_opinion_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.seesaw.fun/open/v1/topics/{id}/opinion-preview"
payload = {
"content": "<string>",
"reply_to_opinion_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
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({
content: '<string>',
reply_to_opinion_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://api.seesaw.fun/open/v1/topics/{id}/opinion-preview', 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.seesaw.fun/open/v1/topics/{id}/opinion-preview",
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([
'content' => '<string>',
'reply_to_opinion_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
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.seesaw.fun/open/v1/topics/{id}/opinion-preview"
payload := strings.NewReader("{\n \"content\": \"<string>\",\n \"reply_to_opinion_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\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.seesaw.fun/open/v1/topics/{id}/opinion-preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"content\": \"<string>\",\n \"reply_to_opinion_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.seesaw.fun/open/v1/topics/{id}/opinion-preview")
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 \"content\": \"<string>\",\n \"reply_to_opinion_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"can_publish": true,
"summary": {
"topic_title": "<string>",
"fee_coins": "<string>",
"balance_after": "<string>",
"side_option_label": "<string>",
"content_preview": "<string>",
"reply_to": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"excerpt": "<string>"
}
},
"reason": "TOPIC_CLOSED",
"confirm_token": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": {}
}
}Authorizations
Personal API key issued per SeeSaw user account:
Authorization: Bearer sspat_…. Manage keys on the app API
(/v1/users/me/api-keys). Revocation propagates within ~60 seconds
(validation cache window).
The key's scopes decide what it may do: every key has read; a key
created with ["read","write"] may also use the six write operations
(marked x-required-scope: write in this document). Scopes are fixed at
creation — to gain write access, create a new key. A read-only key
calling a write operation gets 403 FORBIDDEN_SCOPE.
Path Parameters
Topic UUID.
Body
Response
The preview (check can_publish before confirming)
What the user confirms before POST /opinions. side_option_label is
the owner's staked side, resolved server-side.
Show child attributes
Show child attributes
Present only when can_publish is false. TOPIC_CLOSED takes
priority; CONTENT_INVALID means empty or over 500 characters.
TOPIC_CLOSED, NO_POSITION, CONTENT_INVALID