Skip to main content
POST
Update Avatar

Authorizations

Authorization
string
header
required

Your OmniX API key, e.g. omnix_live_.... Billed per call.

Body

application/json
auth_token
string
required

The X account auth_token cookie the action runs as.

Example:

"YOUR_X_AUTH_TOKEN"

image_url
string

Image URL (use this or image_base64).

Example:

"https://picsum.photos/400/400"

image_base64
string

Base64 image (optionally a data: URI).

proxy
string

Optional outbound proxy for this call (http:// or https://, optionally user:pass@host:port). The X request runs through it — useful for geo-routing or spreading calls across IPs. SOCKS proxies are not supported.

Example:

"http://user:pass@host:8080"

Response

200 - application/json

The new avatar.

status
boolean
Example:

true

data
object
error
string | null
Example:

null