Calls

Create Calls

Make a phone call. You need to provide caller and callee information. You can provide different payload, so different parameters may be required. These are supported scenarios:

  1. caller_phone_number + callee_extension.
  2. caller_phone_number + callee_phone_number + caller_extension.
  3. caller_extension + callee_phone_number.
post/v4/accounts/{voip_id}/calls

Request

  • Base URL: https://api.phone.com
  • URL: https://api.phone.com/v4/accounts/{voip_id}/calls
  • Auth: HTTP bearer

Path parameters

voip_idinteger required

Request body

caller_phone_numberstring nullable

Caller phone number

caller_extensioninteger nullable

Caller Extension ID (not the extension number)

caller_caller_idstring nullable

Caller ID shown on caller's phone when a call comes

caller_privateboolean nullable

Flag to set caller ID to private

callee_phone_numberstring nullable

Callee phone number

callee_extensioninteger nullable

Callee Extension ID (not the extension number)

callee_caller_idstring nullable

Caller ID shown on callee's phone when a call comes

callee_privateboolean nullable

Flag to set callee ID to private

Response

Created

object required

Changes

No operation changes recorded.