Community
Create community post
Creates a new forum-style Community post for the authenticated user. The API stores the post and returns the hydrated post with author profile data.
POST
/
v1
/
community
/
posts
Create community post
curl --request POST \
--url https://api.hyperprop.com/platform/v1/community/posts \
--header 'Content-Type: application/json' \
--data '
{
"title": "Chart screenshot upload fails on mobile",
"body": "When I attach a PNG screenshot from iOS, the upload fails before the post is created.",
"category": "bug-reports",
"tags": [
"mobile",
"upload"
],
"imageUrls": [
"https://storage.hyperprop.com/community/screenshots/screenshot.png"
]
}
'import requests
url = "https://api.hyperprop.com/platform/v1/community/posts"
payload = {
"title": "Chart screenshot upload fails on mobile",
"body": "When I attach a PNG screenshot from iOS, the upload fails before the post is created.",
"category": "bug-reports",
"tags": ["mobile", "upload"],
"imageUrls": ["https://storage.hyperprop.com/community/screenshots/screenshot.png"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Chart screenshot upload fails on mobile',
body: JSON.stringify('When I attach a PNG screenshot from iOS, the upload fails before the post is created.'),
category: 'bug-reports',
tags: ['mobile', 'upload'],
imageUrls: ['https://storage.hyperprop.com/community/screenshots/screenshot.png']
})
};
fetch('https://api.hyperprop.com/platform/v1/community/posts', 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.hyperprop.com/platform/v1/community/posts",
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([
'title' => 'Chart screenshot upload fails on mobile',
'body' => 'When I attach a PNG screenshot from iOS, the upload fails before the post is created.',
'category' => 'bug-reports',
'tags' => [
'mobile',
'upload'
],
'imageUrls' => [
'https://storage.hyperprop.com/community/screenshots/screenshot.png'
]
]),
CURLOPT_HTTPHEADER => [
"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.hyperprop.com/platform/v1/community/posts"
payload := strings.NewReader("{\n \"title\": \"Chart screenshot upload fails on mobile\",\n \"body\": \"When I attach a PNG screenshot from iOS, the upload fails before the post is created.\",\n \"category\": \"bug-reports\",\n \"tags\": [\n \"mobile\",\n \"upload\"\n ],\n \"imageUrls\": [\n \"https://storage.hyperprop.com/community/screenshots/screenshot.png\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
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.hyperprop.com/platform/v1/community/posts")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Chart screenshot upload fails on mobile\",\n \"body\": \"When I attach a PNG screenshot from iOS, the upload fails before the post is created.\",\n \"category\": \"bug-reports\",\n \"tags\": [\n \"mobile\",\n \"upload\"\n ],\n \"imageUrls\": [\n \"https://storage.hyperprop.com/community/screenshots/screenshot.png\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/community/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Chart screenshot upload fails on mobile\",\n \"body\": \"When I attach a PNG screenshot from iOS, the upload fails before the post is created.\",\n \"category\": \"bug-reports\",\n \"tags\": [\n \"mobile\",\n \"upload\"\n ],\n \"imageUrls\": [\n \"https://storage.hyperprop.com/community/screenshots/screenshot.png\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Community post created",
"data": {
"post": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"userId": "550e8400-e29b-41d4-a716-446655440001",
"title": "Chart screenshot upload fails on mobile",
"body": "When I attach a PNG screenshot from iOS, the upload fails before the post is created.",
"category": "bug-reports",
"tags": [
"mobile",
"upload"
],
"imageUrls": [
"https://storage.hyperprop.com/community/screenshots/screenshot.png"
],
"repliesCount": 0,
"reactionsCount": 0,
"createdAt": "2026-06-23T12:00:00.000Z",
"updatedAt": "2026-06-23T12:00:00.000Z",
"author": {
"userId": "550e8400-e29b-41d4-a716-446655440001",
"username": "fundedtrader",
"displayName": "Funded Trader",
"avatarUrl": "https://cdn.hyperprop.com/avatar.png",
"registrationNumber": "42"
}
}
}
}{
"success": false,
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid request data",
"code": "BAD_REQUEST"
}{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required",
"code": "UNAUTHORIZED"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}Body
application/json
Short discussion title shown in the community feed
Required string length:
4 - 120Example:
"Chart screenshot upload fails on mobile"
Main post body. Markdown is not interpreted by the first client.
Required string length:
12 - 4000Example:
"When I attach a PNG screenshot from iOS, the upload fails before the post is created."
Community category bucket
Available options:
general, bug-reports, feature-requests Example:
"bug-reports"
Optional lightweight tags. Up to 5 tags, letters/numbers/hyphens only.
Maximum array length:
5Required string length:
1 - 24Pattern:
^[a-zA-Z0-9-]+$Example:
["mobile", "upload"]
Image URLs returned by POST /platform/v1/community/uploads. Up to 4 images per post.
Maximum array length:
4Example:
[
"https://storage.hyperprop.com/community/screenshots/screenshot.png"
]
Related topics
List community postsUpload community imageCreate TOTP challengeCreate an API keyCreate a trading account⌘I
Create community post
curl --request POST \
--url https://api.hyperprop.com/platform/v1/community/posts \
--header 'Content-Type: application/json' \
--data '
{
"title": "Chart screenshot upload fails on mobile",
"body": "When I attach a PNG screenshot from iOS, the upload fails before the post is created.",
"category": "bug-reports",
"tags": [
"mobile",
"upload"
],
"imageUrls": [
"https://storage.hyperprop.com/community/screenshots/screenshot.png"
]
}
'import requests
url = "https://api.hyperprop.com/platform/v1/community/posts"
payload = {
"title": "Chart screenshot upload fails on mobile",
"body": "When I attach a PNG screenshot from iOS, the upload fails before the post is created.",
"category": "bug-reports",
"tags": ["mobile", "upload"],
"imageUrls": ["https://storage.hyperprop.com/community/screenshots/screenshot.png"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Chart screenshot upload fails on mobile',
body: JSON.stringify('When I attach a PNG screenshot from iOS, the upload fails before the post is created.'),
category: 'bug-reports',
tags: ['mobile', 'upload'],
imageUrls: ['https://storage.hyperprop.com/community/screenshots/screenshot.png']
})
};
fetch('https://api.hyperprop.com/platform/v1/community/posts', 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.hyperprop.com/platform/v1/community/posts",
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([
'title' => 'Chart screenshot upload fails on mobile',
'body' => 'When I attach a PNG screenshot from iOS, the upload fails before the post is created.',
'category' => 'bug-reports',
'tags' => [
'mobile',
'upload'
],
'imageUrls' => [
'https://storage.hyperprop.com/community/screenshots/screenshot.png'
]
]),
CURLOPT_HTTPHEADER => [
"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.hyperprop.com/platform/v1/community/posts"
payload := strings.NewReader("{\n \"title\": \"Chart screenshot upload fails on mobile\",\n \"body\": \"When I attach a PNG screenshot from iOS, the upload fails before the post is created.\",\n \"category\": \"bug-reports\",\n \"tags\": [\n \"mobile\",\n \"upload\"\n ],\n \"imageUrls\": [\n \"https://storage.hyperprop.com/community/screenshots/screenshot.png\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
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.hyperprop.com/platform/v1/community/posts")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Chart screenshot upload fails on mobile\",\n \"body\": \"When I attach a PNG screenshot from iOS, the upload fails before the post is created.\",\n \"category\": \"bug-reports\",\n \"tags\": [\n \"mobile\",\n \"upload\"\n ],\n \"imageUrls\": [\n \"https://storage.hyperprop.com/community/screenshots/screenshot.png\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/community/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Chart screenshot upload fails on mobile\",\n \"body\": \"When I attach a PNG screenshot from iOS, the upload fails before the post is created.\",\n \"category\": \"bug-reports\",\n \"tags\": [\n \"mobile\",\n \"upload\"\n ],\n \"imageUrls\": [\n \"https://storage.hyperprop.com/community/screenshots/screenshot.png\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Community post created",
"data": {
"post": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"userId": "550e8400-e29b-41d4-a716-446655440001",
"title": "Chart screenshot upload fails on mobile",
"body": "When I attach a PNG screenshot from iOS, the upload fails before the post is created.",
"category": "bug-reports",
"tags": [
"mobile",
"upload"
],
"imageUrls": [
"https://storage.hyperprop.com/community/screenshots/screenshot.png"
],
"repliesCount": 0,
"reactionsCount": 0,
"createdAt": "2026-06-23T12:00:00.000Z",
"updatedAt": "2026-06-23T12:00:00.000Z",
"author": {
"userId": "550e8400-e29b-41d4-a716-446655440001",
"username": "fundedtrader",
"displayName": "Funded Trader",
"avatarUrl": "https://cdn.hyperprop.com/avatar.png",
"registrationNumber": "42"
}
}
}
}{
"success": false,
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid request data",
"code": "BAD_REQUEST"
}{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required",
"code": "UNAUTHORIZED"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}