Contents
On this page

List CRM Connections - Plugixa Chat

GET /plugixa-chat/v1/crm

List the connections that send leads to Mailchimp, Brevo or FluentCRM PRO, one page at a time.

Needs Plugixa Chat Pro. The signed-in user needs the plugixa_chat_view capability. Administrators have it.

Request

GET https://your-site.example/wp-json/plugixa-chat/v1/crm

Query parameters

The list parameters every paged list accepts. search matches the name and the list name. orderby accepts id, name, provider and created_at.

Responses

200 OK. data is one page of connections.

{
  "success": true,
  "data": [
    {
      "id": 6,
      "provider": "mailchimp",
      "name": "Newsletter",
      "list_id": "a1b2c3d4e5",
      "list_name": "Newsletter",
      "tags": [
        "chat-lead"
      ],
      "double_optin": true,
      "audience": "subscribed",
      "widget_id": 0,
      "is_active": true,
      "last_status": 0,
      "last_error": "",
      "last_sent_at": null,
      "failures": 0,
      "deleted_at": null,
      "created_at": "2026-11-12 09:30:00",
      "modified_at": "2026-11-12 09:30:00",
      "created_by": "1",
      "modified_by": "1",
      "has_key": true
    }
  ],
  "meta": {
    "total": 1,
    "pages": 1
  }
}
Field Type Meaning
data[] object A connection, shaped as in Get CRM Connection
meta.total integer Matching rows, before paging
meta.pages integer Number of pages at this per_page

Errors

Plus the errors every endpoint can return.

Examples

curl -s "https://your-site.example/wp-json/plugixa-chat/v1/crm" \
  -u "admin:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-chat/v1/crm');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERPWD        => 'admin:' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const response = await fetch('https://your-site.example/wp-json/plugixa-chat/v1/crm', {
  headers: {
    'Authorization': 'Basic ' + btoa(`admin:${process.env.WP_APP_PASSWORD}`),
  },
});
const { data } = await response.json();

Quick Links

Share