Api n8n cloud

Hi there,

I’m trying to access my n8n instance one n8n.cloud, but keep getting the following error:

400 Bad Request

My code is:

curl --location --request GET 'https://[myinstance].app.n8n.cloud/api/v1/workflows' \
--header 'X-N8N-API-KEY: n8n_api_123etc

Any ideas to what I might be doing wrong, and how to fix this?

Thanks in advance.

Hi @dickhoning, I am sorry to hear you’re having trouble. I just tried this out and it seems to work fine for me on n8n cloud running 0.201.0:

Could you perhaps reach out to [email protected] using your email registered with n8n cloud so we can take a closer look at what might be wrong with your instance?