Table of Contents

Send Communication

This endpoint is used to send a digital communication to a customer. It can send one item to multiple customers, multiple items to one customer, or a combination of the two.

Definition

Route: /communications/send
Method: POST
OperationId: SendCommunication

Permissions

The user must be a member of one of the following groups to send communications.

  • client:admin
  • communication:manager
  • communication:sender

Request

Headers

Name Description Notes
accept The expected format of the response application/json
osg-client-id The unique identifier assigned to your organization
client_customer_id The unique identifier assigned to your client
correlation_id The unique identifier for correlation

Body

Tip

You can submit multiple communications at once by passing an array of SendCommand objects.


Responses

Success

Status Description Body
202 The request was successful and is being processed. SendResult

Failures

Status Description Body
400 The request was invalid. SendResult
401 The request was not authorized. None
403 The request was not allowed. None
500 An unexpected error occurred. None

Schemas

SendCommunicationCommand

[
  {
    "communication_type": "string",
    "communication_sub_type": "string",
    "delivery_method": "string",
    "account_number" : "string",
    "account_discriminator": "string",
    "email_address" : "string",
    "email_options" : "string",
    "mailing_address" : "Object::Address",
    "client_data" : {
      "items": [
        "Object::ClientDataEntry"
      ]},
    "caller": "Object::Caller"
  }
]

SendCommunicationResult

{
  "communication_id": "string",
  "account_number": "string",
  "account_discriminator": "string",
  "result": {
    "is_success": "boolean",
    "errors": [],
    "sent_on_utc": "string",
    "trace_id":"string",
    "correlation_id": "string"
  }
}
CommunicationId*

The unique identifier of the sent communication. This value is required to view or download the communication and to send notifications related to it.

AccountNumber*

Copied from the request. The account number of the customer to whom the communication was sent.

AccountDiscriminator

Copied from the request. The discriminator used to differentiate between multiple accounts with the same AccountNumber.

Result