Skip to main content
POST
/
documents
/
{identifier}
/
files
/
datauri
Create a image upload (data uri)
curl --request POST \
  --url https://api-joy.joyfill.io/v1/documents/{identifier}/files/datauri \
  --header 'Content-Type: application/json' \
  --data '{
  "file": "<string>"
}'
"{\n  \"url\": \"String\",\n  \"fileName\": \"String\",\n}"

Headers

Authorization
string

Supports both API Key and User Access Token authorization. See https://joyfill.mintlify.app/api/authentication

Path Parameters

identifier
string
required

Body

application/json
file
string

Image Data URI

Response

200 - application/json

200

The response is of type any.