Network-based calls
info
BASE_URL for this API is https://api.frejun.com/api/v1.
Network-based calls follow a 2-legged flow.
- FreJun makes the first call to the User.
- User answers the call.
- The second call is made to the intended callee.
tip
Network-based calls can be useful when the user doesn't have a stable internet connection for VoIP calls.
note
To make and receive network-based calls, users must have set their real number (the phone number that will be involved in the call). It can be configured via:
- The Connected to field in Settings → Calling & SMS
- The Update User API
Initiating a Network-based call
POST /integrations/create-call/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Access Token |
| Content-Type | application/json |
Payload
Response
{
"success": true,
"message": "Successfully initiated the call",
"data": {
"status": 4,
"info": "on-going",
"event_id": 123,
"call_id": 456,
"candidate_name": "John Doe"
}
}