Get LINE User Profile
line_get_user_profileFetch a LINE user's profile details like display name, picture, status message, and language via their user ID. Works only if user added the bot and consented to sharing.
Instructions
Fetch a LINE user's profile (display name, picture, status message, language) by user_id. Only works if the user has added the bot, has not blocked it, and consented to share profile — any failure returns an ambiguous 404, surfaced as a clear Thai explanation.
Returns { user_id, display_name, picture_url?, status_message?, language? }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oa | No | ||
| user_id | Yes | LINE user ID (starts with 'U' for chat users) | |
| response_format | No | markdown |