Authorizing the APIs
Auth Token API¶
Host URL for Optima Gateway environments will be as given below:
| Environment | {host-url} |
|---|---|
| Dev | optima-dev.optumrx.com |
| Stage | optima-stage.optumrx.com |
| Prod | optima-prod.optumrx.com |
Get Access Token¶
POST - https://{host-url}/gateway/auth/token
Request Header:
Request Body:
Note
<--tenant-name-->, <--username--> and <--password--> will be provided to the respective Team (Admin) at the time of On-boarding Optima.
Response:
Important Notes before using Module APIs¶
- All the Optima Gateway APIs, INCLUDING Auth Token API, will require a common header field with their Request, whose key will be
tenantand the value will be tenant-name (which will be provided to the team when they onboard in Optima Platform). - All the Optima Gateway APIs, EXCLUDING Auth Token API, are authorized and require Authorization Bearer Token.