Skip to main content
PUT
/
api
/
community
/
communitythreads
{
  "Status": 123,
  "Message": "<string>",
  "Value": "<any>",
  "WasSuccessful": true,
  "Errors": [
    {
      "AttemptedValue": "<any>",
      "Message": "<string>",
      "PropertyName": "<string>"
    }
  ]
}
Updates an existing CommunityThread record. You must include the Id of the record to update along with all required fields.

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-Edit role.

Request Body

Required Fields

Id
integer
required
The Id of the CommunityThread record to update.
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.
AddedGuests
integer[]
User IDs to add as guests (used in partial updates).
RemovedGuests
integer[]
User IDs to remove as guests (used in partial updates).
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 PUT \
  "https://spaces.nexudus.com/api/community/communitythreads" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "BusinessId": 0,
    "UserId": 0,
    "Subject": "",
    "Message": "",
    "Id": 87654321
}'

Response

200

Status
integer
HTTP status code. 200 on success.
Message
string
A human-readable message confirming the update.
Value
object
Contains the Id of the updated record.
WasSuccessful
boolean
true if the communitythread was updated successfully.
Errors
array
null on success.
Example Response
{
  "Status": 200,
  "Message": "CommunityThread was successfully updated.",
  "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
}