ApiRTC platform is compound of software layers to enables communication between people through client applications.
ApiRTC REST API and WebHooks enable interaction between your backend and ApiRTC backend.
The main usage of the REST API is provisioning of Enterprises and Users. But the REST API also allows to retrieve communication data, such as recorded videos.
ApiRTC REST API supports HTTP Bearer authentication. In order to authenticate, you must get a token by issuing a POST /token, providing username and password of your ApiRTC account.
The concept of Enterprise in ApiRTC simplifies configuration, reporting, and billing of different projects.
When you create your ApiRTC account, you get an Enterprise and an admin User. You can then create sub-accounts as sub-Enterprise with associated admin User.
You can use CRUD operations on Users.
Retrieve or delete medias exchanged or recorded during conversations.
To get notified of various communication or plateform events, ApiRTC can trigger WebHooks to your backend server.
ApiRTC triggers webhooks to let your backend know when events happen, like a conversation has ended. Webhooks are triggered asynchronously.
Note: Not all events you may require are available to all accounts, but you can ask us for events to suit your needs !
To handle a webhook, your backend needs to accept HTTP requests. When the webhook event occurs, ApiRTC makes an HTTP request (usually POST) to the URL you have configured for your webhook. ApiRTC request to your application includes details of the event. Your application can then perform whatever logic is necessary.
With webhooks, ApiRTC Platform can notify your backend server when some events happen.