Skip to main content
GET
/
crm
/
appointment
/
slots
Get available appointment slots
curl --request GET \
  --url https://api.routemcp.io/api/v1/crm/appointment/slots
{
  "success": true,
  "statusCode": 200,
  "message": "Success.",
  "data": [
    {
      "startTime": "2026-04-15T10:00:00.000Z",
      "endTime": "2026-04-15T10:30:00.000Z",
      "duration": 30,
      "available": true
    }
  ]
}

Query Parameters

endUserId
string
required

The end user whose connection to use

Example:

"user-001"

provider
string
required

Provider slug (e.g. hubspot, gohighlevel)

Example:

"hubspot"

calendarId
string
required

Scheduling page slug (HubSpot) or calendar ID (GoHighLevel)

Example:

"parth-v1"

startDate
string
required

Start of the date range (ISO 8601)

Example:

"2026-04-15T00:00:00Z"

endDate
string
required

End of the date range (ISO 8601)

Example:

"2026-04-20T00:00:00Z"

timezone
string

IANA timezone for availability calculation

Example:

"America/New_York"

Response

Available appointment slots

success
boolean
Example:

true

statusCode
integer
Example:

200

message
string
Example:

"Success."

data
object[]