Problems accessing n8n api

i am trying to use the n8n api.
I have n8n running locally as a docker container.
the docker run command i used is

 docker run -it --rm \
 --name n8n \
 -p 5678:5678 \
 -v n8n_data:/home/node/.n8n \
 docker.n8n.io/n8nio/n8n \
 start --tunnel

I created an API key, and I tried with basic authentication, using the same user/password as for the ui.
The url i tried is the following

http://localhost:5678/api/v1/wortkflows?active=true

the message i get, both for Basic Auth and API Key

error 404: not found
{
    "message": "not found"
}

Debug info

[details="instance information"]
# Debug info

## core

- n8nVersion: 1.76.3
- platform: docker (self-hosted)
- nodeJsVersion: 20.18.2
- database: sqlite
- executionMode: regular
- concurrency: -1
- license: community
- consumerId: unknown

## storage

- success: all
- error: all
- progress: false
- manual: true
- binaryMode: memory

## pruning

- enabled: true
- maxAge: 336 hours
- maxCount: 10000 executions

## client

- userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/132.0.0.0 safari/537.36
- isTouchDevice: false

Generated at: 2025-02-12T21:17:26.149Z
[/details]

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hope you figured this out by now, but this is wrong:

Sorry, but what is wrong exact,y? It does not work yet, sometimes i am able to receice one single message from my telegram bot, but the next request returns an error

The word is wrong, @jevylux
You wrote wortkflows, while it should be workflows

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.