Poe API

Bot image for Assistant

Assistant

·
  1. OFFICIAL
Chat

Powered by third party model providers. Learn more

Build with Assistant using the Poe API

Start by creating an API key, for use with any bot on Poe:

Generate API key

Code samples

Responses API
import openai

client = openai.OpenAI(
    api_key = "YOUR_POE_API_KEY",  # or os.getenv("POE_API_KEY")
    base_url = "https://api.poe.com/v1",
)

response = client.responses.create(
    model = "assistant",
    input = "Hello world"
)

print(response.output_text)

See the full documentation for comprehensive guidance on getting started.


More from Poe

Bot image for Assistant
Assistant
Bot image for Python
Python
Bot image for Poe-System-Bot
Poe-System-Bot
Bot image for Echo
Echo