---
title: "Send a message to a list of driver ids."
method: POST
path: "/v1/fleet/messages"
tags: ["Messages"]
---

# Send a message to a list of driver ids.

`POST /v1/fleet/messages`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/v1/fleet/messages`
- Auth: HTTP bearer

> 🚧 This endpoint is still on our legacy API.

Send a message to a list of driver ids. 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

To use this endpoint, select **Write Messages** under the Driver Workflow category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

## Request body

- InlineObject2
  - `driverIds` number[], required: IDs of the drivers for whom the messages are sent to.
  - `text` string, required: The text sent in the message. Max 2500 characters allowed.

## Response `200`

Returns the created messages.

- InlineResponse2006: A list of created messages.
  - `data` V1Message[]
    - `driverId` integer, required: ID of the driver for whom the message is sent to or sent by.
    - `text` string, required: The text sent in the message.

## Other responses

- `default`: Unexpected error.

---

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