Contents
On this page

List Booking Forms - Plugixa Chauffeur

GET /plugixa-chauffeur/v1/booking-forms

List the booking forms, one page at a time.

Needs a signed-in user with the plugixa_chauffeur_manage capability (administrators have it after activation).

Request

GET https://your-site.example/wp-json/plugixa-chauffeur/v1/booking-forms?search=airport

Query parameters

Name Type Default Description
search string Matches part of the form name.

Plus the list parameters every list accepts. orderby accepts created_at (the default), name, display_order and status.

Responses

200 OK. data.items is one page of forms.

{
  "success": true,
  "message": "",
  "data": {
    "items": [
      {
        "id": "1",
        "name": "Airport transfers",
        "slug": "airport-transfers",
        "enable_distance": true,
        "enable_hourly": true,
        "enable_flat": false,
        "enable_return": true,
        "default_service_type": "distance",
        "currency": "EUR",
        "min_lead_time": 120,
        "min_passengers": 1,
        "settings": {
          "require_phone": true,
          "appearance": {
            "scheme": "auto",
            "accent": "#1d4ed8",
            "accent_text": "",
            "background": "",
            "card": "",
            "radius": "rounded",
            "border": true
          }
        },
        "status": "published",
        "display_order": "0",
        "created_at": "2026-11-12 09:30:00"
      }
    ],
    "total": 2,
    "limit": 20,
    "offset": 0
  }
}
Field Type Meaning
data.items array One page of rows
data.total integer Rows matching the filters, before paging
data.limit integer Rows per page used. 999999 when you asked for every row
data.offset integer Rows skipped
data.items[] object A form, as in Get Booking Form

Errors

Plus the errors every endpoint can return.

Examples

curl -s "https://your-site.example/wp-json/plugixa-chauffeur/v1/booking-forms?search=airport" \
  -u "admin:$WP_APP_PASSWORD"
<?php
$query = http_build_query([
    'search' => 'airport',
]);
$ch = curl_init('https://your-site.example/wp-json/plugixa-chauffeur/v1/booking-forms?' . $query);
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 auth = Buffer.from(`admin:${process.env.WP_APP_PASSWORD}`).toString('base64');
const query = new URLSearchParams({ search: 'airport' });
const response = await fetch(`https://your-site.example/wp-json/plugixa-chauffeur/v1/booking-forms?${query}`, {
  headers: {
    'Authorization': `Basic ${auth}`,
  },
});
const { data } = await response.json();

Quick Links

Share