Loading...
Loading...
Compare original and translation side by side
POSTBOX_API_TOKENI need your Postbox API key to make API calls on your behalf. Here's how to get one:
- Go to https://usepostbox.com/integrations/api-keys
- Click "Create API Key" and give it a name (e.g., "Claude")
- Copy the key — it's only shown once
To persist it so I can use it in future sessions, set it as an environment variable:
- macOS/Linux: Add
to yourexport POSTBOX_API_TOKEN="your_key_here"or~/.bashrc~/.zshrc- Windows: Use
in Command Promptsetx POSTBOX_API_TOKEN "your_key_here"- Claude Code: Add it to your project's
file.envOnce you paste it here, I'll use it for this session.
POSTBOX_API_TOKEN我需要你的Postbox API密钥来代表你调用API。获取方式如下:
- 访问https://usepostbox.com/integrations/api-keys
- 点击「Create API Key」并为其命名(例如「Claude」)
- 复制密钥——密钥仅会显示一次
为了在后续会话中持续使用,请将其设置为环境变量:
- macOS/Linux:在
或~/.bashrc中添加~/.zshrcexport POSTBOX_API_TOKEN="your_key_here"- Windows:在命令提示符中执行
setx POSTBOX_API_TOKEN "your_key_here"- Claude Code:将其添加到项目的
文件中.env请在此处粘贴密钥,我会在本次会话中使用它。
visibility: "public"spam_protection_enabled: truespam_protection_strategy: "standard"visibility: "public"spam_protection_enabled: truespam_protection_strategy: "standard"references/api.mdreferences/api.mdhttps://usepostbox.comAuthorization: Bearer {api_key}curlendpointContent-Type: application/jsonhttps://usepostbox.comAuthorization: Bearer {api_key}curlendpointContent-Type: application/jsoncontactbeta-signup^[a-z0-9]+(?:-[a-z0-9]+)*$websitecompanycontactbeta-signup^[a-z0-9]+(?:-[a-z0-9]+)*$websitecompanyfields_schemafields_schemafilter: "inbox"filter: "inbox"<form action=...><form action=...>method="POST" action="{endpoint}"fetch()<form action>fetch()fetch()Content-Type: application/jsonmethod="POST" action="{endpoint}"fetch()<form action>fetch()fetch()Content-Type: application/jsonreferences/templates.mdreferences/templates.mdindex.htmlindex.html"draft""auto"{form_name} <hey@usepostbox.com>"draft"POST /api/knowledge_bases"draft""auto"{form_name} <hey@usepostbox.com>"draft"POST /api/knowledge_baseshttps://usepostbox.com/mcp{
"mcpServers": {
"postbox": {
"type": "http",
"url": "https://usepostbox.com/mcp"
}
}
}https://usepostbox.com/mcp{
"mcpServers": {
"postbox": {
"type": "http",
"url": "https://usepostbox.com/mcp"
}
}
}endpointendpointendpointendpoint401404422429401404422429retry_after