Skip to main content
POST
/
api
/
campaigns
/
upload
Upload campaign image
curl --request POST \
  --url https://studio.x402layer.cc/api/campaigns/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.x402layer.cc/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Supabase session JWT

Body

multipart/form-data
file
file

Response

Image uploaded

url
string<uri>