MEDS API Documentation Title

 

 

Browse our guides and interact with our API reference for more information about MEDSAPI DynaMed/DynaMedex. Try MEDSAPI DynaMed/DynaMedex and learn about core concepts.

 

 

 

 

Get Trusted App Token

The DynaMed/DynaMedex API GET /user/trusted-app-token endpoint allows you to retrieve a token for DynaMed/DynaMedex endpoints.

To Perform a Get Trusted App Token Request:

Gather the following information for the request:

  • A Personal Access Token. 
  • The consumer of the token being generated.  The consumer is required.  Setting the consumer value to 'mmx' will request a Watson token.  The other available consumer values are ehost and ehostdm.
  • Optionally, you can provide the expirationInSeconds of the token in seconds.  The expirationInSeconds is the lifespan until the token expires.
  • Optionally, you can provide affiliation. This is Customer and Group ID specification, e.g. "awsbasic.main".

Request

GET https://apis.ebsco.com/medsapi-dynamed/v1/user/trusted-app-token/mmx

Response

{
  "token": "ey1234567890..."
}

Error Response Codes

The DynaMed/DynaMedex Get Trusted App Token endpoint can return one of the error response codes .