Although you included valid hs_pipeline and hs_pipeline_stage values for your account, I'm guessing the JSON to_json spits out doesn't match the format the Tickets API expects.
Although you included valid hs_pipeline and hs_pipeline_stage values for your account, I'm guessing the JSON to_json spits out doesn't match the format the Tickets API expects.
You are correct I was able to get it working by formatting it like this:
[ { "name": "subject", "value": "This is an example ticket"}, {"name": "content", "value": "Here are the details of the ticket."}, {"name": "hs_pipeline", "value": "0"}, {"name": "hs_pipeline_stage", "value": "1"} ]
NOTE: Ruby devs... httparty didnt like this unless I passed it with a .to_json