Skip to main content
PATCH
/
x
/
profile
/
banner
Update banner
curl --request PATCH \
  --url https://xquik.com/api/v1/x/profile/banner \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "account": "<string>",
  "file": {},
  "url": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.xquik.com/llms.txt

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

10 credits per call · All plans from $0.00012/credit
curl -X PATCH https://xquik.com/api/v1/x/profile/banner \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -F "account=myxaccount" \
  -F "file=@banner.png" | jq
curl -X PATCH https://xquik.com/api/v1/x/profile/banner \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "account": "myxaccount",
    "url": "https://example.com/banner.png"
  }' | jq

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Use multipart/form-data for file uploads or application/json for URL uploads. Most HTTP clients set the multipart boundary automatically.

Body

account
string
required
X username or account ID of your connected account to act as.
file
binary
Multipart upload file. Required unless url is provided. Accepted formats: JPEG, PNG. Maximum file size: 2 MB.
url
string
JSON upload URL. Required unless file is provided. Must be an HTTPS URL that Xquik can fetch directly.

Response

success
boolean
Always true on success.
{
  "success": true
}
Related: Update Avatar to change the profile picture, or Update Profile to update name, bio, and other text fields.
Last modified on May 9, 2026