The hAPI API is designed around REST principles. Our API features intuitive, resource-oriented URLs, accepts form-encoded request bodies, and returns JSON-encoded responses, utilizing standard HTTP response codes, authentication methods, and verbs.
You can utilize the hAPI API in test mode, ensuring no changes to your live data or interactions with external services. The API key used for authentication determines whether the request operates in live mode or test mode.
Please note that the hAPI API does not support bulk updates; you can only process one object per request.
The hAPI API may vary for each account as we continually release new versions and customize functionalities.
https://exampleSite.com?clientuserguid=xxxxxxx-xxxxxx-xxxxxxx-xxxxxxxx&guid=zzzzzz-zzzzz-zzzzz
Guid – Text that is used to identify the process and is returned on the callback. (Minimum 10 characters)
NIF – NIF to pre fill the form with the Tax Number
NISS – NISS to pre fill the form with the Social Security number
cmdPhoneNumber – Phone number to pre fill the form with the Chave Móvel Digital number
callerLogLevel2 – Used to identify the client or department (usefull in reports and to split costs and reports)
isTestMode – Used to test. If True the form are disabled. Just press the Authenticate button and you can use mock data
clientUserGUID – Id that identifies your user. Ask one to hAPI team. If you add it on the script below you don’t need to add it on the page URL.
clientId – Id that identifies you as hAPI client. Ask yours to hAPI team. If you add it on the script below you don’t need to add it on the page URL.
sourceURL – Used to identify the full URL from the main page, when used on Iframe.
data-containerid – Id of the HTML element where you want to place the iframe. If not set will add to the body.
StepsConfig – String that allows to configure the screen elements display. Could be 1 2 or 3 to show AT (1), SS (2), Upload docs (3). Ex: If set as 13 it will show only AT and Upload docs steps.
For detailed information on JSON responses and the structure of our API, clients can refer to our comprehensive documentation available at hAPI Swagger UI here
This resource provides clear examples and specifications for all endpoints, ensuring that you have the necessary guidance to effectively integrate and utilize our services
Our API service facilitates the collection of various documents. For a complete overview of all documents collected by our API service, please visit the provided link containing dummy documents for demonstration purposes only.
These documents are not representative of real data but serve as examples to help you understand the types of information our API can handle
Below is a comprehensive list of all document types collected by our service:
To facilitate user testing, clients can enable test mode by using the parameter &IsTestMode=true. Additionally, if needed, clients can include the parameters NIF and NISS to specify user identification
We have configured in our container 5 different users with different data
NIF=144080540&NISS=12345678901
NIF=185936059&NISS=11321856271
NIF=245896660&NISS=10987654321
NIF=112123031&NISS=11121230311
NIF=531489957&NISS=25314899575
This setup allows for safe testing without affecting live data, ensuring a seamless experience during the development phase.
CSS can be customized by us, or if you prefer you can send us a CSS link and we add it to our iframe page.
Após preencher o formulário, entraremos em contacto consigo nas próximas 24-48 horas para agendarmos uma chamada, onde iremos mostrar-lhe: