Body Parameters
Title of the post to be created.
Identifier of the board where the post will be created.
Status identifier for the new post.
Description or body of the post.
userName
string | undefined
required
Name of the user creating the post. If anonymous posting is enabled then
userName
is not required.
userEmail
string | undefined
required
Email of the admin creating the post. If anonymous posting is enabled then
userEmail
is not required.
// Replace API_KEY with your api key
curl --location --request POST 'https://api.supahub.com/api/v1/posts' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer API_KEY' \
--data-urlencode 'title=Post title will come here' \
--data-urlencode 'board=clrjfu0l10009bfg8xy27xy8c' \
--data-urlencode 'status=clrjfu0l1000cbfg8nkmdx3vl' \
--data-urlencode 'desc=Post description.' \
--data-urlencode 'tags=clrjfu0l1000ibfg8a5eezedw, clrjfu0l1000hbfg84kvyjexb'