curl --request POST \
--url https://app2.freyavoice.ai/api/v2/problems/{problemId}/comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>"
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"comment": {
"id": "<string>",
"problemId": "<string>",
"authorId": "<string>",
"content": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"authorName": "<string>"
}
}
}
}Adds a comment to a problem.
curl --request POST \
--url https://app2.freyavoice.ai/api/v2/problems/{problemId}/comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>"
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"comment": {
"id": "<string>",
"problemId": "<string>",
"authorId": "<string>",
"content": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"authorName": "<string>"
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Problem ID
1