Associating a conversation to ticket

Hi There!

I used this API to associate a covnersation to a ticket:

/crm/v4/objects/:objectType/:objectId/associations/:toObjectType/:toObjectId

objectType: ticket

objectId: <ticket id>

toObjectType: conversation

toObjectId: <conversation id>

When I make this request, the association is successfull, and when I go the ticket to see the result I notice a conversation is associated, BUT I only can see the number of conversations like this:
Conversations(1)
And when I click on it, there isn’t any record there to be able to click on it! why this happens? what is happening wrong.

I am inlcuding an image to make it more clear!

Hi @MAsghari,

I would recommend making a GET call to the /crm/v4/objects/ticket/:ticketID/associations/conversation endpoint to get the current associations on this ticket. What I suspect is happening is that you do not have all of the correct assositations types created between the ticket and the conversation. When I call this api on a ticket which does have a converstion showing up correctly I see two different assositation types, 32 and 278, so you could try to use one or the other to see if you get different results.

Best,