김인턴
APIReferenceMessage

message_send

Send a Mattermost message to a direct message, channel, or the current conversation after approval. attachments uploads workspace files, such as an inbound image original, with the message. `external_send` · approval · v3

POST
/tools/message_send/invoke

Authorization

memberToken
AuthorizationBearer <token>

Tokens

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

text/plain

text/plain

text/plain

text/plain

curl -X POST "https://example.com/tools/message_send/invoke" \  -H "Content-Type: application/json" \  -d '{    "input": {      "message": "string",      "targetType": "directMessage"    }  }'
{  "toolName": "string",  "status": "string",  "content": "string",  "isError": true,  "message": "string",  "errorCode": "string",  "retryable": true,  "result": null}