Overview

The Asis API is the way to process, audit and extract results from SPED files, audits and related products and services of the Kolossus solution. It is a lower level HTTP-based API than Sped Web Auditor to programmatically send and retrieve data enabling integration between systems and applications.

Basic notions

HTTP

The Asis API is based on HTTP, so it works with any language that has an HTTP library. This means that you can also use tools that implement an HTTP library, like cURL, urllib and Postman, for example:

curl -X GET \
https://corewebapi.asisprojetos.com.br/api/v1/processo \
-H 'account-key: 6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875' \
-H 'app-key: 4e07408562bedb8b60ce05c1decfe3ad16b72230967de01f640b7e4729b49'

URL

In the Kolossus solution, we have 3 APIs to receive requests and access its resources.

Version

To use the version just add the letter v followed by the version number at the beginning of the request path right after the literal "/api". For example, this is a call to version 1:

curl -X GET \
https://corewebapi.asisprojetos.com.br/api/v1/processo/23987 \
-H 'account-key: 6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875' \
-H 'app-key: 4e07408562bedb8b60ce05c1decfe3ad16b72230967de01f640b7e4729b49'

Next steps

Now let's see the session Get Started to know some of the most requested calls and their respective responses, as well as other actions you can take with the Asis API.