Skip to content
First requestVisit website ↗
Navigation

Copy the signed-in member's avatar into the private rep photo bucket

Copies bytes only. The public avatar stays public. A default color avatar has no bytes and returns 400. The response is a storage path. The browser writes that path onto rep_profiles with the user's own session so the change audit records them.

POST
https://api.channelautomation.com/api/rep-profiles/me/photo-from-avatar

Header parameters

  • x-workspace-id
    optional
    string

Returns

200

photo_path inside rep-profile-photos.

400

No usable https image, or the file is not an allowed type.

403

The caller is not a member of the workspace.

503

The private bucket is not available yet.

Type to search…

↑↓ navigate↵ selectEsc close