This section describes the REST API that can be used to integrate StoneFax and third party systems, making them capable to automate fax-related activities.
The REST API identifies its user with HTTP Basic Authentication. That is, if a function requires authentication, then it requires the Authorization HTTP header, which must be as follows:
Authorization: Basic <userPasswordBase64>
where <userPasswordBase64> is the base64 encoding of <user>:<password>.
For instance, suppose you need to call a function with user="myuser" and password="mypassword". You need to base64-encode the string "myuser:mypassword", which is "bXl1c2VyOm15cGFzc3dvcmQ=", obtaining the following HTTP header:
Authorization: Basic bXl1c2VyOm15cGFzc3dvcmQ=
The attached ZIP file (at the end of this page) contains a json collection file that you can import into Postman. It includes some samples useful to understand how to invoke with Postman the API relevant API methods.
This article was:
Thank you for your feedback!
|Imagicle StoneFax API.postman_collection.zip (1 kb)|
|Product Integration API||Submit Fax|