Authorizing the APIs
Auth Token API¶
Host URL for Optima Admin Console environments will be as given below:
| Environment | {host-url} |
|---|---|
| Dev | optima-dev.optumrx.com |
Get Access Token¶
POST - https://{host-url}/admin-console/auth/v2/token
Request Header:
Request Body:
Note
<--tenant-name-->, username and password of master will be used to generate auth token.
Response:
Important Notes before using Module APIs¶
-
Auth Token APIwill require header field in the request, which is common for all api's i.e. master. -
All the admin console APIs, will require a header field with their Request, whose key will be
clientand the value will be tenant-name (which will be provided to the team when they onboard in Optima Platform). -
All the admin console APIs, EXCLUDING Auth Token API, are authorized and require Authorization Bearer Token.