API Authentication - geneyx/geneyx.analysis.api GitHub Wiki
All API calls are secured and requires authentication. each API could be authenticated in the following ways
1. API User Key and API UserId
Each user that wishes to use Geneyx API could receive from supports their API User Key and API User ID. those could be used in the request body or request headers Request body:
{ "apiUserKey": "xxx", "apiUserId": "yyy" }
The following header keys could be used as well
- ApiUserId
- ApiUserKey
2. Using OAuth2 bearer token.
Standard Oauth2 authentication flow creates a bearer token that could be used to authenticate the API calls. Default authentication server: https://auth.geneyx.com Entry points:
- Authorization: /oauth2/authorize
- Token: /oauth2/token
- User: /oauth2/userinfo
- Scope: ["identity"]
once received, the token could be used as a standard authorization bearer token