In the Messaging API, you can customize the sender icon and display name for each message you send
2026/03/12
Hi, I'm Horikoshi. I'm a technical writer working on the documentation for the LINE Developers site.
Although it is not widely known, the Messaging API allows you to customize the sender icon and display name for each message.
Sending messages with custom icons and display names
For example, suppose an online learning service's LINE Official Account sends a push message like this:
sh
curl -v -X POST https://api.line.me/v2/bot/message/push \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {channel access token}' \
-d '{
"to": "U4af4980629...",
"messages": [
{
"type": "text",
"text": "The deadline to submit your assignment has passed. Please submit it immediately.",
"sender": {
"name": "Math teacher Richard",
"iconUrl": "https://example.com/profile/math-angry-icon.jpg"
}
},
{
"type": "text",
"text": "Here is the schedule for the classes next month."
}
]
}'
Then, users will receive a message that looks like this:
![]()
Having different icons and names makes it easy to instantly recognize the type of message.
With this feature, you can send messages about specific courses with the respective teacher's icon and name, while sending general announcements with the default icon and name. For more information, see Customize icon and display name in the Messaging API documentation.