How to Schedule a Meeting via API
This article explains how to use the public endpoint /calendarmeeting of the SprintHub API to automatically schedule meetings based on a calendar created on the platform.
β Overview
The endpoint /calendarmeeting allows you to schedule meetings directly on a calendar link, using data from an existing lead or automatically creating a new lead with the submitted data.
π This endpoint is public. It does not require authentication (
apitokenorAuthorization) β but it requires the call to be made within the correct instance context.
POST https://sprinthub-api-master.sprinthub.app/calendarmeeting?i=instance_name
π Required parameters
i
string
query
Instance name (e.g.: support)
keyName
string
body
Calendar ID, obtained from the public URL of the link
date
string
body
Meeting date and time in ISO 8601 format (UTC)
π§Ύ Body structure
πΉ Option 1 β Schedule by creating a new lead
{
"keyName": "TGcbitBqLjqmmp5tRzlX3",
"leadId": null,
"opportunityId": null,
"date": "2025-06-27T15:30:00.000Z",
"formData": {
"firstname": "Wanderson Fernandes",
"email": "emailteste@sprinthub.com"
},
"properties": {}
}
πΉ Option 2 β Schedule for an existing lead
β When leadId is provided, do not send the formData to avoid conflicts.
π§ Important notes
leadIdmust be a valid lead from the same instance.formDatais required only whenleadIdit isnull(it will be used to create the lead).propertiescan remain as{}. It is used only for rescheduling or additional data in more advanced calls.The date and time must be in UTC (e.g.:
2025-06-27T15:30:00.000Z).The calendar link needs to be active and have available times.
π Where to find the keyName
Access your public scheduling link. Example:
The final part of the URL is the keyName:
π₯ Common errors
CL006
The keyName does not belong to the specified instance or is not active.
CL008
The leadId does not exist or does not belong to the correct instance.
400
Missing or malformed data (e.g.: null as a string: "null").
request example:
Last updated