Before you can start using the Robocorp API, you need to create an account on the Robocorp platform and obtain an API key. The API key is used to authenticate your requests to the API.
To obtain an API key:
Log in to the Robocorp platform and navigate to the "API Keys" section.
Click the "Create New Key" button.
Enter a name for your API key and click "Create".
Copy the API key value and save it in a safe place.
------------------------------------------------------------------------------------------------------------------------
To authenticate your requests to the Robocorp API, you need to include your API key in the Authorization header of your requests.
This is always a required input parameter for the service actions. Make sure to pass the api-key without any leading words. This is already handled by the connector before a request is done.
You could put the API-key within a site-property and always re-use it this way. This also allows you to quickly change it in a new environment.
All available actions can be found within the Robocorp documentation along with some information about the responses and required parameters.
https://robocorp.com/docs/control-room/apis-and-webhooks/api/process
The actions from the connector can be found under:
Webhooks are not in the connector.
The connector does not have any extra error handling, when a call fails it gives back the error code with the description and that's it.
For example: 403 forbidden.
You can create your own error handling in the IS module of your application. OutSystems has a great example on how to do this here: https://success.outsystems.com/documentation/11/extensibility_and_integration/rest/consume_rest_apis/handling_rest_errors