Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.24 KB

README.md

File metadata and controls

57 lines (34 loc) · 1.24 KB

Lookup

(lookup)

Overview

Retrieve up-to-date metadata about a specific phone number

Available Operations

  • lookup - Look up for phone number

lookup

Look up for phone number

Example Usage

declare(strict_types=1);

require 'vendor/autoload.php';

use Ding\DingSDK;

$security = 'YOUR_API_KEY';

$sdk = DingSDK\Ding::builder()->setSecurity($security)->build();



$response = $sdk->lookup->lookup(
    customerUuid: '69a197d9-356c-45d1-a807-41874e16b555',
    phoneNumber: '<value>'

);

if ($response->lookupResponse !== null) {
    // handle response
}

Parameters

Parameter Type Required Description
customerUuid string ✔️ N/A
phoneNumber string ✔️ N/A

Response

?Operations\LookupResponse

Errors

Error Type Status Code Content Type
Errors\SDKException 4XX, 5XX */*