Blocked Calls

Create Blocked Call for extension

Create a blocked call pattern for extension

post/v4/accounts/{voip_id}/extensions/{extension_id}/blocked-calls

Request

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

Path parameters

voip_idinteger required
extension_idinteger required

Request body

start_dateinteger

Timestamp in UNIX format

type'incoming' | 'outgoing'

Can be 'incoming', 'outgoing'

pattern_type'equals' | 'starts_with'

Can be 'equals', 'starts_with'

patternstring required

Pattern of phone number. Starts with '+', followed by digits up to 14 characters

notesstring

Notes of black list, up to 80 characters

Response

Created

object required

Changes

No operation changes recorded.