---
title: "MessageSendInput"
description: "The input fields to send a message."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/message/inputs/message-send-input'
  md: 'https://developer.shopline.com/docs/storefront-api/message/inputs/message-send-input.md'
---
# MessageSendInput

The input fields to send a message.

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Input

## Input Fields

* `contentAttachmentUrl`

  [URL](https://developer.shopline.com/docs/storefront-api/common/scalars/url.md)

  The URL of the message attachment. Either this field or the `content` field must be specified.
  <br/>Maximum length: 1024

* `messageType`

  [MessageType](https://developer.shopline.com/docs/storefront-api/message/enums/message-type.md)

  The type of the message.

* `conversationId`

  [ID](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  Conversation ID, which is returned by successfully calling the [conversationCreate](https://developer.shopline.com/docs/storefront-api/message/mutations/conversation-create.md) mutation.

* `content`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The content of the message. Either this field or the `contentAttachmentUrl` field must be specified.
  <br/>Maximum length: 1024

## Argument from

* [Mutation](https://developer.shopline.com/docs/storefront-api/message/mutations/message-send.md).messageSend

