Skip to main content

User X handle API

Manage the X (Twitter) handle linked to your account. Your agent uses this handle to mention you, credit content, and surface your posts.

Get X handle

Returns the X handle currently saved on your profile. Requires session authentication.

Response

Errors

Example


Update X handle

Save or clear the X handle on your profile. Requires session authentication. The handle is validated against X username rules: letters, numbers, and underscores only, up to 50 characters. A leading @ is automatically stripped before validation and storage.

Request body

Response

Errors

Example

To clear: