These endpoints are used to plug into the meeting creation flow within HubSpot and add video conference information.
hapikey
query parameter at the end of the request URL. You can find your developer API key in your developer account.
PUT
request to /crm/v3/extensions/videoconferencing/settings/{appId}?hapikey=YOUR_HUBSPOT_DEVELOPER_API_KEY
.
In the request body, you’ll need to include the createMeetingUrl
field to set the URL that HubSpot will send meeting creation webhook payloads. You can optionally include additional webhook URLs. These values can be updated later using the same request URL.
Field | Type | Description |
---|---|---|
createMeetingUrl | String | The URL that HubSpot will notify when a new meeting has been created. This will include a JSON payload with the meeting details. The URL must use https protocol. |
updateMeetingUrl | String | The URL that HubSpot will notify when an existing meeting has been updated. This will include a JSON payload with the updated meeting details. The URL must use https protocol. |
deleteMeetingUrl | String | The URL that HubSpot will notify when an existing meeting has been deleted. This will include a conferenceId of the deleted meeting. The URL must use https protocol. |
userVerifyUrl | String | The URL that HubSpot will use to verify that the user exists in the external video conferencing system. |
GET
request to /crm/v3/extensions/videoconferencing/settings/{appId}
.
The response will include the currently configured webhook URLs.
createMeetingUrl
field. The request payload includes information about the HubSpot account, associated HubSpot user, and meeting details.
Field | Type | Description |
---|---|---|
portalId | Number | The ID of the HubSpot account that the request is coming from. |
userId | Number | The ID of the HubSpot user that is assigned to the meeting. |
userEmail | String | The email address of the HubSpot user assigned to the meeting. |
topic | String | The title of the meeting. |
source | String | Indicates where the meeting was created. Can be either:
|
startTime | Number | The start time of the meeting in epoch milliseconds. |
endTime | Number | The end time of the meeting in epoch milliseconds. |
conferenceId
: a unique ID associated with the conference on this event. This ID needs to be globally unique within your system. HubSpot will return this ID back to you in the update webhook.conferenceUrl:
the URL that users can use to join the conference.conferenceDetails
: plain text invitation information. This should describe how attendees of the event can access the video conference for this event. Newlines will be maintained in representations of this text, but no other formatting is supported.updateMeetingUrl
, HubSpot will send this URI a request whenever a meeting’s relevant details have changed. This notification is necessary if you need to maintain the most up-to date topic or times for a video conference. The request payload includes information about the HubSpot account, associated HubSpot user, and meeting details.
Field | Type | Description |
---|---|---|
conferenceId | String | The unique identifier for the conference provided by your integration in the response to the create meeting webhook. |
userId | Number | The ID of the HubSpot user that is assigned to the meeting. This will always be the same user as the one in the meeting creation payload. |
userEmail | String | The email address of the HubSpot user assigned to the meeting. This will always be the same user as the one in the meeting creation payload. |
portalId | Number | The ID of the HubSpot account that the request is coming from. |
topic | String | The title of the meeting. |
startTime | Number | The start time of the meeting in epoch milliseconds. |
endTime | Number | The end time of the meeting in epoch milliseconds. |
200
or 204
response code is required to let HubSpot know that this webhook was been received successfully.
deleteMeetingUrl
field. The payload will include the conferenceId
of the deleted meeting.
200
or 204
response code is required to let HubSpot know that this webhook was been received successfully.
userVerifyUrl
field. If that URL has been set, HubSpot will make a call to it to retrieve your native user identifier. It will then send that identifier as the user’s email address in the subsequent call. If you do not configure this URL, HubSpot will always assume that the user’s identity is verified.
This setting is optional and is up to you to determine if it’s needed. If you need to maintain a user mapping within your system, you may wish to simply map the HubSpot user ID or email to your internal user ID on each call.
The payload for this webhook contains the HubSpot account ID and the user’s email address.
200
response or any error code (404
would be appropriate). If you return a 200
, you should return a payload containing the new ID that we should use in place of the email address: