Skip to main content
POST
Create profile picture upload

Authorizations

Authorization
string
header
required

Account Service Key, prefixed with pho_ask_, sent as Authorization: Bearer <key>. Acts on behalf of its owning account, subject to the permissions and credential restrictions of each operation. Account access tokens and OAuth grants also use the Bearer header. In organizations that require SSO, Account Service Keys are not accepted for managing the organization's SSO settings, deleting the organization, or checking whether it can be deleted.

Scopes

account:write

Update account name and profile.

Headers

Photon-Version
enum<string>

Selects the API contract date. Without it, the request is served as 2026-07-01.

Available options:
2026-07-01

Body

application/json
contentType
enum<string>
required
Available options:
image/jpeg,
image/png,
image/webp

Response

A short-lived, Account-bound presigned S3 POST.

expiresAt
string<date-time>
required
Example:

"2026-01-01T00:00:00.000Z"

formFields
object
required
uploadId
string
required
uploadUrl
string<uri>
required