Get Chatwoot configuration
curl --request GET \
--url https://api.wppfy.com/chatwoot/config \
--header 'token: <api-key>'import requests
url = "https://api.wppfy.com/chatwoot/config"
headers = {"token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {token: '<api-key>'}};
fetch('https://api.wppfy.com/chatwoot/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wppfy.com/chatwoot/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.wppfy.com/chatwoot/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.wppfy.com/chatwoot/config")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wppfy.com/chatwoot/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"chatwoot_enabled": true,
"chatwoot_url": "https://app.chatwoot.com",
"chatwoot_account_id": 1,
"chatwoot_inbox_id": 5,
"chatwoot_access_token": "pXXGHHHyJPYHYgWHJHYHgJjj",
"chatwoot_ignore_groups": false,
"chatwoot_sign_messages": true,
"chatwoot_create_new_conversation": false
}Chatwoot Integration
Get Chatwoot configuration
Returns the current Chatwoot integration configuration for the instance.
Features:
- Returns all Chatwoot settings, including credentials
- Shows the integration’s enabled status
- Useful for checking current settings before making changes
GET
/
chatwoot
/
config
Get Chatwoot configuration
curl --request GET \
--url https://api.wppfy.com/chatwoot/config \
--header 'token: <api-key>'import requests
url = "https://api.wppfy.com/chatwoot/config"
headers = {"token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {token: '<api-key>'}};
fetch('https://api.wppfy.com/chatwoot/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wppfy.com/chatwoot/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.wppfy.com/chatwoot/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.wppfy.com/chatwoot/config")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wppfy.com/chatwoot/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"chatwoot_enabled": true,
"chatwoot_url": "https://app.chatwoot.com",
"chatwoot_account_id": 1,
"chatwoot_inbox_id": 5,
"chatwoot_access_token": "pXXGHHHyJPYHYgWHJHYHgJjj",
"chatwoot_ignore_groups": false,
"chatwoot_sign_messages": true,
"chatwoot_create_new_conversation": false
}Authorizations
Response
Configuration retrieved successfully
Whether the Chatwoot integration is enabled
Example:
true
Base URL of the Chatwoot instance
Example:
"https://app.chatwoot.com"
Chatwoot account ID
Example:
1
Chatwoot inbox ID
Example:
5
Chatwoot API access token
Example:
"pXXGHHHyJPYHYgWHJHYHgJjj"
Whether to ignore group messages during sync
Example:
false
Whether to sign messages sent to WhatsApp
Example:
true
Always create a new conversation instead of reusing existing conversations
Example:
false
