I’ve been able to create a ticket, contact, and company through the API’s, but I’m struggling with getting the contact and company to be associated with a ticket.
I’m currently looking at the CRM API
I created a call
https://api.hubapi.com/crm/v3/associations/contact/ticket/batch/archive?hapikey=<apikey>
{
"inputs": [
{
"from": {
"id": "<contactid>"
},
"to": {
"id": "<ticketid>"
},
"type": "contact_to_ticket"
}
]
}
I get a blank 240 response back when I do this, which appears to be the correct response, however when I go look at that ticket the contact information is empty.
Where am I going wrong with this?
Also for company, would it be
company_to_ticket
?
Thanks