How to set the owner field - ticket API creation

SOLVE
Highlighted
Regular Contributor

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

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Regular Advisor
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
Digital Marketing & Inbound Expert In Growth Hacking Technology
2 Replies 2
Regular Advisor
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
Digital Marketing & Inbound Expert In Growth Hacking Technology
Regular Contributor

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