Skip to main content
POST
/
api
/
community
/
communitythreads
{
  "Status": 123,
  "Message": "<string>",
  "Value": "<any>",
  "WasSuccessful": true,
  "Errors": [
    {
      "AttemptedValue": "<any>",
      "Message": "<string>",
      "PropertyName": "<string>"
    }
  ]
}
A CommunityThread represents a conversation posted to the Discussion Board. Discussion boards are a community feature that allows customers to communicate on the Members Portal — they can start, follow, like, and reply to conversations, mention other customers, and receive notifications about new messages. Conversations can be assigned to a group (CommunityGroupId) to control who can see and contribute. Conversations not linked to any group are visible to all customers with access to the Discussion Boards page. Use Tags to help customers find relevant conversations. Set Private to true to limit visibility to only the customers explicitly mentioned in the message. Enable InstantDelivery to push notifications to followers immediately rather than waiting for the daily digest.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the CommunityThread-Create role.

Request Body

Required Fields

BusinessId
integer
required
ID of the location this conversation belongs to.
UserId
integer
required
ID of the user account that posted this conversation.
Subject
string
required
Title or topic of the conversation.
Message
string
required
Body text of the opening message in this conversation.

Optional Fields

CommunityGroupId
integer
ID of the group this conversation is assigned to; the group’s access level (Public, Restricted, or Private) determines who can see and contribute to it.
CoworkerId
integer
ID of the customer profile that posted this conversation.
InstantDelivery
boolean
When true, sends notifications to followers immediately after posting instead of waiting for the daily digest.
Tags
string
Comma-separated tags to help customers find this conversation.
Private
boolean
When true, the conversation is visible only to customers explicitly mentioned in the message.
Guests
integer[]
IDs of users mentioned or invited as guests in this conversation.
IncludeZoomInvite
boolean
When true, attaches a Zoom meeting invite to this conversation.
ZoomEventData
string
JSON payload containing Zoom meeting details attached to this conversation.

Code Examples

curl -X POST \
  "https://spaces.nexudus.com/api/community/communitythreads" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "BusinessId": 0,
    "UserId": 0,
    "Subject": "",
    "Message": ""
}'

Response

200

Status
integer
HTTP status code. 200 on success.
Message
string
A human-readable message confirming the creation.
Value
object
Contains the Id of the newly created record.
WasSuccessful
boolean
true if the communitythread was created successfully.
Errors
array
null on success.
Example Response
{
  "Status": 200,
  "Message": "CommunityThread was successfully created.",
  "Value": {
    "Id": 87654321
  },
  "OpenInDialog": false,
  "OpenInWindow": false,
  "RedirectURL": null,
  "JavaScript": null,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "UpdatedBy": "admin@example.com",
  "Errors": null,
  "WasSuccessful": true
}

400

Message
string
A summary of the validation error(s), in the format PropertyName: error message.
Value
any
null on validation failure.
Errors
object[]
Array of validation errors.
WasSuccessful
boolean
false when the request fails validation.
Example Response
{
  "Message": "Subject: is a required field",
  "Value": null,
  "Errors": [
    {
      "AttemptedValue": null,
      "Message": "is a required field",
      "PropertyName": "Subject"
    }
  ],
  "WasSuccessful": false
}