Q&A

Can we send the Push message based on registered telephone number instead of Line userId and this userId is not friend with our Line OA?

Pre condition, Condition to reproduce

Issue/ Error Message details

Accompanying respective source code

Resolution Tried

Reference information (Version / Platform/ environment)

  • 0
  • 1
  • 210
  • twitter facebook

Hi CKim,

I think you can't. If you are talking about push message endpoint of Messaging API, it takes userId, groupId or roomId as the recipient.

ID of the target recipient. Use a userId, groupId, or roomId value returned in a webhook event object. Do not use the LINE ID found on LINE.

https://developers.line.biz/en/reference/messaging-api/#send-push-message

Note that userId is not same as the User Id that is configured by users on LINE app.

  • 0
本当によろしいですか? question.vm