from fastapi import APIRouter router = APIRouter() @router.post("/message/") async def hello(): print("we did a webhook") return {"message": "webhook get"}