Skip to main content

Twilio/routes

@keeb/twilio/routesv2026.08.25.1· 16d agoMODELS
01README

Twilio routes API models

02Release Notes
  • Added: phone_number_v3, phone_number, sip_domain, trunk
03Models4
@keeb/twilio/routes/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)
voice_region?stringThe Inbound Processing Region used for this phone number for voice
friendly_name?stringA human readable description of this resource, up to 64 characters.
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 update()
Update phone number attributes
fn sync()
Sync phone number state from Twilio

Resources

state(infinite)— Phone number resource state
@keeb/twilio/routes/phone-number-v3v2026.08.25.1phone_number_v3.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 v3: phone_number
name?stringInstance name for this resource (used as the unique identifier in the factory pattern)
voice_region?stringThe Inbound Processing Region used for this phone number for voice
messaging_region?stringThe Inbound Processing Region used for this phone number for messaging
friendly_name?stringA human readable description of this resource, up to 64 characters.
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 v3
ArgumentTypeDescription
idstringThe phone_number of the phone number v3
fn update()
Update phone number v3 attributes
fn sync()
Sync phone number v3 state from Twilio

Resources

state(infinite)— Phone number v3 resource state
@keeb/twilio/routes/sip-domainv2026.08.25.1sip_domain.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.
sip_domainstringPath scope for the sip domain: sip_domain
name?stringInstance name for this resource (used as the unique identifier in the factory pattern)
voice_region?string
friendly_name?string
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 sip domain
ArgumentTypeDescription
idstringThe sip_domain of the sip domain
fn update()
Update sip domain attributes
fn sync()
Sync sip domain state from Twilio

Resources

state(infinite)— Sip domain resource state
@keeb/twilio/routes/trunkv2026.08.25.1trunk.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.
sip_trunk_domainstringPath scope for the trunk: sip_trunk_domain
name?stringInstance name for this resource (used as the unique identifier in the factory pattern)
voice_region?stringThe Inbound Processing Region used for this SIP Trunk for voice
friendly_name?stringA human readable description of this resource, up to 64 characters.
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 trunk
ArgumentTypeDescription
idstringThe sip_trunk_domain of the trunk
fn update()
Update trunk attributes
fn sync()
Sync trunk state from Twilio

Resources

state(infinite)— Trunk resource state
04Stats
B
85 / 100
Downloads
0
Archive size
19.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