최근 검색


최근 검색 없음

Get author name and profile image via API



2021년 8월 15일에 게시됨

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개

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물