Skip to main content

Twilio/lookups

@keeb/twilio/lookupsv2026.08.25.2· 16d agoMODELS
01README

Twilio lookups API models

02Release Notes
  • Updated: rate_limit
03Models5
@keeb/twilio/lookups/lookup-overridev2026.08.25.1lookup_override.ts

Global Arguments

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
phone_numberstringPath scope for the lookup override: phone_number
fieldstringPath scope for the lookup override: field
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
line_type?enumThe new line type to override the original line type
reason?stringThe reason for the override
auth_token?stringTwilio auth token, used as the HTTP Basic password when no API key is set. Overrides TWILIO_AUTH_TOKEN. Wire with a vault.get(...) expression to source it from a vault.
api_key_sid?stringTwilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID.
api_key_secret?stringTwilio API key secret, paired with api_key_sid. Overrides TWILIO_API_KEY_SECRET. Wire with a vault.get(...) expression to source it from a vault.
fn create()
Create a lookup override
fn get()
Get a lookup override
fn update()
Update lookup override attributes
fn delete()
Delete the lookup override
fn sync()
Sync lookup override state from Twilio

Resources

state(infinite)— Lookup override resource state
@keeb/twilio/lookups/phone-numberv2026.08.25.1phone_number.ts

Global Arguments

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
phone_numberstringPath scope for the phone number: phone_number
name?stringInstance name for this resource (used as the unique identifier in the factory pattern)
auth_token?stringTwilio auth token, used as the HTTP Basic password when no API key is set. Overrides TWILIO_AUTH_TOKEN. Wire with a vault.get(...) expression to source it from a vault.
api_key_sid?stringTwilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID.
api_key_secret?stringTwilio API key secret, paired with api_key_sid. Overrides TWILIO_API_KEY_SECRET. Wire with a vault.get(...) expression to source it from a vault.
fn get(id: string)
Get a phone number
ArgumentTypeDescription
idstringThe phone_number of the phone number
fn sync()
Sync phone number state from Twilio

Resources

state(infinite)— Phone number resource state
@keeb/twilio/lookups/phone-number-v2v2026.08.25.1phone_number_v2.ts

Global Arguments

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
phone_numberstringPath scope for the phone number v2: phone_number
name?stringInstance name for this resource (used as the unique identifier in the factory pattern)
auth_token?stringTwilio auth token, used as the HTTP Basic password when no API key is set. Overrides TWILIO_AUTH_TOKEN. Wire with a vault.get(...) expression to source it from a vault.
api_key_sid?stringTwilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID.
api_key_secret?stringTwilio API key secret, paired with api_key_sid. Overrides TWILIO_API_KEY_SECRET. Wire with a vault.get(...) expression to source it from a vault.
fn get(id: string)
Get a phone number v2
ArgumentTypeDescription
idstringThe phone_number of the phone number v2
fn sync()
Sync phone number v2 state from Twilio

Resources

state(infinite)— Phone number v2 resource state
@keeb/twilio/lookups/queryv2026.08.25.1query.ts

Global Arguments

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
phone_numbers?array
auth_token?stringTwilio auth token, used as the HTTP Basic password when no API key is set. Overrides TWILIO_AUTH_TOKEN. Wire with a vault.get(...) expression to source it from a vault.
api_key_sid?stringTwilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID.
api_key_secret?stringTwilio API key secret, paired with api_key_sid. Overrides TWILIO_API_KEY_SECRET. Wire with a vault.get(...) expression to source it from a vault.
fn create()
Create a query

Resources

state(infinite)— Query resource state
@keeb/twilio/lookups/rate-limitv2026.08.25.2rate_limit.ts

Global Arguments

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
name?stringInstance name for this resource (used as the unique identifier in the factory pattern)
auth_token?stringTwilio auth token, used as the HTTP Basic password when no API key is set. Overrides TWILIO_AUTH_TOKEN. Wire with a vault.get(...) expression to source it from a vault.
api_key_sid?stringTwilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID.
api_key_secret?stringTwilio API key secret, paired with api_key_sid. Overrides TWILIO_API_KEY_SECRET. Wire with a vault.get(...) expression to source it from a vault.
fn lookup(fields?: string, max_items?: number)
List rate limits and record each as a data artifact (capped at 200 by default; writes a rate_limit_lookup record with the coverage of the walk)
ArgumentTypeDescription
fields?string
max_items?numberStop after this many results (default 200, ceiling 1000000). Raise deliberately: Twilio's message and call logs are effectively endless, and every result becomes its own data artifact. When the walk stops here with rows still on offer, the rate_limit_lookup record reports truncated: true.
fn delete_fields_bucket(field: string, bucket: string)
Delete rate limit
ArgumentTypeDescription
fieldstringPath parameter: field
bucketstringPath parameter: bucket
fn get_fields_bucket(field: string, bucket: string)
Get rate limit
ArgumentTypeDescription
fieldstringPath parameter: field
bucketstringPath parameter: bucket
fn update_fields_bucket(field: string, bucket: string, limit?: number, ttl?: number)
Upsert rate limit
ArgumentTypeDescription
fieldstringPath parameter: field
bucketstringPath parameter: bucket
limit?numberLimit of requests for the bucket
ttl?numberTime to live of the rule

Resources

state(infinite)— Rate limit resource state
rate_limit_lookup(infinite)— Rate limit lookup coverage — whether the page walk exhausted the collection
rate_limit_action(ephemeral)— Rate limit action result
04Stats
B
85 / 100
Downloads
0
Archive size
25.1 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository0/2missing
05Platforms
06Labels