Important note about API key
Accessing CDISC Library API without an API key will result in HTTP 401 (Access Denied). A message similar to the following will appear in the response payload:
{ "statusCode": 401, "message": "Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API." }
As of 2020-11-11, API access to CDISC Library requires an API key. Previous Basic Auth is no longer supported. Follow these instructions to obtain and test with an API key.
Please contact the CDISC Library Support (mailto:cdisc_library_support@cdisc.org) when you need assistance.
General Process Flow
Obtain API Key
# | Instruction | Screenshot | Remarks |
---|---|---|---|
1 | Obtain a CDISC Library account and set up initial password | For details, refer to https://www.cdisc.org/cdisc-library/getting-started | |
2 | Navigate web browser to the API Management Developer Portal at https://api.developer.library.cdisc.org/signin. | Users can alternatively access the API Management Developer Portal through the Data Standards Browser's gear icon. | |
3 | Enter same credentials as you would for CDISC Library Data Standards Browser. Click Sign In. | Enter the same credentials you would for Data Standards Browser. Use the Forgot your password? link to reset password. | |
4 | Select API Key from top navigation menu. | ||
5 | Verify CDISC Library API is listed as a product under the Subscription section. | ||
6 | Click "Show" (of either primary or secondary key) to reveal a system-generated API key assigned to your CDISC Library account. | An API key is a 32-byte hexadecimal value. A fictitious key looks like this: abcdef0123456789abcdef0123456789 . |
Test API Endpoint with API Subscription Key
Instruction | Screenshot | Remarks | |
---|---|---|---|
1 | Compose an CDISC Library API query to this specification:
| Specifying the Accept header is optional. | |
2 | Execute query. | HTTP 200 is expected when authentication is successful. | |
3 | Obtain API usage metrics from https://api.developer.library.cdisc.org/reports. |