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 |
deleteUserProviderLink($id): \Pipedrive\versions\v1\Model\UserProviderLinkSuccessResponseDelete 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.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
$config = (new Pipedrive\versions\v1\Configuration())->setApiKey('x-api-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = (new Pipedrive\versions\v1\Configuration())->setApiKeyPrefix('x-api-token', 'Bearer');
// Configure OAuth2 access token for authorization: oauth2
$config = (new Pipedrive\versions\v1\Configuration())->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Pipedrive\versions\v1\Api\MeetingsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | Unique identifier linking a user to the installed integration
try {
$result = $apiInstance->deleteUserProviderLink($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MeetingsApi->deleteUserProviderLink: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | Unique identifier linking a user to the installed integration |
\Pipedrive\versions\v1\Model\UserProviderLinkSuccessResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
saveUserProviderLink($user_provider_link_create_request): \Pipedrive\versions\v1\Model\UserProviderLinkSuccessResponseLink 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.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
$config = (new Pipedrive\versions\v1\Configuration())->setApiKey('x-api-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = (new Pipedrive\versions\v1\Configuration())->setApiKeyPrefix('x-api-token', 'Bearer');
// Configure OAuth2 access token for authorization: oauth2
$config = (new Pipedrive\versions\v1\Configuration())->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Pipedrive\versions\v1\Api\MeetingsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$user_provider_link_create_request = new \Pipedrive\versions\v1\Model\UserProviderLinkCreateRequest(); // \Pipedrive\versions\v1\Model\UserProviderLinkCreateRequest
try {
$result = $apiInstance->saveUserProviderLink($user_provider_link_create_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MeetingsApi->saveUserProviderLink: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| user_provider_link_create_request | \Pipedrive\versions\v1\Model\UserProviderLinkCreateRequest | [optional] |
\Pipedrive\versions\v1\Model\UserProviderLinkSuccessResponse
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]