メインコンテンツへスキップ
POST
Publish a message

Supported products

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

channelId
integer<int32>
必須

The ID of the channel.

ボディ

application/json
attachments
(FILE · object | LOCATION · object | CONTACT · object | UNSUPPORTED_CONTENT · object | MESSAGE_HEADER · object | QUICK_REPLIES · object | SOCIAL_MEDIA_METADATA · object)[]
必須
channelAccountId
string
必須
messageDirection
enum<string>
必須
利用可能なオプション:
INCOMING,
OUTGOING
recipients
object[]
必須
senders
object[]
必須
text
string
必須
timestamp
string<date-time>
必須
associateWithContactId
integer<int64>
inReplyToId
string
integrationIdempotencyId
string
integrationThreadId
string
preResolvedContacts
object
richText
string

レスポンス

successful operation

archived
boolean
必須
attachments
(FILE · object | LOCATION · object | CONTACT · object | UNSUPPORTED_CONTENT · object | MESSAGE_HEADER · object | QUICK_REPLIES · object | WHATSAPP_TEMPLATE_METADATA · object | SOCIAL_MEDIA_METADATA · object)[]
必須
channelAccountId
string
必須
channelId
string
必須
client
object
必須
conversationsThreadId
string
必須
createdAt
string<date-time>
必須
createdBy
string
必須
direction
enum<string>
必須
利用可能なオプション:
INCOMING,
OUTGOING
id
string
必須
recipients
object[]
必須
senders
object[]
必須
text
string
必須
truncationStatus
enum<string>
必須
利用可能なオプション:
NOT_TRUNCATED,
TRUNCATED,
TRUNCATED_TO_MOST_RECENT_REPLY
type
enum<string>
デフォルト:MESSAGE
必須
利用可能なオプション:
MESSAGE
inReplyToId
string
richText
string
status
object
subject
string
updatedAt
string<date-time>
最終更新日 2026年4月13日