Send a Webhook in Campaign

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.

I think:

URL:
https://domainname.biz/api/send.php?number=601720XXXXX&type=text&message=mautic%20message&instance_id=6250FXXXXXX&access_token=fac59a402f52adXXXXXXXXX

parameters:
number={contactfield=mobile}
type=text
message=test message

Yeah, I mean how should I set for the headers and data on send a webhook form above?

That depends on what exactly is the expected header content of your api call.

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”.

Yes, looks good to me. You can always test with webhook.site to see what arrives.

I have tried this setting unfortunately the API did not trigger.

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