| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### Message Structure

#### text
string

required

The contents of the message. Supports some formatting, see the [Message resource](https://docs.copilot.com/reference/messages) for details.

#### channelId
string

required

The Message Channel where the message will be sent.

#### senderId
string

The user (Client or Internal User) to send this message on behalf of. If specified, the sender must be a member of the Message Channel. If not specified, the message will be sent on behalf of the user who generated the API key used in the request.

# Response Codes

# ``200      200

# ``400      400

### cURL Example

```bash
curl --request POST \
     --url https://api.assembly.com/v1/messages \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

### API Response

Choose an example:

application/json

``200 - Result``
``400 - Result`
