Testing api-key access in postman

default discord avatar
6 months ago

I added an apiUser collection to my app with the goal of setting up api-key authentication. I would like to test my setup in postman, at the url:


with api key authentication. Does anyone know how to implement

an authorization format like this:

${User.slug} API-Key ${YOUR_API_KEY}

, in postman?

If you ever run into this issue, the solution is to use as key "Authorization" and value "{your_collection.slug} API-Key {Your_API_Key}"🤩

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.