Skip to content

Agent SDKs

Use PostFlow from the Claude API, the OpenAI Agents SDK and other frameworks you code yourself.

The MCP connector lets Claude call PostFlow’s tools inside one Messages request:

Terminal window
curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: mcp-client-2025-11-20" \
-H "content-type: application/json" \
-d '{
"model": "claude-opus-5-5",
"max_tokens": 4096,
"mcp_servers": [{ "type": "url", "url": "https://postflow.biz.id/api/mcp", "name": "postflow", "authorization_token": "'"$POSTFLOW_API_KEY"'" }],
"tools": [{ "type": "mcp_toolset", "mcp_server_name": "postflow" }],
"messages": [{ "role": "user", "content": "Save a draft for every connected account: \"Open until 10 pm tonight!\"" }]
}'