Soenneker.Twilio.Lookups
11.0.208
Prefix Reserved
dotnet add package Soenneker.Twilio.Lookups --version 11.0.208
NuGet\Install-Package Soenneker.Twilio.Lookups -Version 11.0.208
<PackageReference Include="Soenneker.Twilio.Lookups" Version="11.0.208" />
<PackageVersion Include="Soenneker.Twilio.Lookups" Version="11.0.208" />
<PackageReference Include="Soenneker.Twilio.Lookups" />
paket add Soenneker.Twilio.Lookups --version 11.0.208
#r "nuget: Soenneker.Twilio.Lookups, 11.0.208"
#:package Soenneker.Twilio.Lookups@11.0.208
#addin nuget:?package=Soenneker.Twilio.Lookups&version=11.0.208
#tool nuget:?package=Soenneker.Twilio.Lookups&version=11.0.208
Soenneker.Twilio.Lookups
Retrieves phone-number data from Twilio Lookup v1, including optional carrier, caller-name, and Marketplace add-on results.
Installation
dotnet add package Soenneker.Twilio.Lookups
Configuration
Add the Twilio credentials used by the underlying OpenAPI client:
{
"Twilio": {
"ApiKey": "SK...",
"ApiSecret": "..."
}
}
Registration
using Soenneker.Twilio.Lookups.Registrars;
services.AddTwilioLookupsUtilAsScoped();
Singleton registration is also available through AddTwilioLookupsUtilAsSingleton().
Usage
using Soenneker.Twilio.Lookups.Abstract;
using Soenneker.Twilio.OpenApiClient.Models;
public sealed class PhoneInspector
{
private readonly ITwilioLookupsUtil _lookups;
public PhoneInspector(ITwilioLookupsUtil lookups)
{
_lookups = lookups;
}
public ValueTask<LookupsV1PhoneNumber?> GetCarrierData(
string phoneNumber,
CancellationToken cancellationToken)
{
return _lookups.GetPhoneNumber(
phoneNumber,
types: ["carrier"],
cancellationToken: cancellationToken);
}
}
Use E.164 numbers such as +15551234567 when possible. For a national-format number, pass the ISO country code separately:
LookupsV1PhoneNumber? result = await lookups.GetPhoneNumber(
"020 7946 0018",
countryCode: "GB",
cancellationToken: cancellationToken);
types requests Twilio data packages. addOns invokes Twilio Marketplace add-ons, and addOnsData passes add-on-specific input. These options can have separate Twilio charges. API and authentication failures are propagated to the caller.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Twilio.OpenApiClientUtil (>= 11.0.266)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.208 | 14 | 12/3/2026 |
| 11.0.207 | 40 | 12/3/2026 |
| 11.0.206 | 52 | 12/3/2026 |
| 11.0.205 | 51 | 12/3/2026 |
| 11.0.204 | 45 | 12/3/2026 |
| 11.0.203 | 55 | 12/2/2026 |
| 11.0.202 | 68 | 12/2/2026 |
| 11.0.201 | 71 | 12/2/2026 |
| 11.0.199 | 70 | 12/2/2026 |
| 11.0.198 | 62 | 12/2/2026 |
| 11.0.197 | 85 | 12/2/2026 |
| 11.0.196 | 81 | 12/1/2026 |
| 11.0.195 | 76 | 12/1/2026 |
| 11.0.194 | 82 | 12/1/2026 |
| 11.0.193 | 84 | 12/1/2026 |
| 11.0.192 | 80 | 12/1/2026 |
| 11.0.191 | 88 | 11/30/2026 |
| 11.0.190 | 95 | 11/30/2026 |
| 11.0.189 | 103 | 11/30/2026 |
| 11.0.188 | 97 | 11/29/2026 |
Updated Multiple NuGet packages