With our API you can integrate uContact with other systems.
To use the API you need
|
It is recommended to create a user that is exclusively for use with the uContact API. |
Prior to making any of the queries to the web services it is necessary to obtain the APIkey
through the Login.
To do this, we will use the UserLogin
service and enter a valid username and super user password.
User
Supervisor con teléfonoMd5secret es la APIKey
Supervisor sin teléfonoAl final de la lista
|
|
Once you have your login token we will see how to use it in API queries:
JQuery can be configured to use the token in each request.
If not, it can be specified in the headers in each request made.
|
|
After using the API it is necessary to end the session.
This way we will avoid security problems by disabling the token generated in the login of the startup.
|
|
|
With the proxy window we can handle events of an iframe inserted in a form to be able, for example, to make dispositions, hang up the call, close the form or whatever is desired.
To do this you don't need any plugin.
In the form you must put this
event.data can be used to identify the type of action. And the disposition attribute is used as an object to send more information. |
The way to invoke the event would be the following:
|