Look up X user
lookup_x_userResolve an X @handle to a user ID and determine if they can receive DMs from you, for use before drafting a direct message.
Instructions
Resolve an X @handle to a user id (and whether they can receive DMs from you). Useful before create_dm_draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | X username, with or without leading @. |