Developer API - Access thread details

Developer API - Access thread details

We would like to use the developer API to export the message contents (emails in and out) from support tickets. Is this possible?

Also, are comments accessible via the API?

Thanks