Social

X/Twitter Profile Editor

Edit a connected X/Twitter account's profile: display name, bio, location, website link, avatar image, and banner image. Acts only on handles this wallet connected.

post/api/tools/x_profile

Request

  • Base URL: https://twitr.sh
  • URL: https://twitr.sh/api/tools/x_profile
  • Auth: none declared. Required headers: Idempotency-Key

Headers

Idempotency-Keystring required

Unique key per logical action. A retry with the same key replays the original result (10-minute window) instead of acting or charging twice.

Request body

action'update_profile' | 'set_avatar' | 'set_banner' required

Which profile edit to make.

accountstring required

A connected X handle owned by this wallet (no @).

namestring

update_profile: new display name.

descriptionstring

update_profile: new bio.

locationstring

update_profile: new location.

urlstring

update_profile: new website URL.

media_urlstring

set_avatar|set_banner: public image URL.

Response

Result dataset.

itemsobject[] required

Array of returned items. Shape varies per tool — see each tool's documentation.

runIdstring

Run ID for debugging/audit.

durationinteger

Run duration in seconds.

Changes

No recorded changes to this operation across all 1 revision of this API.