How to use Converse Debug API with authorization?

I can login and get token
http -v POST http://localhost:3000/api/v1/auth/login/basic/default email=test password=test

 "message": "Login successful",
    "payload": {
        "token": "foobar"
    "status": "success"

But when I try to use it to call debug api

 http -v POST http://localhost:3000/api/v1/bots/testbot/converse/user2?include=state  type=text text=hey Authorization:"Bearer foobar"

I get

Unauthenticated converse API can only return 'responses'

How can I fix it?
Is there any other way to get user variables with api request?

Hi @user753

Did you get this thing done? I’m stuck one step back, I didn’t realize how to secure my connection :frowning: