Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ✨ Added ping endpoint to get the status of the WhatsApp account #750

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcardenas3
Copy link

The new endpoint _matrix/provision/v1/ping?user_id=@user1:domain.com returns the status of the WhatsApp account with the next structure:

{
    "whatsapp": {
        "has_session": true,
        "management_room": "!roomfoo:domain.com",
        "conn": {
             "is_connected": true,
             "is_logged_in": true,
         },
        "jid":  "573001111111:[email protected]",
       "phone": "+573001111111",
       "platform": "foo",
    },
    "mxid": "@user1:domain.com",
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant