All URIs are relative to https://api.pipedrive.com/v1
Method | HTTP request | Description |
---|---|---|
deleteUserProviderLink | DELETE /meetings/userProviderLinks/{id} | Delete the link between a user and the installed video call integration |
saveUserProviderLink | POST /meetings/userProviderLinks | Link a user with the installed video call integration |
UserProviderLinkSuccessResponse deleteUserProviderLink(id)
Delete the link between a user and the installed video call integration
A video calling provider must call this endpoint to remove the link between a user and the installed video calling app.
import Pipedrive from 'pipedrive';
let apiClient = new Pipedrive.ApiClient();
// Configure API key authorization: api_key
let api_key = apiClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = apiClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Pipedrive.MeetingsApi(apiClient);
let id = "id_example"; // String | Unique identifier linking a user to the installed integration
apiInstance.deleteUserProviderLink(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Unique identifier linking a user to the installed integration |
UserProviderLinkSuccessResponse
- Content-Type: Not defined
- Accept: application/json
UserProviderLinkSuccessResponse saveUserProviderLink(opts)
Link a user with the installed video call integration
A video calling provider must call this endpoint after a user has installed the video calling app so that the new user's information is sent.
import Pipedrive from 'pipedrive';
let apiClient = new Pipedrive.ApiClient();
// Configure API key authorization: api_key
let api_key = apiClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = apiClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Pipedrive.MeetingsApi(apiClient);
let opts = Pipedrive.UserProviderLinkCreateRequest.constructFromObject({
// Properties that you want to update
});
apiInstance.saveUserProviderLink(opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
UserProviderLinkCreateRequest | UserProviderLinkCreateRequest | [optional] |
UserProviderLinkSuccessResponse
- Content-Type: application/json
- Accept: application/json