Overview

What is a callback in the API context?

A callback in the context of APIs (Application Programming Interfaces) is a mechanism that allows a server to send data or notifications back to a client after a certain event has occurred, typically in response to a previous request. Callbacks are often used to provide real-time updates or results from asynchronous processes.

In this section, you will learn how to subscribe to receive callbacks for each applicable context in the BaaSiC API, as well as how to manage your subscription and handle the notifications.

Understading a Webhook

A webhook is a way for one system to send real-time data or notifications to another system when a specific event occurs. Instead of the client repeatedly asking for updates, the server automatically "pushes" the information to the client via an HTTP request. Webhooks are commonly used in APIs to deliver updates or responses, such as payment confirmations or status changes, to a predefined URL.

You can read more about Webhooks here