Skip to main content

ReserveKit API (1.0.0)

Booking API for developers

Services

Services management endpoints

Get services

Get services by provider ID

Authorizations:
ApiKeyAuth
query Parameters
page
required
integer

Page

page_size
required
integer

Page Size

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Create a service

Create a service

Authorizations:
ApiKeyAuth
Request Body schema: application/json
required

Create Service Payload

description
string <= 255 characters
name
required
string <= 72 characters
Array of objects (main.CreateTimeSlotPayload)
timezone
required
string

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "name": "string",
  • "time_slots": [
    ],
  • "timezone": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Get a service

Get a service by ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer

Service ID

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Delete a service

Delete a service by ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer

Service ID

Responses

Response samples

Content type
application/json
{
  • "data": "string",
  • "error": "string"
}

Update a service

Update a service by ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer

Service ID

Request Body schema: application/json
required

Update Service Payload

description
string <= 255 characters
name
string <= 72 characters

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Get time slots

Get time slots by service ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
string

Service ID

query Parameters
page
required
integer

Page

page_size
required
integer

Page Size

no_pagination
boolean

No Pagination

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Bookings

Booking management endpoints

Get all bookings for a service

Get all booking for a service by ID

Authorizations:
ApiKeyAuth
query Parameters
service_id
required
integer

Service ID

page
required
integer

Page

page_size
required
integer

Page Size

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Creates a booking

Creates a booking

Authorizations:
ApiKeyAuth
query Parameters
service_id
required
integer

Service ID

Request Body schema: application/json
required

Create Booking Payload

customer_email
string
customer_name
string
customer_phone
string
date
required
string
message
string
time_slot_id
required
integer

Responses

Request samples

Content type
application/json
{
  • "customer_email": "string",
  • "customer_name": "string",
  • "customer_phone": "string",
  • "date": "string",
  • "message": "string",
  • "time_slot_id": 0
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Get a booking

Get a booking by ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer

Booking ID

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Delete a booking

Delete a booking by ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer

Booking ID

Responses

Response samples

Content type
application/json
{
  • "data": { },
  • "error": "string"
}

Update a booking

Update a booking by ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer

Booking ID

Request Body schema: application/json
required

Update Booking Payload

cancel_reason
string
date
string
message
string
status
string
Enum: "pending" "confirmed" "cancelled"

Responses

Request samples

Content type
application/json
{
  • "cancel_reason": "string",
  • "date": "string",
  • "message": "string",
  • "status": "pending"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Get a booking customer

Get a booking customer by ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer

Booking ID

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Update a booking customer

Update a booking customer by ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer

Booking ID

Request Body schema: application/json
required

Update Booking Customer Payload

email
string
name
string
phone
string

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "name": "string",
  • "phone": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Time Slots

Time slot management endpoints

Get time slots

Get time slots by service ID

Authorizations:
ApiKeyAuth
query Parameters
service_id
required
string

Service ID

page
required
integer

Page

page_size
required
integer

Page Size

no_pagination
boolean

No Pagination

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": "string"
}

Delete time slot

Delete time slot by ID

Authorizations:
ApiKeyAuth
path Parameters
timeSlotID
required
string

Time Slot ID

Responses

Response samples

Content type
application/json
{
  • "data": "string",
  • "error": "string"
}