POST /v4/colors/query
(Last updated: 24/10/2025)
Request
Method
POST
URL
https://api.medipim.fr/v4/colors/query
Headers
Body
filter: one of the filters below; filters can be combined usingand,or¬. (optional)
| Filter | Description | Parameters | Examples |
|---|---|---|---|
{"id": ...} |
Matches color by Medipim ID. | One or more IDs | {"id": "red"} or {"id": ["red", ...]} |
{"and": [...]} |
Matches colors that match all of the given filters. | A list of filters. | {"and": [{"id": "red"}, ...]} |
{"or": [...]} |
Matches colors that match any of the given filters. | A list of filters. | {"or": [{"id": "red"}, ...]} |
{"not": ...} |
Matches colors that do not match the given filter. | A filter. | {"not": {"id": "red"}} |
Response
Body
-
meta:total: total number of results (integer)
-
results[]:id: Medipim ID of the color (string, unique)name.{...}: Name of the color (string, localized)