Switch webhook endpoint to Poke SDK's /inbound/api-message

This commit is contained in:
Kacper Kwapisz
2026-03-23 16:38:53 +01:00
parent df2dc57600
commit b3a5cd4c5b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -452,7 +452,7 @@ async def lifespan(server: FastMCP):
accounts = parse_accounts(config)
webhook_url = os.environ.get(
"POKE_WEBHOOK_URL",
config.get("webhook_url", "https://poke.com/api/v1/inbound-sms/webhook"),
config.get("webhook_url", "https://poke.com/api/v1/inbound/api-message"),
)
api_key = os.environ.get("POKE_API_KEY", config.get("poke_api_key", ""))
stop_event = asyncio.Event()