Jump to content

REST API Documentation

/core/messages


Create a new personal conversation

This endpoint is only available for requests made using an API Key or the Client Credentials Grant Type, not using an OAuth Access Token for a particular member.


Parameters

Name Type Description
from int User ID conversation is from
to array One or more user IDs conversation is sent to
title string Conversation title
body string Conversation body

Exceptions

Code Message Description
1C374/2 INVALID_SENDER Sender was not supplied or is invalid
1C374/3 INVALID_RECIPIENT No recipients were supplied
1C374/4 INVALID_RECIPIENT One or more recipients are invalid
1C374/5 MISSING_TITLE_OR_BODY The title and/or body of the conversation were not supplied

Response

This endpoint doesn't return a response.
×
×
  • Create New...