Docs

Creating xml files and applications

https://api.apifonica.com/v2/accounts/{accountSID}/numbers/{numberSID}

Overview

Creating xml files used with applications

1. Create a simple XML file (Apifonica XML format can be found here).

2. Upload the XML file you have created to your server.
Note: to avoid a permanent call connection, in case a client does not hang up the phone, remember to end your line with the /Endcall function.

Creating an application

  • Using Console:
    Make the POST request to /accounts/{accountSID}/applications (Create application)
  • Using personal account:
    You can create the application here.

Associate your xml file with the created application

  • Using Console:
    make the PUT request to /accounts/{accountSID}/applications/{applicationSID} to change the “controller” parameter (Update app properties);
  • Using personal account:
    You can create the application here.