/channels/{id} with the documented body, query parameters, headers, or multipart fields. Prefer the newer authenticated /v1/... integration API where available.{ status, message, data } wrapper.400 invalid request body, query, ObjectId, pagination, file format, or missing required field.401 missing, invalid, expired, or insufficient API key/token.403 key is valid but cannot access this community/channel/user/resource, where supported by the service.404 route or target resource was not found. Several legacy root routes returned 404 on https://api.returning.ai during smoke testing and need backend confirmation before external use.409 duplicate or conflicting state for create/update operations, where applicable.500 unexpected Returning.AI service error./v1/... endpoint in the matching non-Legacy category when one exists.curl --location --request PUT 'https://api.returning.ai/channels/67d04e05f090d20ae5342121' \
--header 'x-api-key: <apiKey>' \
--header 'Content-Type: application/json' \
--data '{
"topic": "Chit Chat",
"channelType": "forum"
}'{
"meta": {
"success": true,
"message": "Channel has been updated successfully",
"devMessage": "Channel has been updated successfully"
},
"body": {
"_id": "{_id}",
"topic": "Report",
"permissions": [],
"userId": "1",
"serverId": "{_id}",
"channelType": "open",
"createdAt": "2024-07-25T16:50:17.610Z",
"updatedAt": "2024-07-25T16:53:27.739Z",
"__v": 0
}
}