Retrieving Trusted App Token GET

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

Basic Retrieving of a Trusted App Token

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 parameter expirationInSeconds . This specifies the expiration of the token in seconds. The expirationInSeconds is the lifespan until the token expires.
  • Optionally, you can provide the affiliation. This is the customer and group ID specification. For example, "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.