---
updatedAt: 2026-09-05T18:02:40.000Z
agentTools:
  projectIndex: https://docs.wodify.com/llms.txt
---

# Create Client Booking

Books an appointment for a Client.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Appointments",
    "description": "Endpoints for all Appointments-related actions.",
    "version": "1"
  },
  "paths": {
    "/appointments/bookings/clients/{client_id}": {
      "post": {
        "tags": [
          "Bookings"
        ],
        "description": "Books an appointment for a Client.",
        "operationId": "Post_BookAppointment_Client",
        "parameters": [
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "A valid API key. If you don't have one, please request one through the Automations → Integrations page.",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "description": "Id of the Client to book an appointment",
            "example": 1234567891234567,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Request_Post_BookAppointment_Client"
              }
            }
          },
          "description": "Request data for booking an appointment for a client",
          "required": true
        },
        "responses": {
          "200": {
            "description": "Client Booking",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response_Post_BookAppointment_Client"
                }
              }
            }
          }
        },
        "x-explorer-enabled": false,
        "summary": "Create Client Booking"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.wodify.com/v1"
    }
  ],
  "components": {
    "schemas": {
      "BookingCancelled2": {
        "description": "Appointment Cancelled By data",
        "type": "object",
        "properties": {
          "cancelled_by_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Identifier of the user who cancelled the booking."
          },
          "cancelled_by": {
            "type": "string",
            "default": "",
            "description": "Cancelled By (Name)"
          },
          "cancelled_on_datetime": {
            "type": "string",
            "format": "date-time",
            "example": "2014-12-31T23:59:59.938Z",
            "description": "Datetime Appointment was cancelled"
          }
        }
      },
      "ClientAppointmentBookingsResponse": {
        "description": "for Client_API&gt;Get/Search_AppointmentBookings",
        "type": "object",
        "properties": {
          "booking_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Reservation Id (Identifier)"
          },
          "client_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Identifier of the booked client."
          },
          "client": {
            "type": "string",
            "default": "",
            "description": "Client&#39;s Name"
          },
          "appointment_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Appointment Id (Identifier)"
          },
          "utc_appointment_start_datetime": {
            "type": "string",
            "format": "date-time",
            "example": "2014-12-31T23:59:59.938Z",
            "description": "Date Time that the Appointment Starts (UTC)"
          },
          "utc_appointment_end_datetime": {
            "type": "string",
            "format": "date-time",
            "example": "2014-12-31T23:59:59.938Z",
            "description": "Date Time that the appointment ends (UTC)"
          },
          "local_appointment_start_datetime": {
            "type": "string",
            "format": "date-time",
            "example": "2014-12-31T23:59:59.938Z",
            "description": "Date Time that the Appointment Starts (Local)"
          },
          "local_appointment_end_datetime": {
            "type": "string",
            "format": "date-time",
            "example": "2014-12-31T23:59:59.938Z",
            "description": "Date Time that the appointment ends (Local)"
          },
          "service_id": {
            "type": "string",
            "default": "",
            "description": "Service Id (Identifier)"
          },
          "service": {
            "type": "string",
            "default": "",
            "description": "Appointment Service Name"
          },
          "location_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Location Id (Identifier)"
          },
          "location_name": {
            "type": "string",
            "default": "",
            "description": "Appointment Location Name"
          },
          "provider_id": {
            "type": "string",
            "default": "",
            "description": "Service Provider Id (User Identifier)"
          },
          "provider": {
            "type": "string",
            "default": "",
            "description": "Service Provider Name"
          },
          "booking_status_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Booking&#39;s Status Id (Identifier)"
          },
          "booking_status": {
            "type": "string",
            "default": "",
            "description": "Booking&#39;s Status"
          },
          "created": {
            "$ref": "#/components/schemas/Created"
          },
          "updated": {
            "$ref": "#/components/schemas/Updated"
          },
          "membership_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Membership Id associated to the Bookings Appointment"
          },
          "membership": {
            "type": "string",
            "default": "",
            "description": "Name of the Membership associated to the Booking&#39;s Appointment"
          },
          "is_free_trial": {
            "type": "boolean",
            "example": false,
            "description": "Indicates if the Booking is a Free Trial"
          },
          "is_late_cancellation": {
            "type": "boolean",
            "example": false,
            "description": "Indicates if the Booking is a Free Trial"
          },
          "cancelled": {
            "$ref": "#/components/schemas/BookingCancelled2"
          }
        }
      },
      "Created": {
        "description": "Record creation data.",
        "type": "object",
        "properties": {
          "created_by_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Unique ID of the user that created the record."
          },
          "created_by": {
            "type": "string",
            "default": "",
            "description": "Name of the user that created the record."
          },
          "created_on_datetime": {
            "type": "string",
            "format": "date-time",
            "example": "2014-12-31T23:59:59.938Z",
            "description": "Datetime on which the record was created."
          }
        }
      },
      "Request_Post_BookAppointment_Client": {
        "description": "Contains needed input parameters to book an appointment to a client",
        "type": "object",
        "properties": {
          "location_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Location Id"
          },
          "service_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Service Id"
          },
          "provider_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Provider Id"
          },
          "pay_rate_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Identifies the pay rate associated to this provider"
          },
          "start_date": {
            "type": "string",
            "format": "date",
            "example": "2014-12-31",
            "description": "Booking Start Date in Customer&#39;s Time Zone"
          },
          "start_time": {
            "type": "string",
            "format": "time",
            "example": "23:59:59",
            "description": "Booking Start Time in Customer&#39;s Time Zone"
          },
          "service_duration_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Service Duration Id"
          }
        },
        "required": [
          "location_id",
          "service_id",
          "provider_id",
          "pay_rate_id",
          "start_date",
          "start_time",
          "service_duration_id"
        ]
      },
      "Response_Post_BookAppointment_Client": {
        "description": "Client Booking details",
        "type": "object",
        "properties": {
          "client_appointment_booking": {
            "$ref": "#/components/schemas/ClientAppointmentBookingsResponse"
          },
          "wodify_validation_result": {
            "type": "string",
            "default": "",
            "description": "The purpose of this attribute is to save any UserException message, that is, and user friendly message that should be shown to the end user. All methods should have, just like service actions: - an UserException with Abort Transaction = Yes, and a Log Error = No - an AllExceptions with Abort Transaction = Yes, and a Log Error = Yes With this, any known issue that we don&#39;t consider an error log, like a business validation, we raise it to be catch in the UserException and we don&#39;t log it. Then, in the OnResponse of the full REST service, the Build_Response_JSON action will take care on the output json format. An Exception will have the default formatted error message. If its an AllException, it will log the error so that we can fix it. If its a UserException, it will deliver as an error but it won&#39;t log it as an error. A success output will not have this attribute, the Build_Response_JSON will remove it from the final output."
          }
        }
      },
      "Updated": {
        "description": "Update info",
        "type": "object",
        "properties": {
          "updated_by_id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Unique ID of the user that last updated the record."
          },
          "updated_by": {
            "type": "string",
            "default": "",
            "description": "Name of the user that most recently updated the record."
          },
          "updated_on_datetime": {
            "type": "string",
            "format": "date-time",
            "example": "2014-12-31T23:59:59.938Z",
            "description": "Datetime on which the record was last updated."
          }
        }
      }
    }
  }
}
```