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 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file": "<string>"
}
'
"{\n  \"url\": \"String\",\n  \"fileName\": \"String\",\n}"

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

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