curl --request POST \
--url https://api.surefeedback.com/api/v1/mockup-comments \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"mockup_id": "<string>",
"content": "<string>",
"x_coord": 123,
"y_coord": 123,
"page_number": 123,
"mentions": [
{}
],
"priority": "<string>"
}
'{
"success": true,
"message": "Comment created successfully",
"data": {
"id": "220e8400-e29b-41d4-a716-44665544000c",
"mockup_id": "110e8400-e29b-41d4-a716-44665544000b",
"content": "The button color should be darker.",
"status": "OPEN",
"priority": "MEDIUM",
"x_coord": 45.2,
"y_coord": 30.1,
"page_number": 1
}
}
Create a new comment on a mockup.
curl --request POST \
--url https://api.surefeedback.com/api/v1/mockup-comments \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"mockup_id": "<string>",
"content": "<string>",
"x_coord": 123,
"y_coord": 123,
"page_number": 123,
"mentions": [
{}
],
"priority": "<string>"
}
'{
"success": true,
"message": "Comment created successfully",
"data": {
"id": "220e8400-e29b-41d4-a716-44665544000c",
"mockup_id": "110e8400-e29b-41d4-a716-44665544000b",
"content": "The button color should be darker.",
"status": "OPEN",
"priority": "MEDIUM",
"x_coord": 45.2,
"y_coord": 30.1,
"page_number": 1
}
}
1.MEDIUM.{
"success": true,
"message": "Comment created successfully",
"data": {
"id": "220e8400-e29b-41d4-a716-44665544000c",
"mockup_id": "110e8400-e29b-41d4-a716-44665544000b",
"content": "The button color should be darker.",
"status": "OPEN",
"priority": "MEDIUM",
"x_coord": 45.2,
"y_coord": 30.1,
"page_number": 1
}
}
Was this page helpful?