helpscout / helpscout-api-php

PHP Wrapper for the Help Scout API
MIT License
98 stars 62 forks source link

SDK v2: Added ability to get a thread's source #242

Closed bkuhl closed 4 years ago

bkuhl commented 4 years ago

Helps fulfill the needs of https://github.com/helpscout/helpscout-api-php/issues/241.

Targets SDK version: v2.6

What

This PR adds the ability to interact with the thread source endpoint, enabling SDK users to obtain the thread email's original source.

Documentation

I've added an example for how to use this in examples/threads.php. Since this isn't an extremely common use case, I'm thinking we exclude it from the main README in the interest of keeping that documentation small.