v52

latestOpenAPI 3.0.3agplraw.githubusercontent.com2026-08-01911122.9 KB
avatar

Get the avatar of a cloudId user when inviting users while creating a conversation

get/ocs/v2.php/apps/spreed/api/{apiVersion}/proxy/new/user-avatar/{size}

Path parameters

apiVersion'v1' required
size64 | 512 required

Avatar size

Query parameters

cloudIdstring required

Federation CloudID to get the avatar for

darkThemeboolean

Theme used for background

Headers

x-nextcloud-federationstring

Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request

OCS-APIRequestboolean required

Required to be true for the API request to pass

Response

User avatar returned

All 9 operations