Every API resources are protected, and therefore require that you authenticate using an API token.
Generate a token
- Navigate to your Ryen dashboard (https://app.ryen.org/bots)
- Click on Settings & Members > My account
- Under the "API tokens" section, click on "Create"
- Give it a name, then click on "Create token"
- Copy your token.
Use your token
You can authenticate by adding an
Authorization header to all your HTTP calls. The Authorization header is formatted as such:
Authorization: Bearer <token> (replace
<token> with your token previously generated).
curl -L -X GET 'https://app.ryen.org/api/bots/:ryenId/results' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer myAwesomeToken'