diff --git a/app/api/webhook/twilio/inbound/route.ts b/app/api/webhook/twilio/inbound/route.ts index 457122d5..e19a286a 100644 --- a/app/api/webhook/twilio/inbound/route.ts +++ b/app/api/webhook/twilio/inbound/route.ts @@ -12,7 +12,7 @@ import { authenticateAndRecordTwilioRequest } from '../authenticateAndRecordTwil * Webhook invoked when an inbound message has been received over one of our communication channels, * generally either SMS or WhatsApp. An immediate response is expected. */ -export async function GET(request: NextRequest) { +export async function POST(request: NextRequest) { const body = await authenticateAndRecordTwilioRequest(request, TwilioWebhookEndpoint.Inbound); // TODO: Do something with the `body`