Question

Create a message API does not send a push notification to user

  • 9 December 2022
  • 3 replies
  • 89 views

I am using an intercom API to create an inapp message(https://developers.intercom.com/intercom-api-reference/reference/create-a-message. I expect that user will receive a push notification once a message is created, but no one push comes to the device. But if I create a conversation from the same account from browser I receives a push on the device. What should I do to see a push on the device after creating a message through API?


3 replies

Userlevel 2

Hey @wheely​! Daniel from Customer Support Engineering here 🔧 

 

No notification can be sent in this instance since no conversation is created; it is just a message until the end user responds. You may find that our create a conversation endpoint would be more appropriate in this case. Hope it helps!

Hey @daniel m15​ 

Actually conversation is created without user reply because I'm using an

create_conversation_without_contact_reply: true

parameter, specified in API, but push is not sent to the user and this is pretty weird because I'm sending a message(through API) from admin to the user and user will never know about it till opens a chat directly.

We figured out with the Support team that the problem was the missing parameter:

send_push: true

in the request. By default it is set to false. This parameter is not specified in the API documentation(https://developers.intercom.com/intercom-api-reference/reference/create-a-message

Reply