What is the Webhooks service?
The Webhooks service allows you to integrate other services on IFTTT with your DIY projects via simple web requests.
The Webhooks service uses realtime triggers, so Webhooks Applets normally run within a few seconds.
Where do I find my Webhooks key?
Head to the Webhooks service page and click Documentation.
How do I pass values to Webhooks?
You can pass up to 3 values to the Webhooks - Receive a web request trigger with either a JSON body:
{ "value1" : "", "value2" : "", "value3" : "" }
or x-www-form-urlencoded data:
https://maker.ifttt.com/trigger/{event}/with/key/{webhooks_key}?value1=value1&value2=value2&value3=value3
The Webhooks - Receive a web request with a JSON payload trigger accepts JSON, and requests should include the header Content-Type: application/json:
curl -X POST -H "Content-Type: application/json" -d '{"this":[{"is":{"some":["test","data"]}}]}' http://maker.ifttt.com/trigger/{event}/json/with/key/{webhooks_key}
How do I add custom headers to my Webhooks action?
The Webhooks - Make a web request action has an optional field for custom headers. Any custom header is acceptable, except Content-Type, which is set in the Content Type field.
An example of how the custom headers field might look:
From: biffmcifttt@example.com
Some-Header: someCustomValue; someOtherValue
Warning: Over 9000
The Mozilla Developer Network has a list of standard HTTP headers, but any key/value pairs will work in the Additional Headers field.
Can I use IPv6 addresses in the URL field?
You sure can! IPv6 addresses should conform to certain standards:
- Like any other URL, they must start with a protocol (
http://
orhttps://
) - The IPv6 address itself must be [surrounded by brackets].
- Like any other URL, they can include a port (:1234) and a pathname (/my/awesome/path).
Examples of valid IPv6 URLs:
http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html https://[1080:0:0:0:8:800:200C:417A]/index.html http://[3ffe:2a00:100:7031::1]
Can I publish an Applet with Webhooks?
No, Webhooks is for personal use only.
What if I want to build a service on IFTTT?
If you're interested in building a service on IFTTT, head to the Developer Dashboard and become a partner.
Is there a fixed range of IP addresses for Webhooks?
No, IFTTT does not set a fixed IP or range of IPs for Webhooks or any other services.
How do I get support for Webhooks?
If you are struggling to trigger your Webhooks Applets, the first troubleshooting step we always recommend is simply regenerating your Webhooks key. To do so, head to https://ifttt.com/maker_webhooks/settings and click Regenerate key. If applicable, update your Webhooks actions with the new key, then perform a few tests.
If you're still having trouble, we recommend that you join the IFTTT communities on Reddit and Hackster.io. They are large and engaged communities where users can connect with each other to get help with their projects and troubleshoot issues together.
For outbound webhooks, you can also check out our Troubleshooting outbound webhooks help article.