Technical Endpoints
User ID to Username
Returns the current Twitter/X username for a given user ID. You provide the user ID, and the endpoint returns the corresponding username.
Use cases:
Developers converting stored user IDs back into readable usernames; SaaS platforms displaying handles in dashboards while keeping IDs internally; analytics tools resolving IDs when exporting reports; automation systems syncing internal records with current usernames; CRM systems updating handles if a user has changed their username.
get/id-to-username/{user_id}
Request
- Base URLhttps://api.sorsa.io/v3
- AuthAPI key in header ApiKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
user_id required
Response
OK
Example response
{
"handle": "elonmusk"
}Changes
No recorded changes to this operation across all 2 revisions of this API.