POST
/
v0
/
assistant
/
photo
/
upload
curl --request POST \
  --url 'https://api.unify.ai/v0/assistant/photo/upload' \
  --header "Authorization: Bearer $UNIFY_KEY" \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=@/path/to/your/file.ext'
{
    "info": "object"
}

Uploads a profile photo for an assistant to GCS and returns the GCS URL.

Authorizations

Authorization
string
required

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

Body

file
binary
required
curl --request POST \
  --url 'https://api.unify.ai/v0/assistant/photo/upload' \
  --header "Authorization: Bearer $UNIFY_KEY" \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=@/path/to/your/file.ext'
{
    "info": "object"
}