API Basics
Authentication
The Medallion API requires authentication to ensure the security of your data.
In order to access any of the available API endpoints, you need to pass your unique, secret key in the request header.
"x-api-key": "YOUR_API_KEY"
curl --request GET \
--url 'https://api.medallion.co/api/v1/org/licenses?limit=200' \
--header 'Accept: application/json' \
--header 'x-api-key: YOUR_API_KEY'
If you are making a request using our API Reference page you will need to enter your API key in the field shown below.

Please reach out to your Medallion Customer Success Manager if you are interested in having an API key.
Error Handling
Below are some common error messages that you may encounter as well as their corresponding meanings.
Response | Name | Meaning | Troubleshoot |
---|---|---|---|
400 | Bad Request | The 400 status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error. |
|
403 | Unauthorized | The 403 status code indicates that your x-api-key header is missing or invalid. |
|
404 | Not Found | The 404 status code indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists. |
|
500 | Internal Server Error | The 500 status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. | Please reach out to your Medallion Representative. |
Please refer to RFC 9110 for a more comprehensive list of statuses that can be returned.
Recommended Usage
Only Ingest Necessary Fields
We recommend that you only ingest the fields you need for your records from our API responses. This will reduce ETL failures from unnecessary data and the work needed by your team to make updates when our API changes. If you are ingesting all fields returned by our API, you will need to update your integration any time a backwards incompatible change is released. As our API is actively developed, breaking changes may be released as often as once a month. If we make a breaking change you will be notified via email at least 30 days in advance so you have time to update your integration (API Versioning).
Updated 10 days ago