No credential available for this API. How to solve?

I’m trying to create a credentail for this API :point_down:

I have to obtain the Bearer Token and then make the request.
I couldn’t make “OAuth2 API” work because they have a custom Content-Type, I think.

How can I make this work without writing the credentials inside the workflow?

Here’s an example request for the Bearer Token generation:

curl --request POST \
  --url https://public-api.kiwify.com/v1/oauth/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data client_id=be161f42-1d05-4949-8736-1a526c28672d \
  --data client_secret=a12b34c56d78e90f1234abcd5678efgh9012ijkl3456mnop7890qrst1234uvwx

Information on your n8n setup

  • **n8n version:**1.64.3
  • **Database (default: SQLite):**default
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):**default
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**docker
  • **Operating system:**ubuntu 24.04

Hey @gmsalomao2 , are you selfhosting n8n instance Community edition? Then I do not think you can store your secrets outside the node configuration.

In PRO Cloud you could use custom variables instead, for example.

Yeah, I understand that.
But what I’m trying to do it setup the credentials correctly. Because it is a credential.

It shouldn’t show up in the workflow at all.