curl --request PUT \
--url https://api.surefeedback.com/api/v1/comments/{id}/assign-user \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"user_id": "<string>"
}
'{
"success": true,
"message": "Comment assigned successfully",
"data": {
"comment": {
"id": "990e8400-e29b-41d4-a716-446655440004",
"assigned_to": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Jane Smith"
}
}
}
}
Assign a comment to a team member.
curl --request PUT \
--url https://api.surefeedback.com/api/v1/comments/{id}/assign-user \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"user_id": "<string>"
}
'{
"success": true,
"message": "Comment assigned successfully",
"data": {
"comment": {
"id": "990e8400-e29b-41d4-a716-446655440004",
"assigned_to": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Jane Smith"
}
}
}
}
{
"success": true,
"message": "Comment assigned successfully",
"data": {
"comment": {
"id": "990e8400-e29b-41d4-a716-446655440004",
"assigned_to": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Jane Smith"
}
}
}
}
Was this page helpful?