Skip to main content

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.
To receive call events (webhooks), the number must have a calls_webhook configured. Without it, you will not receive notifications of incoming calls.

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:
Response:

Accept call

Accepts an incoming call.
Request body:
Response:

Reject call

Rejects an incoming call.
Request body:
Response:

End call

Ends an ongoing call.
Request body:
Response: