Invalid client when using authCode from /app/central/home

I’m working on an api client for .NET - and for testing the functionality without the whole UI flow, I want to use the authCodes generated on the page
The API returns 401:
“error”: “invalid_client”
But the same client id is ok for generating the code (API Access => Partner). I can even generate token in the ‘Personal’ section. I triple checked my client secret. The only thing I’m not sure about is, which redirect_uri should I specify for the call to

I tried and also, but it’s the same.

Any help is appreciated!

The documentation on the Partner version is not public. Sorry about that. You need to send in the string null. Ideally the redirect_uri should not be needed by OAuth Spec, but out OAuth proxy provider requires it.

POST /token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: application/json
Authorization: Basic {{super secret}}
Cache-Control: no-cache


Nice, works now!

Thank you, and please add a hint in the ‘Partner’ screen.

For sure. Already created a story for it.