barkd must include a bearer token. barkd generates one automatically on first start and stores it in the datadir.
1
Show the token
Print the current bearer token:
2
Rotate the token
To rotate the token, run:You can also supply your own token instead of letting
barkd generate one:Next steps
With the daemon running and a token in hand, you can start drivingbarkd over its REST API.
REST API
Full reference for every
barkd REST endpoint.