curl --request POST \
--url https://developer.synq.io/api/issues/v1/{issue_id}/comment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"actor": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"comment": "<string>",
"time": "1s"
}'
{
"commentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Post a comment on an issue.
curl --request POST \
--url https://developer.synq.io/api/issues/v1/{issue_id}/comment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"actor": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"comment": "<string>",
"time": "1s"
}'
{
"commentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the issue to post a comment on.
Success
The response is of type object
.