curl --location --request POST 'https://api.userorbit.com/v1/public/feedback-comments.create' \
--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"feedbackId": "feedback-uuid",
"text": "This would be really useful for our team!"
}'
const response = await fetch('https://api.userorbit.com/v1/public/feedback-comments.create', {
method: 'POST',
headers: {
'Authorization': 'Bearer SUBSCRIBER_JWT_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
feedbackId: 'feedback-uuid',
text: 'This would be really useful for our team!'
})
});
const { data: comment } = await response.json();
import requests
response = requests.post(
'https://api.userorbit.com/v1/public/feedback-comments.create',
headers={
'Authorization': 'Bearer SUBSCRIBER_JWT_TOKEN',
'Content-Type': 'application/json'
},
json={
'feedbackId': 'feedback-uuid',
'text': 'This would be really useful for our team!'
}
)
comment = response.json()['data']
{
"data": {
"id": "comment-uuid",
"text": "This would be really useful for our team!",
"feedbackId": "feedback-uuid",
"subscriberId": "subscriber-uuid",
"subscriber": {
"id": "subscriber-uuid",
"name": "John Doe",
"email": "john@example.com",
"avatarUrl": "https://example.com/avatar.jpg"
},
"isPrivate": false,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}
Comments
Create Feedback Comment
Add a comment to a feedback item. Requires subscriber authentication.
POST
/
v1
/
public
/
feedback-comments.create
curl --location --request POST 'https://api.userorbit.com/v1/public/feedback-comments.create' \
--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"feedbackId": "feedback-uuid",
"text": "This would be really useful for our team!"
}'
const response = await fetch('https://api.userorbit.com/v1/public/feedback-comments.create', {
method: 'POST',
headers: {
'Authorization': 'Bearer SUBSCRIBER_JWT_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
feedbackId: 'feedback-uuid',
text: 'This would be really useful for our team!'
})
});
const { data: comment } = await response.json();
import requests
response = requests.post(
'https://api.userorbit.com/v1/public/feedback-comments.create',
headers={
'Authorization': 'Bearer SUBSCRIBER_JWT_TOKEN',
'Content-Type': 'application/json'
},
json={
'feedbackId': 'feedback-uuid',
'text': 'This would be really useful for our team!'
}
)
comment = response.json()['data']
{
"data": {
"id": "comment-uuid",
"text": "This would be really useful for our team!",
"feedbackId": "feedback-uuid",
"subscriberId": "subscriber-uuid",
"subscriber": {
"id": "subscriber-uuid",
"name": "John Doe",
"email": "john@example.com",
"avatarUrl": "https://example.com/avatar.jpg"
},
"isPrivate": false,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}
Authentication
Requires subscriber JWT token from login/identify.Authorization: Bearer SUBSCRIBER_JWT_TOKEN
Request Body
string
required
The feedback ID to comment on
string
required
The comment text content. Minimum 1 character.
boolean
default:"false"
Whether this is a private comment (team only). Requires team member authentication.
Response
object
curl --location --request POST 'https://api.userorbit.com/v1/public/feedback-comments.create' \
--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"feedbackId": "feedback-uuid",
"text": "This would be really useful for our team!"
}'
const response = await fetch('https://api.userorbit.com/v1/public/feedback-comments.create', {
method: 'POST',
headers: {
'Authorization': 'Bearer SUBSCRIBER_JWT_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
feedbackId: 'feedback-uuid',
text: 'This would be really useful for our team!'
})
});
const { data: comment } = await response.json();
import requests
response = requests.post(
'https://api.userorbit.com/v1/public/feedback-comments.create',
headers={
'Authorization': 'Bearer SUBSCRIBER_JWT_TOKEN',
'Content-Type': 'application/json'
},
json={
'feedbackId': 'feedback-uuid',
'text': 'This would be really useful for our team!'
}
)
comment = response.json()['data']
{
"data": {
"id": "comment-uuid",
"text": "This would be really useful for our team!",
"feedbackId": "feedback-uuid",
"subscriberId": "subscriber-uuid",
"subscriber": {
"id": "subscriber-uuid",
"name": "John Doe",
"email": "john@example.com",
"avatarUrl": "https://example.com/avatar.jpg"
},
"isPrivate": false,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}
Behavior
- Auto-Subscribe: Creator automatically subscribed to feedback notifications
- Moderation: May require approval if team has moderation enabled
- Notifications: Triggers notifications to feedback creator and other subscribers
- Private Comments: Only team members can create private comments
Use Cases
- User Engagement: Allow users to discuss feedback
- Team Responses: Team members can respond to feedback
- Internal Notes: Team members can add private notes
Notes
- Requires valid subscriber JWT token
- Empty text will fail validation
- Private comments only visible to team members
- Comment count incremented automatically
- Triggers webhook events if configured
Was this page helpful?

