{ "opencollection": "1.0.0", "info": { "name": "OpenClinica REST Authentication API", "version": "4.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Authentication", "type": "folder" }, "items": [ { "info": { "name": "Obtain an OAuth 2.0 access token", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.build.openclinica.io/user-service/api/oauth/token", "body": { "type": "form-urlencoded", "data": [ { "name": "grant_type", "value": "" }, { "name": "username", "value": "" }, { "name": "password", "value": "" } ] } }, "docs": "POST credentials to obtain a bearer access token. The token is then sent as an Authorization Bearer header on all subsequent REST API calls." } ] } ], "bundled": true }