Hi, how can I get an user's avatar image through the API?
Announcement
Collapse
No announcement yet.
Get user's avatar through the API
Collapse
X
-
Hi,
From what I've seen in the demo you can by using the entrypoint "avatar"
The "id" is the user id
You can also add these parameters in the GET query
Entrypoint details here : https://github.com/espocrm/espocrm/b...
- Likes 2
-
Originally posted by Firyo View PostHi,
From what I've seen in the demo you can by using the entrypoint "avatar"
The "id" is the user id
You can also add these parameters in the GET query
Entrypoint details here : https://github.com/espocrm/espocrm/b...
Comment
If you obtain an attachment ID from avatarId attribute of a User, you should be able to download it by GET Attachment/file/{id} https://docs.espocrm.com/development...t/#downloading
The method via entry point should also work. Though our API PHP client does not support.
- Likes 1
Comment
Powered by vBulletin® Version 5.7.5
Copyright © 2024 MH Sub I, LLC dba vBulletin. All rights reserved.
Copyright © 2024 MH Sub I, LLC dba vBulletin. All rights reserved.
All times are GMT. This page was generated at 03:41 PM.
Working...
X
Comment