kuntao
April 27, 2022, 10:03am
1
Hi Team,
What should be the correct configuration in Send a Webhook form below:
This is my API:
https://domainname.biz/api/send.php?number=601720XXXXX&type=text&message=mautic%20message&instance_id=6250FXXXXXX&access_token=fac59a402f52adXXXXXXXXX
PARAMS
number={contactfield=mobile}
type=text
message=test message
instance_id=609ACF283XXXX
access_token=fac59a402f52adXXXXXXXXXXXX
Which one is header and data?
Appreciate your guys help on this matter.
joeyk
April 27, 2022, 1:50pm
2
kuntao
April 27, 2022, 3:01pm
3
Yeah, I mean how should I set for the headers and data on send a webhook form above?
joeyk
April 27, 2022, 3:24pm
4
That depends on what exactly is the expected header content of your api call.
kuntao
April 29, 2022, 8:32am
5
Is that the correct way to set the send a webhook setting. To trigger that api to send whatsapp message to contact mobile number with message “Send mautic whatsapp”.
joeyk
April 29, 2022, 8:45am
6
Yes, looks good to me. You can always test with webhook.site to see what arrives.
kuntao
April 29, 2022, 2:42pm
7
I have tried this setting unfortunately the API did not trigger.
joeyk
April 29, 2022, 2:57pm
8
Can you see if you get the expected content in webhook.site?
No, I did not get it. But if I run the API manually on the browser it gives the input on webhoo.site