Postman Authentication Type to leverage API?


I have tried to authenticate using a bearer token model (which only prompts for the API key I generated and enabled access to as an admin) and an API Key (as a query string with the key being ‘api_key’ and value being equal to the key generated by Omeka ‘2dc7…’) with no luck. In this case I was trying to create a new item_types

The raw body I tried to submit was straight from the API reference (I changed the name to be a different value from something already in the system:

“name”: “Tacos”,
“description”: “Lorem ipsum dolor sit amet, consectetur adipiscing elit.”,
“elements”: [
{“id”: 1},
{“id”: 2},
{“id”: 3}

No matter what I do, I get a 403 error stating that I am unauthorized, but I can use the “get” and query the item_types without issue.

How do I authenticate via the header or a query string? I can’t seem to find any details.

Thanks for your help!

It’s documented but maybe not as called out as important as it could be: you just put the key in a query string parameter named key.