Publisert - 05.10.2026

Send message

Description

This endpoint creates/sends a message to the other party in an existing dialog.

Endpoint

[POST] /api/v2/dialog/message

Payload

{
  "DialogRef": "",                          // Dialog reference 'Dxxxx'
  "MessageText": "",
  "SenderName": "",                         // Sender name
  "NotifyRecipient": true|false,
  "Attachments": [
    {
        "Name": "",                         // File name
        "ContentType": "",                  // File content type
        "Content": ""                       // Base64 encoded string
    }
  ]
}

Supported content types:

  • application/json
  • application/pdf
  • image/jpeg
  • image/png
  • text/plain

Scope

Required scope:
nhn:melde/dialog/melding

Søk i Utviklerportalen

Søket er fullført!