Retrieving Trusted App Token GET (DEPR)

This endpoint is deprecated.

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

Basic Retrieving of a Trusted App Token

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.