Reservations

Create reservation

Create an appointment reservation for a partner integration.

post/api/v1/partners/{partner_id}/reservations

Request

  • Base URL: https://app.bodyspec.com
  • URL: https://app.bodyspec.com/api/v1/partners/{partner_id}/reservations
  • Auth: one of:
    • HTTPBasic (a scheme the document does not define)
    • HTTP basic

Path parameters

partner_idstring required

Partner ID

Request body

appt_idstring required

BodySpec appointment ID

Example request

{
  "appt_id": "12345",
  "external": {
    "appt_id": "partner_booking_123",
    "user_id": "partner_user_456"
  },
  "user": {
    "email": "user@example.com",
    "first_name": "Jane",
    "last_name": "Smith"
  }
}

Response

Successful response

appt_idstring required

BodySpec appointment ID

start_timestring date-time required

Appointment start time in location timezone

user_idstring nullable

BodySpec user ID

reserve_timestring date-time required

UTC timestamp when reservation was created

Example response

{
  "external": {
    "appt_id": "partner_booking_123",
    "user_id": "partner_user_456"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.