How to set the owner field - ticket API creation

Hello,

I want to create a new ticket by the ticket API, I didn’t find the ticket owner in the Ticket Data section, I only found the ticket creator.

How do I set the ticket owner via the API?

Thanks,

Yoram

Hello @yorambaron
Ticket owner can be assigned via POST api call for creating a new ticket. In the api request you need to set hubspot_owner_id property and in this pass the value of hubspot user ID. The usr ID can be accessed from Ticket properties and then Ticket Owner.
Thanks

Thank you so much! This is exactly what I needed.