Recent searches


No recent searches

Get author name and profile image via API



Posted Aug 15, 2021

Is it possible to request an author name and image via the author_id on an article?

Currently using /api/v2/help_center/en-us/articles/{article_id} to get the author ID

 

Edit: This would all have to be as an end user/anonymous user


0

3

3 comments

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hi @...,

Thanks for reaching out!

The author_id can be used together with the Users API to pull all the relevant user information, including the user name and image. In this case, you will just need to replace the {user_id} with the {author_id} i.e GET api/v2/users/{author_id}.

Here’s a link to the Users API documentation which goes in to a bit more detail:

https://developer.zendesk.com/api-reference/ticketing/users/users/

I hope this helps! Feel free to reach out if you have any questions.

Tipene

0


Thank you for the response Tipene!

Unfortunately, the documentation mentions that it’s only available to “ Admins, Agents and Light Agents”, with me receiving “Forbidden” when trying to call it. Is there any way to access this information as a user/anonymous?

0


image avatar

Tipene Hughes

Zendesk Developer Advocacy

Accessing the author name and profile image via API will require the permissions you mentioned, unfortunately.

Sorry I couldn’t help more! Let me know if you have any questions.

Tipene

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post