--- title: "Custom integrations: build your own with the Userflow API and webhooks" slug: "custom-integrations" updated: 2026-11-13T16:34:51Z published: 2026-11-13T16:34:51Z canonical: "help.userflow.com/custom-integrations" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://help.userflow.com/llms.txt > Use this file to discover all available pages before exploring further. # Custom integrations: build your own with the Userflow API and webhooks You can connect Userflow to your own systems, or to tools Userflow doesn't integrate with directly, using two building blocks: the Userflow REST API and webhooks. - **[REST API](https://docs.userflow.com/docs/api#userflow-api-reference):** lets your back end send data to Userflow or request data from it on demand. For example, create or update users, look users up, and track events. - **[Webhooks](https://docs.userflow.com/docs/api#webhook-subscriptions):** Userflow notifies your back end when something changes in Userflow, such as an event being tracked. Your back end can then save the change or pass it on to another tool. The REST API and webhooks work with users, companies and events. They can't create or update announcements. To bring announcements in from another tool, see "Can I bring announcements in from another tool?" in [Create and publish Announcements](https://help.userflow.com/docs/announcements#can-i-bring-announcements-in-from-another-tool). ## Should you use the API or webhooks? Two questions usually settle it: 1. **Who starts the exchange?** - **Your system starts it → REST API.** You call Userflow when you're ready. Use this to sync users on sign-up, backfill attributes for existing users, look up a user's current state, or track an event from your backend. - **Userflow starts it → webhooks.** Userflow calls you when something happens in Userflow. Use this to react to activity — an event being tracked, a flow being completed — without polling for it. 2. **When do you need the data?** - **On demand, at a moment you choose → REST API.** Nightly syncs, backfills, and anything triggered by your own application logic. - **As soon as it happens → webhooks.** Userflow pushes the change to you, so you don't have to ask repeatedly whether anything is new. Most non-trivial integrations end up using both: the API to get data into Userflow and read it back, webhooks to keep your own system current as users move through your product. If the thing you want to react to is a user action in your interface rather than a change in Userflow, you may not need either. See [When to use the API instead of no-code tracking](https://help.userflow.com/docs/no-code-event-tracking#when-to-use-the-api-instead-of-no-code-tracking). ## Need help planning a custom integration? We're happy to give input on what you're building. Email [support@userflow.com](mailto:support@userflow.com) or start a chat from the help icon in Userflow. ## Related articles - [No-code event tracking](https://help.userflow.com/docs/no-code-event-tracking) - [Userflow-generated events](https://help.userflow.com/docs/userflow-generated-events) - [Zapier](https://help.userflow.com/docs/zapier): connect Userflow to other tools without code - [Integrations](https://help.userflow.com/docs/integration-old)