configured booleanWhether the Discord bot token is set
running booleanWhether the Discord adapter is currently active
mode stringConnection mode (always
bot)Search the documentation
Start typing to find what you're looking for
/api/channels/status BearerRetrieve the running status, configuration state, and adapter details of all channel adapters connected to PocketPaw. Returns which channels are active and their current configuration.
Returns the current status of all 8 supported channel adapters, including whether each is configured (has required tokens/credentials) and whether it is currently running.
discord objectconfigured booleanrunning booleanmode stringbot)slack objectconfigured booleanrunning booleanwhatsapp objectconfigured booleanrunning booleanmode stringpersonal or businesstelegram objectconfigured booleanrunning booleansignal objectconfigured booleanrunning booleanmatrix objectconfigured booleanrunning booleanteams objectconfigured booleanrunning booleangchat objectconfigured booleanrunning booleancurl -X GET "http://localhost:8000/api/channels/status" \ -H "Authorization: Bearer <token>"const response = await fetch("http://localhost:8000/api/channels/status", { headers: { "Authorization": "Bearer <token>" }});const data = await response.json();console.log(data);import requests
response = requests.get( "http://localhost:8000/api/channels/status", headers={"Authorization": "Bearer <token>"})print(response.json()){ "discord": {"configured": true, "running": true, "mode": "bot"}, "slack": {"configured": true, "running": false}, "whatsapp": {"configured": true, "running": true, "mode": "personal"}, "telegram": {"configured": false, "running": false}, "signal": {"configured": false, "running": false}, "matrix": {"configured": false, "running": false}, "teams": {"configured": false, "running": false}, "gchat": {"configured": false, "running": false}}curl -X GET "http://localhost:8000/api/channels/status" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>"const response = await fetch("http://localhost:8000/api/channels/status", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer <token>"
},
});
const data = await response.json();
console.log(data);import requests
response = requests.get(
"http://localhost:8000/api/channels/status",
headers={'Content-Type':'application/json','Authorization':'Bearer <token>'},
)
print(response.json())package main
import (
"fmt"
"net/http"
"io"
)
func main() {
req, _ := http.NewRequest("GET", "http://localhost:8000/api/channels/status", nil)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer <token>")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}