Using the below method, a virtual receptionist can be created.

curl --request POST \
  --url https://api.acefone.co.uk/v1/virtual_receptionist \
  --header 'accept: application/json' \
  --header 'authorization: Authorization' \
  --header 'content-type: application/json'

Body parameter

Variable NameDescriptionData Type
nameName for virtual receptionistString
descriptionDescription for virtual receptionistString
recordingRecording to be played once call is receivedFloat
destination_typeCalls can be directed directly to a single or multiple destination (depending on clients requirement thought DTMF inputs)String
forward_destination_typeType of destination where call is to be forwarded (required when destination type is single)String
forward_destination_idUnique ID of destination where call is to be forwarded (required when destination type is single)Float
entriesAllowed DTMF entries associated with virtual receptionist (required when destination_type is multiple)Object
optionDTMF optionFloat
destination_typeType of destination where call is to be forwarded (when DTMF option is pressed)String
destination_idUnique ID of destination where call is to be forwarded (when DTMF option is pressed)Float
template_idUnique ID of the email template to be associated with DTMF inputFloat
timeoutTime (in seconds) to wait for each DTMF input (required when destination_type is multiple)Float
incorrect_countNumber of incorrect inputs are allowed (required when destination_type is multiple)Float
invalid_recordingUnique ID of the recording to be played when invalid option is pressed (required when destination_type is multiple)Float
invalid_destination_typeType of destination where call is to be forwarded when customer has reached maximum number of incorrect inputs allowed (required when destination_type is multiple)String
invalid_destination_idUnique ID of destination where call is to be forwarded when customer has reached maximum number of incorrect inputs allowed (required when destination_type is multiple)Float
timeout_retriesNumber of timeout retried allowed (required when destination_type is multiple)Float
timeout_retry_recordingUnique ID of the recording to be played when timeout has been reached and no input is been recorded from the client (required when destination_type is multiple)Float
timeout_recordingUnique ID of the recording to be played when timeout has been reached and no input is been recorded from the client (required when destination_type is multiple)Float
timeout_destination_typeType of the destination where call is to be forwarded when maximum number of timeout retries has been reached (required when destination_type is multiple)String
timeout_destination_idUnique ID of the destination where call is to be forwarded when maximum number of timeout retries has been reached (required when destination_type is multiple)Float
recording_invalidUnique ID of recording when invalid Input is pressed by client (required when destination_type is multiple)Float
prefixCaller ID prefixString
intercomIntercom numberString

Response

Variable NameDescriptionData Type
successRequest success statusBoolean
messageMessage corresponding success statusString
Language
Click Try It! to start a request and see the response here!