APIs & Integrations

AviaraLabs
Member

Associate Custom object with Ticekts

SOLVE

Hello HubSpot Community,

I have successfully created a custom object and have its ID. Additionally, I have a specific ticket ID. I am looking to associate this custom object with the given ticket ID.

Could anyone provide guidance or share the correct API endpoint to achieve this association? Any insights or examples would be greatly appreciated.

Thank you in advance for your assistance!

0 Upvotes
1 Accepted solution
SteveHTM
Solution
Key Advisor

Associate Custom object with Ticekts

SOLVE

@AviaraLabs - Is what you are looking for available here:
https://developers.hubspot.com/docs/guides/api/crm/associations/associations-v4#associate-records

 

You will of coutse have to all create/configure the right association type. This can be set up in the UI under the settings screens for the custom object you have created.

 

Good Luck!

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature

View solution in original post

0 Upvotes
2 Replies 2
kosalaindrasiri
Top Contributor | Partner
Top Contributor | Partner

Associate Custom object with Ticekts

SOLVE

Hi @AviaraLabs,

API to Associate a Custom Object with a Ticket :

/crm/v4/objects/{fromObjectType}/{fromObjectId}/associations/{toObjectType}/{toObjectId}/{associationType}

 

Reference: https://developers.hubspot.com/docs/guides/api/crm/associations/associations-v4#associate-records

 

You might also need Association type ID values

 

Regards,

Kosala

Kosala Indrasiri

CEO

Sanmark Solutions
Linkedin
Kosala Indrasiri
emailAddress
kosala@thesanmark.com
website
www.sanmarksolutions.com
linkedinwhatsapp
Book a Consultation

Did my post help answer your question? Mark this as a solution.

0 Upvotes
SteveHTM
Solution
Key Advisor

Associate Custom object with Ticekts

SOLVE

@AviaraLabs - Is what you are looking for available here:
https://developers.hubspot.com/docs/guides/api/crm/associations/associations-v4#associate-records

 

You will of coutse have to all create/configure the right association type. This can be set up in the UI under the settings screens for the custom object you have created.

 

Good Luck!

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
0 Upvotes