Repository navigation
How can i get the API Key? #70
|
Greetings! I'm new in this and i want to know how can i get the api key |
Answered by
rmyndharis
Jul 20, 2026
Replies: 2 comments
|
file /data/.api-key |
0 replies
|
Hi @slattiu! @koshibaharuki is correct — thanks for jumping in. 🙂 When you start OpenWA, the auto-generated API key is persisted at In dev mode the default is the literal string If you ever lose it: stop the container/process, delete that file, and restart — a fresh key will be generated. Hope that helps! |
0 replies
Answer selected by
rmyndharis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @slattiu! @koshibaharuki is correct — thanks for jumping in. 🙂
When you start OpenWA, the auto-generated API key is persisted at
/data/.api-keyinside the container (or in yourdata/directory if running outside Docker). On the very first boot vianpm run devornpm 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!