Twilio/content
@keeb/twilio/contentv2026.08.25.2
01README
Twilio content API models
02Release Notes
- Updated: content_and_approval_v2, content_and_approval, content_v2, content, legacy_content
03Models
@keeb/twilio/content/approval-createv2026.08.25.1approval_create.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| content_sid | string | Path scope for the approval create: content_sid |
| name | string | Name of the template. |
| category | string | A WhatsApp recognized template category. |
| send_ttl_seconds? | number | Time-to-live in seconds for attempting to send a message with this Content |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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 approval create
Resources
state(infinite)— Approval create resource state
@keeb/twilio/content/approval-fetchv2026.08.25.1approval_fetch.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| sid | string | Path scope for the approval fetch: sid |
| name? | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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()
Get a approval fetch
fn sync()
Sync approval fetch state from Twilio
Resources
state(infinite)— Approval fetch resource state
@keeb/twilio/content/contentv2026.08.25.2content.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| friendly_name? | string | User defined name of the content |
| variables? | record | Key value pairs of variable name to value |
| language | string | Language code for the content |
| types | object | Content types |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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 content
fn get(id: string)
Get a content
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the content |
fn lookup(max_items?: number)
List contents and record each as a data artifact (capped at 200 by default; writes a content_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| max_items? | number | Stop 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 content_lookup record reports truncated: true. |
fn update()
Update content attributes
fn delete(id: string)
Delete the content
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the content |
fn sync()
Sync content state from Twilio
Resources
state(infinite)— Content resource state
content_lookup(infinite)— Content lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/content/content-and-approvalv2026.08.25.2content_and_approval.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| name? | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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(max_items?: number)
List content and approvals and record each as a data artifact (capped at 200 by default; writes a content_and_approval_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| max_items? | number | Stop 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 content_and_approval_lookup record reports truncated: true. |
Resources
state(infinite)— Content and approval resource state
content_and_approval_lookup(infinite)— Content and approval lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/content/content-and-approval-v2v2026.08.25.2content_and_approval_v2.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| name? | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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(sort_by_date?: string, sort_by_content_name?: string, date_created_after?: string, date_created_before?: string, content_name?: string, content?: string, language?: string, content_type?: string, channel_eligibility?: string, max_items?: number)
List content and approval v2s and record each as a data artifact (capped at 200 by default; writes a content_and_approval_v2_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| sort_by_date? | string | Whether to sort by ascending or descending date updated |
| sort_by_content_name? | string | Whether to sort by ascending or descending content name |
| date_created_after? | string | Filter by >=[date-time] |
| date_created_before? | string | Filter by <=[date-time] |
| content_name? | string | Filter by Regex Pattern in content name |
| content? | string | Filter by Regex Pattern in template content |
| language? | string | Filter by array of valid language(s) |
| content_type? | string | Filter by array of contentType(s) |
| channel_eligibility? | string | Filter by array of ChannelEligibility(s), where ChannelEligibility=<channel>:<status> |
| max_items? | number | Stop 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 content_and_approval_v2_lookup record reports truncated: true. |
Resources
state(infinite)— Content and approval v2 resource state
content_and_approval_v2_lookup(infinite)— Content and approval v2 lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/content/content-v2v2026.08.25.2content_v2.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| name? | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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(sort_by_date?: string, sort_by_content_name?: string, date_created_after?: string, date_created_before?: string, content_name?: string, content?: string, language?: string, content_type?: string, channel_eligibility?: string, max_items?: number)
List content v2s and record each as a data artifact (capped at 200 by default; writes a content_v2_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| sort_by_date? | string | Whether to sort by ascending or descending date updated |
| sort_by_content_name? | string | Whether to sort by ascending or descending content name |
| date_created_after? | string | Filter by >=[date-time] |
| date_created_before? | string | Filter by <=[date-time] |
| content_name? | string | Filter by Regex Pattern in content name |
| content? | string | Filter by Regex Pattern in template content |
| language? | string | Filter by array of valid language(s) |
| content_type? | string | Filter by array of contentType(s) |
| channel_eligibility? | string | Filter by array of ChannelEligibility(s), where ChannelEligibility=<channel>:<status> |
| max_items? | number | Stop 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 content_v2_lookup record reports truncated: true. |
Resources
state(infinite)— Content v2 resource state
content_v2_lookup(infinite)— Content v2 lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/content/legacy-contentv2026.08.25.2legacy_content.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| name? | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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(max_items?: number)
List legacy contents and record each as a data artifact (capped at 200 by default; writes a legacy_content_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| max_items? | number | Stop 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 legacy_content_lookup record reports truncated: true. |
Resources
state(infinite)— Legacy content resource state
legacy_content_lookup(infinite)— Legacy content lookup coverage — whether the page walk exhausted the collection
04Stats
B
85 / 100
Downloads
0
Archive size
31.3 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