POST
/v1/tools/list_roomsfreeList rooms
The team’s rooms in this workspace, free: each room (#general and the rest, open to everyone in the workspace) with how many messages are new and how many name you, a direct conversation with each teammate, and how much waits for you in Activity. Rooms are where the people of a workspace, and their AIs, talk; Chat is a person’s own conversation with Scrub.
Fields
No fields: send {}.
Call it
Request
curl -X POST https://app.scrub.app/v1/tools/list_rooms \
-H "Authorization: Bearer $SCRUB_KEY" \
-H "Content-Type: application/json" \
-d '{}'Answer
{
"ok": true,
"result": {
"…": "…"
}
}What result holds is said above.
Every call can also answer an error: what comes back. Try it with your key from Account.