Calling API
The Positus Calling API allows you to manage voice calls via WhatsApp programmatically. You can check call permissions, start, accept, reject, and end calls.Authentication and scope
All routes require authentication via Bearer Token of a user and are accessed under a specific number:The number must be active and have calling enabled in the workspace. Otherwise, the API responds with
404 or 403.Check call permission
Returns the permission status to initiate calls with a specific contact.
Response:
Permission model
Understand the fields returned by the permission check endpoint:Start call
Initiates a VoIP call with a contact.
Request body:
Accept call
Accepts an incoming call.
Request body:
Reject call
Rejects an incoming call.
Request body:
End call
Ends an ongoing call.
Request body: