Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.49 KB

CallApi.md

File metadata and controls

56 lines (39 loc) · 1.49 KB

VereTech\SyncroMSP_PHPclient\Client\CallApi

All URIs are relative to https://{subdomain}.syncromsp.com/api/v1

Method HTTP request Description
calleridGet GET /callerid Get Caller ID

calleridGet

calleridGet($did, $outbound)

Get Caller ID

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new VereTech\SyncroMSP_PHPclient\Client\Api\CallApi(
    // 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()
);
$did = "did_example"; // string | Phone number
$outbound = true; // bool | 

try {
    $apiInstance->calleridGet($did, $outbound);
} catch (Exception $e) {
    echo 'Exception when calling CallApi->calleridGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
did string Phone number
outbound bool [optional]

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/plain

[Back to top] [Back to API list] [Back to Model list] [Back to README]