Is a webhook the same as an API?

No. A webhook is an event-driven, one-way message an app sends automatically when something happens; an API is a two-way channel your app calls on demand. They're complementary, and Core dna offers both.

No — though they're closely related. An API (application programming interface) is a two-way channel: your system sends a request and gets a response, so you control when data moves. A webhook is one-way and event-driven: the moment something happens — an order is placed, a payment clears — the source app automatically pushes the data to a URL you specify, with no request needed.

The simplest way to think about it: with an API you ask for data; with a webhook the data comes to you. Core dna provides both a REST API and a webhooks engine, so you can use whichever fits the job.