(lookup)
Retrieve up-to-date metadata about a specific phone number
- lookup - Look up for phone number
Look up for phone number
import ding
s = ding.Ding(
api_key="YOUR_API_KEY",
)
res = s.lookup.lookup(phone_number='<value>', customer_uuid='6e93aa15-9177-4d09-8395-b69ce50db1c8')
if res.lookup_response is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
phone_number |
str | ✔️ | N/A |
customer_uuid |
str | ✔️ | N/A |
Error Type | Status Code | Content Type |
---|---|---|
errors.ErrorResponse | 400 | application/json |
errors.SDKError | 4XX, 5XX | */* |