Learn how to set up third-party calling in your HubSpot help desk.
POST
request to your registered webhook with the following request body parameters:
Parameter | Type | Description |
---|---|---|
appId | Integer | The ID of the app for which this request was made. |
portalId | Integer | The ID of the HubSpot portal where the request originated from. |
userId | Integer | The ID of the HubSpot user making the request. |
Parameter | Type | Description |
---|---|---|
e164PhoneNumber | String | The phone number, which will be in E.164 format (e.g., +18001231234). |
extension | String | While the webhook response schema accepts phone numbers with extensions, phone numbers with extensions aren’t connected to the help desk at this time. Any phone numbers with extensions won’t be selectable by the user (e.g., “1”). |
friendlyName | String | HubSpot enforces a 24-character limit for friendly names for phone numbers. Any friendly name that’s longer than 24 characters will be truncated to the first 24 characters by HubSpot. |
isReady
flag.
Check out the reference documentation and locate the /channel-connection
endpoints for a full list of available parameters and expected responses.
POST
request to crm/v3/extensions/calling/{appId}/settings/channel-connection
, and include the following in your request body:
Parameter | Type | Description |
---|---|---|
url | String | The target URL for this webhook. |
isReady | Boolean | Determines whether this webhook is ready to be released to users of this extension. Learn more about isReady . |
https://example.com/my-help-desk-service
and you wanted to make it available immediately for HubSpot to call, the request body would be:
GET
request to crm/v3/extensions/calling/{appId}/settings/channel-connection
If your channel connection settings were already set up correctly, the response will resemble the following:
PATCH
request to crm/v3/extensions/calling/{appId}/settings/channel-connection
, and include one or both of the following fields in your request body:
Parameter | Type | Description |
---|---|---|
url | String | The target URL for this webhook. |
isReady | Boolean | Determines whether this webhook is ready to be released to users of this extension. Learn more about isReady . |
DELETE
request to crm/v3/extensions/calling/{appId}/settings/channel-connection
A successful DELETE
call will result in a 204 No Content
success status response code.
isReady=true
. If your app supports third-party connections, all users who have this app installed will have the option to select the app when they connect a number to their help desk. Registering your webhook with isReady=false
at first allows you to register the webhook and test it out without releasing it to all the users of your application immediately. To test your webhook’s help desk channel connection, you can override the isReady flag in-browser by setting local storage flag LocalSettings:Calling:supportsChannelConnection=true
(see below). Once you have determined that the webhook’s help desk channel connection is working properly and you’re ready for users to use your webhook, you can send a PATCH
request to update the isReady
flag to true
and release the functionality to users.
isReady=false
and local storage flag is false
: the app will appear greyed out for users when choosing a calling provider.isReady=true
or local storage flag is true
, the users will be able to select the app when choosing a calling provider.