Skip to content
Developer

Messenger

Chat and notifications2 EndpointsNotification / Messenger

Handles an incoming message.

GET/api/messenger/webhook/{provider}/{token}

Path parameters

providerrequiredstringAllowed: infobipsinchcmmetatwilioINFOBIPSINCHCMMETATWILIO
tokenrequiredstring

Responses

200Inbound messages accepted (Twilio: TwiML, Meta verification: the challenge)

401Invalid signature

404Unknown provider or token

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/messenger/webhook/infobip/42 \
  --header 'x-iw-jwt-token: <TOKEN>'

Handles an incoming message.

POST/api/messenger/webhook/{provider}/{token}

Path parameters

providerrequiredstringAllowed: infobipsinchcmmetatwilioINFOBIPSINCHCMMETATWILIO
tokenrequiredstring

Responses

200Inbound messages accepted (Twilio: TwiML, Meta verification: the challenge)

401Invalid signature

404Unknown provider or token

Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/messenger/webhook/infobip/42 \
  --header 'x-iw-jwt-token: <TOKEN>'