Open link in a new tab

Content

Expand project menu

Request always returns "Unauthenticated"

Hi,

I am evaluating the API capabilities and strugling with the authentication.

OpenProject 10.3.2 (PostgreSQL), Cloud.

Following the Authentication section of the documentation:

I am trying to uthenticate using the basic auth.

So, I generated the API_KEY.

Than trying to send a request in Postman using basic auth authentication method:

Where both Username and Password = API_KEY

And I am getting 401 status code.

kind regards,

Alexander

Message actions

Hi Alexander,

you need to use the string apikey as the user. Your API key should only be the password.

Best

Oliver

Message actions

Hi Oliver,

My bad. Misinterpreted the sentence in the docs.

It work fine now.

I appreciate! thank you!

Alexander