Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manage email inboxes, list and search inbound messages, threads, sender filters, and reply to or forward messages.
SkillScore95/100
Test results 95
3/3 safety checks passed
14%95%of test cases passed +82 pts
Passed 21 of 22 test cases with the skill, and 3 of 22 without it.
19 fixed2 passed either way0 still failing1 broke
One test taskWhen forwarding an email using Telnyx inbound email forward action, what HTTP status code does the API return if every action recipient is suppressed, and what field in a 202 response indicates partial suppression?
Adds every file the skill has, pinned so you can update it. No account needed.
pip install "decimalai>=0.15"
decimalai skills add team-telnyx-telnyx-email-inbound-curl
claude --plugin-dir "$(git rev-parse --show-toplevel 2>/dev/null || pwd)/.agents"The same install from Python, for a notebook or a setup script.
pip install "decimalai>=0.15"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
print("Added. Start Claude Code with the command below.")claude --plugin-dir "$(git rev-parse --show-toplevel 2>/dev/null || pwd)/.agents"Type these in a Claude Code session. No account or API key. It writes the skill and any files it bundles, and asks first when its safety rating isn't Passed.
/plugin marketplace add decimal-labs/decimalai-claude-plugins
/plugin install decimalai@decimalai/decimalai:install team-telnyx-telnyx-email-inbound-curlThe plugin needs python3 and curl on your machine.
No Python or account. Claude Code picks it up in its next session.
curl -fsSL --create-dirs -o .claude/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md https://app.decimal.ai/s/team-telnyx-telnyx-email-inbound-curl/SKILL.md.claude/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdThis gets SKILL.md only. The skill's 1 other file is not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[claude-agent-sdk]"
decimalai skills add team-telnyx-telnyx-email-inbound-curlimport asyncio
from claude_agent_sdk import ClaudeAgentOptions
from decimalai.claude_agent_sdk import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
async def main():
question = "Hello!"
async with support.run(question) as run: # one user message, one run
async for message in run.query(options=ClaudeAgentOptions(max_turns=6)):
print(message)
# In a notebook or async code: await main()
asyncio.run(main())Prefer its own loader? ClaudeAgentOptions(plugins=[skills_plugin()], skills="all") reads the same folder. Use one or the other: a skill delivered both ways reaches the prompt twice.
The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[claude-agent-sdk]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
import asyncio
from claude_agent_sdk import ClaudeAgentOptions
from decimalai.claude_agent_sdk import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
async def main():
question = "Hello!"
async with support.run(question) as run: # one user message, one run
async for message in run.query(options=ClaudeAgentOptions(max_turns=6)):
print(message)
# In a notebook or async code: await main()
asyncio.run(main())Prefer its own loader? ClaudeAgentOptions(plugins=[skills_plugin()], skills="all") reads the same folder. Use one or the other: a skill delivered both ways reaches the prompt twice.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdimport asyncio
from pathlib import Path
from claude_agent_sdk import ClaudeAgentOptions, query
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
options = ClaudeAgentOptions(system_prompt=f"You are a helpful agent.\n\n{skill}", max_turns=6)
async def main():
async for message in query(prompt="Hello!", options=options):
print(message)
# In a notebook or async code: await main()
asyncio.run(main())This gets SKILL.md only. The skill's 1 other file is not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[openai-agents]"
decimalai skills add team-telnyx-telnyx-email-inbound-curlfrom agents import Agent, Runner
from decimalai.openai_agents import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = Agent(
name=support.name,
instructions=support.instructions, # your prompt, then the skill list
tools=[*support.tools], # your tools, then load_skill
)
# In a notebook or async code: result = await Runner.run(agent, "Hello!")
result = Runner.run_sync(agent, "Hello!")Using SandboxAgent? capabilities=[Shell(), decimalai.openai_agents.sandbox_skills()] points its own loader at the same folder.
The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[openai-agents]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
from agents import Agent, Runner
from decimalai.openai_agents import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = Agent(
name=support.name,
instructions=support.instructions, # your prompt, then the skill list
tools=[*support.tools], # your tools, then load_skill
)
# In a notebook or async code: result = await Runner.run(agent, "Hello!")
result = Runner.run_sync(agent, "Hello!")Using SandboxAgent? capabilities=[Shell(), decimalai.openai_agents.sandbox_skills()] points its own loader at the same folder.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
from agents import Agent, Runner
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
agent = Agent(name="support", instructions=f"You are a helpful agent.\n\n{skill}")
# In a notebook or async code: result = await Runner.run(agent, "Hello!")
result = Runner.run_sync(agent, "Hello!")This gets SKILL.md only. The skill's 1 other file is not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[openai]"
decimalai skills add team-telnyx-telnyx-email-inbound-curlimport json
from openai import OpenAI
from decimalai.openai import agent_config
client = OpenAI()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
def lookup_order(order_id: str) -> str:
return f"Order {order_id} shipped yesterday."
# Your tools, as Chat Completions takes them, and what answers each.
TOOLS = [{"type": "function", "function": {
"name": "lookup_order",
"description": "Look up the status of an order.",
"parameters": {"type": "object", "properties": {"order_id": {"type": "string"}},
"required": ["order_id"]},
}}]
FUNCTIONS = {"lookup_order": lookup_order}
question = "Where is order A1001?"
with support.run(question) as run: # one user message, one run
# run.system is your prompt, then the skill list.
messages = [{"role": "system", "content": run.system}, run.message]
while True:
reply = client.chat.completions.create(
model="gpt-5.4-mini",
messages=messages,
tools=[*TOOLS, *run.tools], # your tools, then load_skill
).choices[0].message
messages.append(reply)
if not reply.tool_calls:
break
for call in reply.tool_calls:
# load_skill is answered by the run; your own tools by FUNCTIONS.
function = FUNCTIONS.get(call.function.name)
messages.append(run.tool_result(call) or {
"role": "tool", "tool_call_id": call.id,
"content": function(**json.loads(call.function.arguments)) if function
else f"There is no tool named {call.function.name!r}.",
})
print(reply.content)
# The Responses API takes run.response_tools instead of run.tools.The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[openai]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
import json
from openai import OpenAI
from decimalai.openai import agent_config
client = OpenAI()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
def lookup_order(order_id: str) -> str:
return f"Order {order_id} shipped yesterday."
# Your tools, as Chat Completions takes them, and what answers each.
TOOLS = [{"type": "function", "function": {
"name": "lookup_order",
"description": "Look up the status of an order.",
"parameters": {"type": "object", "properties": {"order_id": {"type": "string"}},
"required": ["order_id"]},
}}]
FUNCTIONS = {"lookup_order": lookup_order}
question = "Where is order A1001?"
with support.run(question) as run: # one user message, one run
# run.system is your prompt, then the skill list.
messages = [{"role": "system", "content": run.system}, run.message]
while True:
reply = client.chat.completions.create(
model="gpt-5.4-mini",
messages=messages,
tools=[*TOOLS, *run.tools], # your tools, then load_skill
).choices[0].message
messages.append(reply)
if not reply.tool_calls:
break
for call in reply.tool_calls:
# load_skill is answered by the run; your own tools by FUNCTIONS.
function = FUNCTIONS.get(call.function.name)
messages.append(run.tool_result(call) or {
"role": "tool", "tool_call_id": call.id,
"content": function(**json.loads(call.function.arguments)) if function
else f"There is no tool named {call.function.name!r}.",
})
print(reply.content)
# The Responses API takes run.response_tools instead of run.tools.No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
from openai import OpenAI
client = OpenAI()
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
reply = client.chat.completions.create(
model="gpt-5.4-mini",
messages=[
{"role": "system", "content": f"You are a helpful agent.\n\n{skill}"},
{"role": "user", "content": "Hello!"},
],
).choices[0].messageThis gets SKILL.md only. The skill's 1 other file is not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[anthropic]"
decimalai skills add team-telnyx-telnyx-email-inbound-curlimport anthropic
from decimalai.anthropic import agent_config
client = anthropic.Anthropic()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
question = "Hello!"
with support.run(question) as run: # one user message, one run
answer = client.beta.messages.tool_runner(
model="claude-haiku-5-5",
max_tokens=4096,
system=run.system, # your prompt, then the skill list
tools=[*run.tools], # your tools, then load_skill
messages=[{"role": "user", "content": question}],
).until_done()The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[anthropic]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
import anthropic
from decimalai.anthropic import agent_config
client = anthropic.Anthropic()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
question = "Hello!"
with support.run(question) as run: # one user message, one run
answer = client.beta.messages.tool_runner(
model="claude-haiku-5-5",
max_tokens=4096,
system=run.system, # your prompt, then the skill list
tools=[*run.tools], # your tools, then load_skill
messages=[{"role": "user", "content": question}],
).until_done()No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
import anthropic
client = anthropic.Anthropic()
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
reply = client.messages.create(
model="claude-haiku-5-5",
max_tokens=4096,
system=f"You are a helpful agent.\n\n{skill}",
messages=[{"role": "user", "content": "Hello!"}],
)This gets SKILL.md only. The skill's 1 other file is not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[google-genai]"
decimalai skills add team-telnyx-telnyx-email-inbound-curlfrom google import genai
from google.genai import types
from decimalai.google_genai import agent_config
client = genai.Client()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
def lookup_order(order_id: str) -> str:
return f"Order {order_id} shipped yesterday."
# Your functions, as declarations for the model, and what answers each.
TOOLS = [{"function_declarations": [{
"name": "lookup_order",
"description": "Look up the status of an order.",
"parameters_json_schema": {"type": "object", "properties": {"order_id": {"type": "string"}},
"required": ["order_id"]},
}]}]
FUNCTIONS = {"lookup_order": lookup_order}
question = "Where is order A1001?"
with support.run(question) as run: # one user message, one run
config = types.GenerateContentConfig(
system_instruction=run.system, # your prompt, then the skill list
tools=[*TOOLS, *run.tool_params], # your functions, then load_skill
)
contents = [{"role": "user", "parts": [{"text": run.message}]}]
while True:
response = client.models.generate_content(
model="gemini-3.5-flash", contents=contents, config=config,
)
if not response.function_calls:
break
contents.append(response.candidates[0].content)
parts = []
for call in response.function_calls:
# load_skill is answered by the run; your own functions by FUNCTIONS.
# A loop of your own rather than automatic function calling, which
# raises KeyError when the model asks for a function you did not pass.
function = FUNCTIONS.get(call.name)
parts.append(run.tool_result(call) or {"function_response": {
"name": call.name, "id": call.id,
"response": {"result": function(**(call.args or {})) if function
else f"There is no function named {call.name!r}."},
}})
contents.append({"role": "user", "parts": parts})
print(response.text)The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[google-genai]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
from google import genai
from google.genai import types
from decimalai.google_genai import agent_config
client = genai.Client()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
def lookup_order(order_id: str) -> str:
return f"Order {order_id} shipped yesterday."
# Your functions, as declarations for the model, and what answers each.
TOOLS = [{"function_declarations": [{
"name": "lookup_order",
"description": "Look up the status of an order.",
"parameters_json_schema": {"type": "object", "properties": {"order_id": {"type": "string"}},
"required": ["order_id"]},
}]}]
FUNCTIONS = {"lookup_order": lookup_order}
question = "Where is order A1001?"
with support.run(question) as run: # one user message, one run
config = types.GenerateContentConfig(
system_instruction=run.system, # your prompt, then the skill list
tools=[*TOOLS, *run.tool_params], # your functions, then load_skill
)
contents = [{"role": "user", "parts": [{"text": run.message}]}]
while True:
response = client.models.generate_content(
model="gemini-3.5-flash", contents=contents, config=config,
)
if not response.function_calls:
break
contents.append(response.candidates[0].content)
parts = []
for call in response.function_calls:
# load_skill is answered by the run; your own functions by FUNCTIONS.
# A loop of your own rather than automatic function calling, which
# raises KeyError when the model asks for a function you did not pass.
function = FUNCTIONS.get(call.name)
parts.append(run.tool_result(call) or {"function_response": {
"name": call.name, "id": call.id,
"response": {"result": function(**(call.args or {})) if function
else f"There is no function named {call.name!r}."},
}})
contents.append({"role": "user", "parts": parts})
print(response.text)No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
from google import genai
from google.genai import types
client = genai.Client()
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
response = client.models.generate_content(
model="gemini-3.5-flash",
contents="Hello!",
config=types.GenerateContentConfig(system_instruction=f"You are a helpful agent.\n\n{skill}"),
)This gets SKILL.md only. The skill's 1 other file is not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[langchain]" langchain-openai
decimalai skills add team-telnyx-telnyx-email-inbound-curlfrom langchain.agents import create_agent
from decimalai.langchain import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = create_agent(
"openai:gpt-5.4-mini",
tools=[], # your tools; the middleware adds load_skill
middleware=[support.middleware], # your prompt, the skill list and load_skill
)
result = agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[langchain]" langchain-openaifrom decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
from langchain.agents import create_agent
from decimalai.langchain import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = create_agent(
"openai:gpt-5.4-mini",
tools=[], # your tools; the middleware adds load_skill
middleware=[support.middleware], # your prompt, the skill list and load_skill
)
result = agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
from langchain.agents import create_agent
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
agent = create_agent("openai:gpt-5.4-mini", tools=[], system_prompt=f"You are a helpful agent.\n\n{skill}")
result = agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})This gets SKILL.md only. The skill's 1 other file is not included.
CrewAI's own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" "crewai>=1.15.27"
decimalai skills add team-telnyx-telnyx-email-inbound-curlimport decimalai.crewai
from crewai import Agent, Crew, Task
agent = Agent(
role="Support", goal="Help the customer", backstory="A support agent.",
llm=llm, # your own CrewAI LLM
skills=decimalai.crewai.skills(), # the installed folder
tools=decimalai.crewai.skill_tools(), # reads a skill's files, runs its scripts
)
task = Task(description="Hello!", expected_output="an answer", agent=agent)
Crew(agents=[agent], tasks=[task]).kickoff()The same install from Python, for a notebook or a setup script. CrewAI's own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" "crewai>=1.15.27"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
import decimalai.crewai
from crewai import Agent, Crew, Task
agent = Agent(
role="Support", goal="Help the customer", backstory="A support agent.",
llm=llm, # your own CrewAI LLM
skills=decimalai.crewai.skills(), # the installed folder
tools=decimalai.crewai.skill_tools(), # reads a skill's files, runs its scripts
)
task = Task(description="Hello!", expected_output="an answer", agent=agent)
Crew(agents=[agent], tasks=[task]).kickoff()No DecimalAI package. CrewAI's own loader reads the folder, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
from crewai import Agent, Crew, Task
agent = Agent(
role="Support", goal="Help the customer", backstory="A support agent.",
llm=llm, # your own CrewAI LLM
skills=[Path(".agents/skills")],
)
task = Task(description="Hello!", expected_output="an answer", agent=agent)
Crew(agents=[agent], tasks=[task]).kickoff()This gets SKILL.md only. The skill's 1 other file is not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[adk]"
decimalai skills add team-telnyx-telnyx-email-inbound-curlfrom decimalai.adk import DecimalAIPlugin, agent_config
from google.adk.agents import LlmAgent
from google.adk.apps import App
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = LlmAgent(
name="support", # ADK needs a Python identifier
model="gemini-3.5-flash",
instruction=support.instruction, # your prompt, then the skill list
tools=[*support.tools], # your tools, then load_skill
)
# DecimalAIPlugin makes each invocation of runners built from this App one trace.
app = App(name="support", root_agent=agent, plugins=[DecimalAIPlugin()])Prefer ADK's own loader? SkillToolset(skills=decimalai.adk.skills(), ...) reads the same folder. Use one or the other: a skill delivered both ways reaches the prompt twice.
The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[adk]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
from decimalai.adk import DecimalAIPlugin, agent_config
from google.adk.agents import LlmAgent
from google.adk.apps import App
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = LlmAgent(
name="support", # ADK needs a Python identifier
model="gemini-3.5-flash",
instruction=support.instruction, # your prompt, then the skill list
tools=[*support.tools], # your tools, then load_skill
)
# DecimalAIPlugin makes each invocation of runners built from this App one trace.
app = App(name="support", root_agent=agent, plugins=[DecimalAIPlugin()])Prefer ADK's own loader? SkillToolset(skills=decimalai.adk.skills(), ...) reads the same folder. Use one or the other: a skill delivered both ways reaches the prompt twice.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
from google.adk.agents import LlmAgent
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
agent = LlmAgent(
name="support",
model="gemini-3.5-flash",
instruction=lambda context: f"You are a helpful agent.\n\n{skill}",
)This gets SKILL.md only. The skill's 1 other file is not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[pydantic-ai]"
decimalai skills add team-telnyx-telnyx-email-inbound-curlfrom pydantic_ai import Agent
from decimalai.pydantic_ai import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = Agent(
"openai:gpt-4o-mini",
name=support.name,
tools=[], # your tools; the capability adds load_skill
capabilities=[support], # your prompt, the skill list and load_skill
)
# In a notebook or async code: result = await agent.run("Hello!")
result = agent.run_sync("Hello!")On the Pydantic AI harness, decimalai.pydantic_ai_harness.skills(project) uses its own loader instead.
The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[pydantic-ai]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
from pydantic_ai import Agent
from decimalai.pydantic_ai import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = Agent(
"openai:gpt-4o-mini",
name=support.name,
tools=[], # your tools; the capability adds load_skill
capabilities=[support], # your prompt, the skill list and load_skill
)
# In a notebook or async code: result = await agent.run("Hello!")
result = agent.run_sync("Hello!")On the Pydantic AI harness, decimalai.pydantic_ai_harness.skills(project) uses its own loader instead.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
from pydantic_ai import Agent
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
agent = Agent("openai:gpt-4o-mini", instructions=f"You are a helpful agent.\n\n{skill}")
# In a notebook or async code: result = await agent.run("Hello!")
result = agent.run_sync("Hello!")This gets SKILL.md only. The skill's 1 other file is not included.
Deep Agents' own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" deepagents
decimalai skills add team-telnyx-telnyx-email-inbound-curlimport decimalai.deepagents
from deepagents import create_deep_agent
agent = create_deep_agent(model=model, **decimalai.deepagents.skills())
agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})The default backend reads files but has no shell. To run a skill's scripts, pass skills(backend=LocalShellBackend(...)).
The same install from Python, for a notebook or a setup script. Deep Agents' own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" deepagentsfrom decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
import decimalai.deepagents
from deepagents import create_deep_agent
agent = create_deep_agent(model=model, **decimalai.deepagents.skills())
agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})The default backend reads files but has no shell. To run a skill's scripts, pass skills(backend=LocalShellBackend(...)).
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
from deepagents import create_deep_agent
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
agent = create_deep_agent(model=model, system_prompt=f"You are a helpful agent.\n\n{skill}")
agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})This gets SKILL.md only. The skill's 1 other file is not included.
Its own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" agent-framework
decimalai skills add team-telnyx-telnyx-email-inbound-curlimport asyncio
from agent_framework import Agent
from decimalai.agent_framework import skills
agent = Agent(client=client, instructions="You are a helpful agent.", context_providers=[skills()])
asyncio.run(agent.run("Hello!"))It caches skills by default, so restart the process after decimalai skills update.
The same install from Python, for a notebook or a setup script. Its own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" agent-frameworkfrom decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
import asyncio
from agent_framework import Agent
from decimalai.agent_framework import skills
agent = Agent(client=client, instructions="You are a helpful agent.", context_providers=[skills()])
asyncio.run(agent.run("Hello!"))It caches skills by default, so restart the process after decimalai skills update.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdimport asyncio
from pathlib import Path
from agent_framework import Agent
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
agent = Agent(client=client, instructions=f"You are a helpful agent.\n\n{skill}")
asyncio.run(agent.run("Hello!"))This gets SKILL.md only. The skill's 1 other file is not included.
Strands' own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" strands-agents
decimalai skills add team-telnyx-telnyx-email-inbound-curlfrom decimalai.strands import skills
from strands import Agent
from strands.vended_tools import file_editor, shell
agent = Agent(
model=model, # always pass one: the default is Amazon Bedrock
system_prompt="You are a helpful agent.",
tools=[file_editor, shell],
plugins=[skills()],
)
agent("Hello!")Strands loads an agent's skills once, so build the agent again after decimalai skills update.
The same install from Python, for a notebook or a setup script. Strands' own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" strands-agentsfrom decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("team-telnyx-telnyx-email-inbound-curl")
if result.exit_code:
raise SystemExit(result.problems)
from decimalai.strands import skills
from strands import Agent
from strands.vended_tools import file_editor, shell
agent = Agent(
model=model, # always pass one: the default is Amazon Bedrock
system_prompt="You are a helpful agent.",
tools=[file_editor, shell],
plugins=[skills()],
)
agent("Hello!")Strands loads an agent's skills once, so build the agent again after decimalai skills update.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdfrom pathlib import Path
from strands import Agent
skill = Path(".agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md").read_text()
agent = Agent(model=model, system_prompt=f"You are a helpful agent.\n\n{skill}")
agent("Hello!")This gets SKILL.md only. The skill's 1 other file is not included.
Adds every file the skill has, pinned so you can update it. Cursor, Copilot, Cline and Warp read this folder by themselves.
pip install "decimalai>=0.15"
decimalai skills add team-telnyx-telnyx-email-inbound-curlNo Python or account. Cursor, Copilot, Cline and Warp read this folder by themselves.
curl -fsSL --create-dirs -o .agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.md https://app.decimal.ai/s/team-telnyx-telnyx-email-inbound-curl/SKILL.md.agents/skills/team-telnyx-telnyx-email-inbound-curl/SKILL.mdThis gets SKILL.md only. The skill's 1 other file is not included.
Give its text to your model as instructions. No account or package needed.
This gets SKILL.md only. The skill's 1 other file is not included.
Raw files: /s/team-telnyx-telnyx-email-inbound-curl/SKILL.md · /s/team-telnyx-telnyx-email-inbound-curl.json
Fetch the file and give its text to your model as instructions. No account or package needed.
curl -fsSL https://app.decimal.ai/s/team-telnyx-telnyx-email-inbound-curl/SKILL.mdcurl -fsSL https://app.decimal.ai/s/team-telnyx-telnyx-email-inbound-curl.jsonThis gets SKILL.md only. The skill's 1 other file is not included.
You don't need a DecimalAI account.
Saved prompts and skills, pinned versions, and traces of this skill in your runs. DecimalAI does not run your agent.
Claude Code reads files from your project, so DecimalAI config does not apply there.
On Claude Agent SDK: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On OpenAI Agents: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On OpenAI SDK: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On Anthropic: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On Gemini API: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On LangChain: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On CrewAI: set DECIMAL_API_KEY and add decimalai.init(crewai=True) to record runs and skill use. The skill version stays in your repo.
On Google ADK: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On Pydantic AI: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On Deep Agents: set DECIMAL_API_KEY and add decimalai.init(langchain=True) to record runs and skill use. The skill version stays in your repo.
On Microsoft Agent Framework: set DECIMAL_API_KEY and add decimalai.init(otel=True, agent_name="support") to record runs and skill use. The skill version stays in your repo.
On Strands: set DECIMAL_API_KEY and add decimalai.init(otel=True, agent_name="support") to record runs and skill use. The skill version stays in your repo.
Editors read files from your project, so DecimalAI config does not apply there.
Anywhere else: record a use with decimalai.log_skill_activation() inside a trace.
# curl is pre-installed on macOS, Linux, and Windows 10+
export TELNYX_API_KEY="YOUR_API_KEY_HERE"
export TELNYX_API_BASE="https://api.telnyx.com/v2"
All examples below use $TELNYX_API_KEY for authentication. Resource IDs are UUIDs;
store the IDs returned by create and list calls rather than parsing them from email
addresses.
All API calls can fail with network errors, authentication errors (401), validation errors (422), temporary service errors (503), or rate limits (429). Capture the HTTP status separately from the JSON response in production:
response_file="$(mktemp)"
status="$({ curl -sS \
-o "$response_file" \
-w '%{http_code}' \
-H "Authorization: Bearer $TELNYX_API_KEY" \
"$TELNYX_API_BASE/email_inboxes"; } || printf '000')"
if [[ "$status" != "200" ]]; then
printf 'Telnyx request failed (HTTP %s)\n' "$status" >&2
jq . "$response_file" >&2 2>/dev/null || true
fi
rm -f "$response_file"
Common status codes:
| Status | Meaning | Action |
|---|---|---|
400 | Malformed request or send-time prerequisite failure | Fix the request; do not retry unchanged. |
401 | Invalid or missing API key | Replace the key and retry. |
403 | The account or inbox domain cannot send | Correct permissions or sending-domain configuration. |
404 | Resource is missing, deleted, foreign, or the sending domain could not be resolved | Re-list account-scoped resources; do not use the response to infer foreign resource existence. |
422 | Validation failed or every action recipient was suppressed | Read .errors[] and fix the referenced field. |
429 | Rate limited or inbox-domain reputation suspended sending | Honor retry guidance for rate limits; reputation suspension requires remediation. |
503 | Inbound storage, actions, or a dependency is unavailable | Retry with bounded exponential backoff and jitter. |
https://api.telnyx.com/v2.Authorization: Bearer $TELNYX_API_KEY on every request.inbox_id, message_id, and thread_id path parameters are Telnyx UUIDs. A message's RFC Message-ID appears separately as the message_id response field.page_size and page_cursor. Message and thread listing uses page[size] and page[after]. Continue with .meta.page_cursor until it is absent.curl --get --data-urlencode for bracketed filters such as filter[search]; this avoids shell globbing and preserves spaces.204 with no response body.(inbox_id, thread_id), not as thread_id alone. Inbox-scoped routes encode both values in the path. Account-wide GET /email_threads/{thread_id} requires inbox_id as a query parameter.spam, promos, or account_alerts; tags are immutable billing and reporting attribution set when outbound mail is sent. Label mutation routes are not yet available through the gateway.@domain.com domain wildcards are accepted. Blocklist matches beat allowlist matches. Empty or absent lists accept all senders.filter[search] searches subject, plain-text body, and HTML body; it is not a literal substring filter. Use filter[from] or filter[subject] for case-insensitive literal substrings.Do not invent Telnyx parameters, enums, recipient shapes, response fields, or webhook fields.
Create an inbox on an account-owned inbound-enabled domain. Both body fields are
optional: omit domain_id to use the shared inbound subdomain and omit username to
generate a unique local part.
POST /email_inboxes
| Parameter | Type | Required | Description |
|---|---|---|---|
username | string | No | Local part, normalized to lowercase; 1-64 characters using letters, digits, dots, hyphens, and underscores. |
domain_id | UUID | No | Account-owned inbound-enabled domain. Omit for the shared inbound subdomain. |
curl -sS \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "support",
"domain_id": "22222222-2222-2222-2222-222222222222"
}' \
"$TELNYX_API_BASE/email_inboxes"
Primary response fields: .data.id, .data.address, .data.status,
.data.domain_id, .data.domain, .data.created_at.
Lists non-deleted inboxes newest first with stable cursor pagination.
GET /email_inboxes
curl -sS --get \
-H "Authorization: Bearer $TELNYX_API_KEY" \
--data-urlencode 'page_size=50' \
"$TELNYX_API_BASE/email_inboxes"
# Next page: pass the previous response's .meta.page_cursor unchanged.
curl -sS --get \
-H "Authorization: Bearer $TELNYX_API_KEY" \
--data-urlencode 'page_size=50' \
--data-urlencode "page_cursor=$PAGE_CURSOR" \
"$TELNYX_API_BASE/email_inboxes"
page_size defaults to 20 and accepts 1-250. An absent .meta.page_cursor means
there is no next page.
GET /email_inboxes/{id}
export INBOX_ID="11111111-1111-1111-1111-111111111111"
curl -sS \
-H "Authorization: Bearer $TELNYX_API_KEY" \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID"
Missing, deleted, and foreign inboxes return an opaque 404.
Soft-delete an inbox. Its address remains reserved, and list/get no longer return it.
DELETE /email_inboxes/{id}
curl -sS \
-X DELETE \
-H "Authorization: Bearer $TELNYX_API_KEY" \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID"
Success is 204 No Content. Do not attempt to parse a success response body.
Lists inbound messages newest first. Filters compose with stable cursor pagination.
GET /email_inboxes/{inbox_id}/messages
| Query parameter | Behavior |
|---|---|
filter[from] | Case-insensitive literal substring of sender address. |
filter[subject] | Case-insensitive literal substring of subject. |
filter[received_after] | Inclusive ISO 8601 lower timestamp bound. |
filter[received_before] | Inclusive ISO 8601 upper timestamp bound. |
filter[read] | Filter by presence of a read timestamp. |
filter[unread] | Set true for messages with no read timestamp. |
filter[label] | Exact, case-sensitive label filter; label mutation is not yet gateway-routed. |
filter[search] | PostgreSQL full-text query over subject and bodies, maximum 500 characters. |
page[size] | 1-100; defaults to 25. |
page[after] | Opaque cursor from .meta.page_cursor. |
curl -sS --get \
-H "Authorization: Bearer $TELNYX_API_KEY" \
--data-urlencode 'filter[search]=quarterly renewal' \
--data-urlencode 'filter[unread]=true' \
--data-urlencode 'filter[received_after]=2026-07-01T00:00:00Z' \
--data-urlencode 'page[size]=25' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/messages"
Each result includes the Telnyx message UUID in .data[].id, the RFC header value in
.data[].message_id, its .data[].thread_id, envelope addresses, body URLs, file
metadata, labels, and read/received timestamps.
PATCH /email_inboxes/{inbox_id}/messages/{message_id}
Set read_at to true for server time, an ISO 8601 timestamp for explicit time, or
null to mark unread. Repeating the same update is idempotent.
export MESSAGE_ID="55555555-5555-5555-5555-555555555555"
# Mark read at server time.
curl -sS \
-X PATCH \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"read_at": true}' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/messages/$MESSAGE_ID"
# Mark unread.
curl -sS \
-X PATCH \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"read_at": null}' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/messages/$MESSAGE_ID"
The response returns the updated inbound message in .data.
Recipients are derived from the original Reply-To, falling back to From. Original
Cc recipients are not included. Telnyx adds the Re: subject prefix and threading
headers.
POST /email_inboxes/{inbox_id}/messages/{message_id}/actions/reply
curl -sS \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Thanks for the update. I will review it today."}' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/messages/$MESSAGE_ID/actions/reply"
At least one of text or html must contain non-whitespace content. Caller-supplied
to, cc, and bcc are ignored. Success is 202; .data.id is the queued outbound
message ID. Inspect optional .suppressed[] and the X-Telnyx-Reputation-Warning
response header.
The To list starts with original Reply-To or From and includes original To
recipients; Cc includes original Cc. The inbox address is excluded and recipients are
de-duplicated case-insensitively. Bcc is empty.
POST /email_inboxes/{inbox_id}/messages/{message_id}/actions/reply_all
curl -sS \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"html": "<p>Everyone, please review the attached update.</p>"}' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/messages/$MESSAGE_ID/actions/reply_all"
The body rules, 202 response, suppression behavior, domain requirement, and threading
behavior are the same as reply.
Supply at least one To recipient. Recipients may be email strings or objects with
email and optional name. Telnyx prepends optional text/html notes to a generated
forwarded-message block and applies the Fwd: subject prefix.
POST /email_inboxes/{inbox_id}/messages/{message_id}/actions/forward
curl -sS \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": [{"email": "[email protected]", "name": "Account Owner"}],
"cc": "[email protected]",
"bcc": ["[email protected]"],
"text": "FYI — please review this inbound request."
}' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/messages/$MESSAGE_ID/actions/forward"
Success is 202. Partial suppression appears in .suppressed[]; if every recipient is
suppressed, the request returns 422 and no message is sent.
GET /email_inboxes/{inbox_id}/threads
curl -sS --get \
-H "Authorization: Bearer $TELNYX_API_KEY" \
--data-urlencode 'page[size]=25' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/threads"
Thread summaries are newest first and include .id, .inbox_id, .subject,
.message_count, .unread_count, .last_message_id, and .last_message_at. Although
filter[label] can filter existing labels, label mutation is not yet available.
Returns inbound and outbound messages interleaved in chronological order. Message pages
are bounded; follow .meta.page_cursor with page[after].
GET /email_inboxes/{inbox_id}/threads/{thread_id}
export THREAD_ID="33333333-3333-3333-3333-333333333333"
curl -sS --get \
-H "Authorization: Bearer $TELNYX_API_KEY" \
--data-urlencode 'page[size]=50' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/threads/$THREAD_ID"
Use .data.messages[].direction to distinguish inbound and outbound entries. Never use
the thread ID without retaining its inbox ID.
Use this for an agent serving multiple inboxes. Omit filter[inbox_id] for every inbox,
or repeat it to constrain the account-wide result.
GET /email_threads
curl -sS --get \
-H "Authorization: Bearer $TELNYX_API_KEY" \
--data-urlencode "filter[inbox_id][]=$INBOX_ID" \
--data-urlencode "filter[inbox_id][]=22222222-2222-2222-2222-222222222222" \
--data-urlencode 'page[size]=50' \
"$TELNYX_API_BASE/email_threads"
The filter also accepts a comma-separated inbox list. Foreign inbox IDs are silently
excluded. Route follow-up actions using each row's .inbox_id and .id pair.
The path has only thread_id, but the required inbox_id query parameter completes the
thread's composite identity.
GET /email_threads/{thread_id}
curl -sS --get \
-H "Authorization: Bearer $TELNYX_API_KEY" \
--data-urlencode "inbox_id=$INBOX_ID" \
--data-urlencode 'page[size]=50' \
"$TELNYX_API_BASE/email_threads/$THREAD_ID"
Omitting inbox_id is a validation error. Use .meta.page_cursor as page[after] to
continue through chronological thread messages.
GET /email_inboxes/{inbox_id}/filters
curl -sS \
-H "Authorization: Bearer $TELNYX_API_KEY" \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/filters"
The current normalized sets are returned in .data.allowlist and .data.blocklist.
Empty lists mean accept all senders.
POST performs idempotent set union against one selected list.
POST /email_inboxes/{inbox_id}/filters
curl -sS \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "blocklist",
"entries": ["[email protected]", "@bulk.spam.example"]
}' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/filters"
type is allowlist or blocklist. Each list supports up to 500 exact addresses or
@domain wildcards. The response contains both resulting lists.
PUT atomically replaces both lists. An omitted list is cleared, so include both keys when preserving one side.
PUT /email_inboxes/{inbox_id}/filters
curl -sS \
-X PUT \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"allowlist": ["[email protected]", "@partner.example"],
"blocklist": ["@spam.example"]
}' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/filters"
If an address matches both lists, blocklist precedence rejects it.
DELETE performs idempotent set subtraction from one selected list and still returns the current filter state when an entry was not present.
DELETE /email_inboxes/{inbox_id}/filters
curl -sS \
-X DELETE \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "allowlist",
"entries": ["[email protected]"]
}' \
"$TELNYX_API_BASE/email_inboxes/$INBOX_ID/filters"
Use the core tasks above first. All 17 reachable operations are indexed below with their exact HTTP method, endpoint, use case, and required parameters; use references/api-details.md for complete request parameters and response schemas. Before using an operation, read the request and query parameter section and the response schema section so you do not guess missing fields.
| Operation | SDK method | Endpoint | Use when | Required params |
|---|---|---|---|---|
| Create an inbox | HTTP only | POST /email_inboxes | Provision an inbound mailbox on a shared or account-owned domain. | None |
| List inboxes | HTTP only | GET /email_inboxes | Discover active inboxes and retain their resource IDs. | None |
| Get an inbox | HTTP only | GET /email_inboxes/{id} | Fetch one inbox's current state. | id |
| Delete an inbox | HTTP only | DELETE /email_inboxes/{id} | Soft-delete an inbox while leaving its address reserved. | id |
| List inbound messages | HTTP only | GET /email_inboxes/{inbox_id}/messages | Search, filter, or page through messages received by one inbox. | inbox_id |
| Update an inbound message | HTTP only | PATCH /email_inboxes/{inbox_id}/messages/{message_id} | Mark a message read or unread. | inbox_id, message_id, read_at |
| Reply to a message | HTTP only | POST /email_inboxes/{inbox_id}/messages/{message_id}/actions/reply | Reply only to the original sender or Reply-To address. | inbox_id, message_id, one of text or html |
| Reply all to a message | HTTP only | POST /email_inboxes/{inbox_id}/messages/{message_id}/actions/reply_all | Reply to the original sender and the original To/Cc recipients. | inbox_id, message_id, one of text or html |
| Forward a message | HTTP only | POST /email_inboxes/{inbox_id}/messages/{message_id}/actions/forward | Forward a received message to caller-selected recipients. | inbox_id, message_id, to |
| List threads in an inbox | HTTP only | GET /email_inboxes/{inbox_id}/threads | Page through conversation summaries for one inbox. | inbox_id |
| Get a thread in an inbox | HTTP only | GET /email_inboxes/{inbox_id}/threads/{thread_id} | Fetch one inbox-scoped thread and its message page. | inbox_id, thread_id |
| List threads across the account | HTTP only | GET /email_threads | Discover conversation summaries across all account inboxes. | None |
| Get an account-wide thread | HTTP only | GET /email_threads/{thread_id} | Fetch a thread using its composite inbox and thread identity. | thread_id, inbox_id |
| List sender filters | HTTP only | GET /email_inboxes/{inbox_id}/filters | Inspect an inbox's current allowlist and blocklist. | inbox_id |
| Add sender filter entries | HTTP only | POST /email_inboxes/{inbox_id}/filters | Add addresses or domain wildcards without replacing existing entries. | inbox_id, type, entries |
| Replace sender filters | HTTP only | PUT /email_inboxes/{inbox_id}/filters | Atomically replace both sender-filter lists. | inbox_id |
| Remove sender filter entries | HTTP only | DELETE /email_inboxes/{inbox_id}/filters | Remove addresses or domain wildcards while preserving other entries. | inbox_id, type, entries |
Telnyx signs email webhooks with Ed25519. Each request includes
telnyx-signature-ed25519 and telnyx-timestamp headers. Always verify the signature
over the exact raw request body before parsing JSON or processing message content:
1. Read the exact raw HTTP request body bytes.
2. Reject stale telnyx-timestamp values (commonly more than five minutes old).
3. Verify telnyx-signature-ed25519 with the Telnyx public key and SDK webhook helper.
4. Deduplicate by event ID before starting side effects.
5. Return 2xx promptly, then process asynchronously and idempotently.
Ed25519 is asymmetric signature verification, not HMAC. Do not reserialize parsed JSON before verification.
The email.received webhook fires when a message arrives in an inbox. The payload includes event metadata and message content. See the Telnyx webhook documentation for the full payload format.
Telnyx retries webhook deliveries on timeout or non-2xx responses. Keep your endpoint idempotent — the same event may be delivered multiple times. Return 2xx within 10 seconds to acknowledge receipt.
The following operations exist in the OpenAPI specification but are not yet routed through the Telnyx API gateway. They will become available after gateway routes are deployed. Do not generate curl examples or call these operations yet.
ListEmailDrafts, CreateEmailDraft, GetEmailDraft, UpdateEmailDraft, PatchEmailDraft, DeleteEmailDraft, SendEmailDraft, CreateEmailReplyDraft.AddEmailInboxMessageLabels, RemoveEmailInboxMessageLabels, AddEmailInboxThreadLabels, RemoveEmailInboxThreadLabels.For exhaustive parameters, request and response schemas, cursor behavior, action semantics, and webhook guidance, see references/api-details.md.
Automatically, when a task matches. Use for building email agents that read and respond to incoming email.
Published skills whose descriptions closely match this one, with their headline benchmark lift.
Skills that do similar work, with their headline benchmark lift.
From the same source and nearby in the catalogue.