Skip to main content
POST
Upload profile picture

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
imageBase64
string
required

Base64 image content. Data URLs are accepted.

fileName
string
mimeType
string

Image MIME type, for example image/png.

Response

Successful SiteGPT API v2 response.

ok
boolean
required
data
object
required
meta
object
required