Skip to content
Discussion options

You must be logged in to vote

Hi @slattiu! @koshibaharuki is correct — thanks for jumping in. 🙂

When you start OpenWA, the auto-generated API key is persisted at /data/.api-key inside the container (or in your data/ directory if running outside Docker). On the very first boot via npm run dev or npm run start:prod, it's also printed once in the terminal logs.

In dev mode the default is the literal string dev-admin-key.

If you ever lose it: stop the container/process, delete that file, and restart — a fresh key will be generated.

Hope that helps!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rmyndharis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants