Apifonica XML

The simplest way to build your Apifonica voice and messaging applications

Apifonica XML streamlines development of your voice and messaging-enabled apps


Apifonica XML is an XML-based language that instructs Apifonica on how to handle your incoming and outgoing calls. It is simple to learn and write so you can develop new features quickly and easily.


Build interactive apps that handle calls differently depending who’s calling, when and why. The XML generator produces individual instructions in real-time based on each call’s parameters.


By combining REST API requests with XML instructions, you can build complex voice and messaging solutions with zero need for costly hardware or software.


XML is a standard recommended by the World Wide Web Consortium (W3C) and endorsed by software industry market leaders.

What is the Apifonica Markup Language
(Apifonica XML, aXML)?



Apifonica XML is an XML-based language used to control Apifonica platform actions. It is a set of commands and attributes that act as platform instructions.



Commands are actions you’d like Apifonica to perform, such as <playAudio> to a caller or <sendMessage> in response to an incoming SMS.



Attributes modify command behaviour. For example, <playAudio> will play an audio file while the loops attribute will change the number of times the audio file is played.



When your number is called, Apifonica sends a request to a URL associated with your number. It reads XML instructions hosted on that URL and decides how to treat the call: play a sound file, prompt caller to enter keypad digits etc.

Apifonica XML commands


Sends an SMS message during the call to a specific phone number.


Adds another participant to the current call.


Hangs up the call.


Plays an audio file to the caller.


Pauses before executing further instructions.


Gathers digits typed by caller into their phone keypad.


Redirects the call to a different Apifonica XML instruction.

Why choose Apifonica?


We provide company - owned communication nodes and an in-house development team.

Good rates

Starting from just €0.002 per minute, €0.01 per SMS and €0.9 per number.

Best Support

We are available 24/7 to maximise your business’ innovation using our services.

Add voice and messaging capabilities in hours rather than months with Apifonica XML

Step 1

Click button and make contact with us

Step 2

Discover what our XML language can do for your Apifonica performance

Step 3

Run free tests to proof your system suitability

Step 4

Be prepared to hit your business new heights

By visiting the Apifonica website you agree with our use of cookies. Read our Cookie Policy here.