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
Comment