Skip to content
UnifiedAPI v5

HTTP Return Codes

This page describes the UnifiedAPI HTTP return codes and error responses.

Format

UnifiedAPI returns errors using a JSON format:

json
{
  "error": {
    "code": "error_code",
    "message": "Human readable error message."
  }
}

Successful Codes

HTTP CodeDescription
200The request was successful. The response body contains the requested resource.
204The request was successful. There is no content to return.

Error Codes

400 Bad Request

CodeMessage
cdr_start_date_invalidThe start date parameter is invalid. The format should be ISO ISO 8601 YYYY-MM-DDThh:mm:ss.
cdr_end_date_invalidThe end date parameter is invalid. The format should be ISO ISO 8601 YYYY-MM-DDThh:mm:ss.
cdr_source_invalidThe source parameter is invalid.
cdr_destination_invalidThe destination parameter is invalid.
cdr_flow_invalidThe flow parameter is invalid.
cdr_disposition_invalidThe disposition parameter is invalid.
cdr_save_start_date_invalidThe save start date parameter is invalid. The format should be ISO ISO 8601 YYYY-MM-DDThh:mm:ss.
cdr_save_end_date_invalidThe end start date parameter is invalid. The format should be ISO ISO 8601 YYYY-MM-DDThh:mm:ss.
cdr_invalid_date_parametersThe start date parameter is greater than end date parameter.
cdr_invalid_filter_by_answeredThe filter by answered date parameter is invalid.
cdr_invalid_filter_by_publishedThe filter by published date parameter is invalid.
cdr_invalid_filter_by_sourceThe filter by source parameter is invalid.
cdr_invalid_filter_by_destinationThe filter by destination parameter is invalid.
fields_invalidParameter fields is invalid.
count_invalidParameter count is invalid.
filterby_invalidParameter filterBy is invalid.
filterop_invalidParameter filterOp is invalid.
filtervalue_invalidParameter filterValue for onArray operation is invalid.
filtervalue_invalidParameter filterValue contains invalid numbers.
filtervalue_invalidParameter filterValue is invalid.
sortorder_invalidParameter sortOrder is invalid.
startindex_invalidParameter startIndex is invalid.
user_invalidThe user Id parameter is invalid.
extension_invalidInvalid extension given in the URI-Fragment
fx_recipients_invalidThe recipients parmeter is invalid.
fx_approved_invalidThe approved parameter is invalid.
fx_file_invalidOne of the sent files are invalid.
fx_max_files_reachedThe number of files that can be sent has been exceeded.
extension_invalidInvalid extension given in the URI-Fragment
fx_upload_identifier_invalidInvalid uploadIdentifier. Must be alphanumeric and maximum 32 characters.
pc_duration_invalidParameter callDuration is invalid.
pc_source_invalidParameter source is invalid.
pc_destination_invalidParameter destination is invalid.
pc_timeout_invalidParameter timeout is invalid.
pc_callerid_invalidParameter callerId is not valid.
pc_transfer_invalidParameter allowPublicTransfer is invalid.
pc_nonce_invalidParameter nonce is invalid.
pc_calleriddestination_invalidParameter callerIdDestination is not valid.
pc_calleecallerid_invalidParameter callerIdDestination is not valid.
pc_video_invalidParameter video is invalid.
pc_pin_invalidParameter conferencePin is invalid.
pc_number_invalidParameter conferencePin is invalid.
invalid_filter_by_publishedThe filter by published date is invalid.
invalid_filter_by_phone_call_id The filter by phone call id is invalid.
pc_parktimeout_invalidParameter maxinparking is invalid.
pc_phonecall_invalidThe PhoneCall ID provided is invalid.
pc_phonecallview_invalidThe PhoneCall View ID provided is invalid.
pc_recformat_invalidParameter format is invalid.
pc_sendcallto_invalidParameter sendCallTo is invalid.
pc_transfer_from_number_invalidParameter transferFromNumber is invalid.
pc_transfer_number_invalidParameter transferNumber is invalid.
pc_private_invalidParameter private is invalid.
pc_private_invalidThe phone number is invalid.
pce_id_invalidThe id of the event is not valid.
pce_type_invalidThe type of the event is not valid.
pce_method_invalidThe request method is invalid.
pce_note_invalidThe note is invalid.
pce_url_invalidThe URL is invalid.
pce_status_invalidThe status is invalid.
status_invalidThe type of action performed is invalid.
qag_agent_invalidThe agent identifier is invalid.
qag_number_invalidThe agent phone number is invalid.
qag_fail_updateFailed to change the status.
qag_fail_update_numberFailed to change the agent number.
qag_cannot_update_numberCannot modify the phone number for a local agent.

401 Unauthorized

CodeMessage
unauthorizedAccess unauthorized
expired_tokenToken is expired or otherwise invalid.
access_deniedThe token is invalid.

403 Forbidden

CodeMessage
pce_access_deniedYou are not allowed to manage Call Events.

500 Internal Server Error

CodeMessage
internal_server_errorAn internal server error occurred. Please contact the administrator.
pce_fail_addFailed to add the event.
pce_fail_updateFailed to update the event.
pce_fail_deleteFailed to delete the event.

501 Not Implemented

CodeMessage
not_implementedThe operation is not implemented.
Last updated: Dec 19, 2025