MEDS API Documentation Title

 

 

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

 

 

 

 

Get Trusted App Token

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

To Perform a Get Trusted App Token Request (example):

Gather the following information for the request:

  • An access token. 
  • The consumer of the token being generated.  The consumer is required.  Setting the consumer value to 'mmx' will request a Watson token.  Currently, this is the only token value available.
  • Optionally, you can also provide the lifespan of the token in seconds.  The lifespan is the time period until the token expires.

Request

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

Response

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

Error Response Codes

The DynaMedex get a trusted App token endpoint can return one of the error response codes.