Can we post a comment to a ticket using API?

Can we post a comment to a ticket using API?

Is it possible to post a comment to a ticket using API?