Answered

The tag field on contact

The tag field isn't avialable when looking at a user/contact via the API


Best Answer

Hello Nelson,


Sorry that we have missed to update this thread for a very long time. Here's our latest API documentation where  you'd be able to find the View user API information - https://developer.freshdesk.com/api/#view_contact


Cheers!


Hi Nelson,


Sorry for the delay in getting back to you !


Currently we do not have the tag field when creating/updating a user via API.


Let me pass this on to the products team so that they can check if this option can be taken up in the future enhancements. 


I definitely will keep you posted. Thank you so much for the suggestion.



Nelson,


Hope you are doing good. Sorry for not being able to give you the correct information earlier.


In our existing implementation, we can add tags to contacts either while creating/updating using the payload. 

{  "user":{ 
    "name":"Super Man",
    "email":"example@example.com",
    "tags": "super,man"
  }}

Unfortunately, this is not documented. I definitely will pass it on to the API team so that they can update the documentation.


Regards,

Durga



And about viewing a user? The tag isn't returned when getting a user via the api.


Nelson

Answer

Hello Nelson,


Sorry that we have missed to update this thread for a very long time. Here's our latest API documentation where  you'd be able to find the View user API information - https://developer.freshdesk.com/api/#view_contact


Cheers!

Hey Aravind,

I recently used the API to get contacts and it's not returning tags for contacts even though I've been updating the contacts field manually on Freshdesk. The API documentation says it should return the tags associated with a contact, but the actual API doesn't seem to be returning that information. 

Hi Chris,


Would it be possible to share the X-Request ID of the request ? I'll create a private support ticket to effectively troubleshoot this case.


Cheers!

Hey Aravind,
I apologize. It appears I was mistaken. The API returns tags when I query for a customer using a customer id, but not when I query for a customer using an email (or any other parameters). I believe this behavior matches the API documentation. Thank you for your quick response.

Thanks for the update,Chris. Happy Supporting!


Cheers!