---
title: "Handle Messaging"
method: POST
path: "/messaging"
---

# Handle Messaging

`POST /messaging`

## Request

- Base URL: `https://api.phonely.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.phonely.ai/messaging`
- Auth: none declared

Handles incoming messaging requests from Twilio for different message types.
Supported message types are:
- assistant-request: Sets up the AI assistant for the call, initializes call data and cache, and returns assistant configuration
- status-update: Processes call status changes like call ending or forwarding
- end-of-call-report: Triggers background processing of call completion, including transcripts, recordings, and post-call actions

This endpoint receives webhook requests from Twilio to handle various stages of call processing.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/phonely/apis/phonely-api.md) - [All operations](https://skmtc.dev/phonely/apis/phonely-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phonely/apis/phonely-api/revisions/9bfd5599d479?raw)
