Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 2.01 KB

File metadata and controls

51 lines (32 loc) · 2.01 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

import ding

s = ding.Ding(
    api_key='YOUR_API_KEY',
)


res = s.lookup.lookup(phone_number='<value>', customer_uuid='69a197d9-356c-45d1-a807-41874e16b555')

if res.lookup_response is not None:
    # handle response
    pass

Parameters

Parameter Type Required Description
phone_number str ✔️ N/A
customer_uuid str ✔️ N/A
type List[operations.Type] N/A

Response

operations.LookupResponse

Errors

Error Type Status Code Content Type
errors.ErrorResponse 400 application/json
errors.SDKError 4XX, 5XX */*