The API's type field should come from the CS data's thread_type field, not its type field, which distinguishes comments from threads.
The API's type field should come from the CS data's thread_type field, not its type field, which distinguishes comments from threads.