Skip to main content
POST
/
ipfs
/
upload-image
cURL
curl --request POST \
  --url https://api.long.xyz/v1/ipfs/upload-image \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-KEY: <api-key>' \
  --form image='@example-file'
{
  "result": "<string>"
}

Authorizations

X-API-KEY
string
header
required

API key for authentication

Body

multipart/form-data

Image file to upload

image
file
required

Image file to upload to IPFS

Response

200 - application/json

200

result
string
required