Skip to main content
POST

Authorizations

x-api-key
string
header
required

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Required for API-key authenticated requests (JWT/OAuth session auth is exempt).

x-timestamp
string

Request timestamp in epoch milliseconds. Required with x-signature for API-key auth. Rejected if drift exceeds 5 minutes.

Body

application/json
mimeTypes
string[]
required

MIME types to request signed URLs for

Example:
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.