REST API
Last Updated: 19.10.2019
Last updated
Last Updated: 19.10.2019
Last updated
With REST API, you can integrate any external application with Hala. After adding integration, you would need to create Actions related to your integration. And then, you can add actions into the Skills to make the API calls to your external application.
To add the integration with external application via REST API , go to the section "Integrations" and click "Add integration".
Select the "REST API" block and then enter the values for adding the integration with your application.
Provide the following information:
Integration name - you can specify any name for your integration via REST API.
Base URL - this field is optional, here you can provide the API provider base URL.
Authorization - there are next available authorization types:
API Key - An application programming interface key is a unique identifier used to authenticate a user, developer, or calling program to an API.
Bearer Token - Bearer Tokens are the predominant type of access token used with OAuth 2.0. A Bearer Token is an opaque string, not intended to have any meaning to clients using it. Some servers will issue tokens that are a short string of hexadecimal characters, while others may use structured tokens such as JSON Web Tokens.
Basic auth - Basic access authentication is a method for an HTTP user agent (e.g. a web browser) to provide a user name and password when making a request. The BA mechanism provides no confidentiality protection for the transmitted credentials. They are merely encoded with Base64 in transit, but not encrypted or hashed in any way. Therefore, Basic Authentication is typically used in conjunction with HTTPS to provide confidentiality.
OAuth 2.0 - OAuth 2.0 is the industry-standard protocol for authorization. OAuth 2.0 does not support signature, encryption, channel binding, or client verification. It relies completely on TLS for some degree of confidentiality and server authentication
When you will enter all the values, please click "Save". Now you have added the integration with external application via REST API.
Next step: Go to the section Actions and build your actions in connection to created integration.