Skip to main content
POST
/
api
/
v1
/
uploads
/
generate-urls
curl --request POST \
  --url https://mcp.echozero.app/api/v1/uploads/generate-urls \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "mimeTypes": [
    "image/png"
  ],
  "type": "BOT_IMAGE"
}
'
"<unknown>"

Authorizations

x-api-key
string
header
required

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.

x-timestamp
string

Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.

Body

application/json
mimeTypes
string[]
required

MIME types to request signed URLs for

Example:
["image/png"]
type
enum<string>
required
Available options:
AVATAR,
DEVELOPER_AGENT_IMAGE,
BOT_IMAGE,
FEEDBACK_IMAGE,
SHARE_ON_X_IMAGE,
SHARE_ON_DISCORD_IMAGE

Response

Signed URL rows.

The response is of type any.