Skip to main content

List distribution response

result objectrequired
elements object[]required
  • Array [
  • idId (string)required

    The ID Of the SMS disctribution.

    Possible values: Value must match regular expression ^SMSD_[a-zA-Z0-9]{11,15}$

    nameName (string)required

    The name of the SMS distribution.

    Possible values: <= 100 characters

    ownerIdOwnerId (string)required

    The user id of the owner of the distribution.

    Possible values: Value must match regular expression ^[a-zA-Z0-9]{1,4}_[a-zA-Z0-9]{11,15}$

    organizationIdOrganizationId (string)required

    The string identifier for the organization.

    Possible values: <= 20 characters

    requestStatusRequestStatus (string)required

    Possible values: <= 11 characters

    requestTypeRequestType (string)required

    Possible values: <= 30 characters

    sendDatestring<date-time>required

    The date and time when the distribution was sent.

    surveyIdSurveyId (string)required

    The id of the survey sent in the distribution.

    Possible values: Value must match regular expression ^SV_[a-zA-Z0-9]{11,15}$

    recipients objectrequired
    mailingListIdMailingListId (string)nullablerequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9]{1,4}_[a-zA-Z0-9]{11,15}$

    contactIdContactId (string)nullablerequired

    Possible values: Value must match regular expression ^(CTR|CGC|MLRP)_[a-zA-Z0-9]{11,15}$

    libraryIdLibraryId (string)required

    Refers to the library of the contact list, not the message.

    Possible values: Value must match regular expression ^[a-zA-Z0-9]{1,4}_[a-zA-Z0-9]{11,15}$

    sampleIdSampleId (string)nullablerequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9]{1,4}_[a-zA-Z0-9]{11,15}$

    transactionBatchIdTransactionBatchId (string)nullablerequired

    Possible values: Value must match regular expression ^BT_[a-zA-Z0-9]{11,15}$

    transactionIdTransactionId (string)nullablerequired

    Possible values: Value must match regular expression ^CTR_[a-zA-Z0-9]{11,15}$

    message objectrequired
    messageIdMessageId (string)nullable

    Possible values: Value must match regular expression ^MS_[a-zA-Z0-9]{11,15}$|^DL_[a-zA-Z0-9]{11,15}$

    libraryIdLibraryId (string)nullable

    Possible values: Value must match regular expression ^[a-zA-Z0-9]{1,4}_[a-zA-Z0-9]{11,15}$

    messageTypeMessageType (string)

    The type of the message. For Library the message text can be found using the Get Library Message endpoint. For Inline the message text is part of the Get SMS Distribution response.

    Possible values: [Inline, Library]

    stats objectrequired
    sentSent (integer)required
    startedStarted (integer)required
    finishedFinished (integer)required
    failedFailed (integer)required
    creditsCredits (integer)required
    segmentsSegments (integer)required
    surveyLinkExpirationDatestring<date-time>

    The date and time when the survey link expires

  • ]
  • nextPageNextPage (string)nullable
    meta objectrequired
    httpStatushttp status (string)required

    http status

    requestIdAn identifier of the incoming request. (string)required

    An identifier of the incoming request.

    noticeAn informational string about the request. (string)

    An informational string about the request.

    List distribution response
    {
    "result": {
    "elements": [
    {
    "id": "string",
    "name": "string",
    "ownerId": "string",
    "organizationId": "string",
    "requestStatus": "string",
    "requestType": "string",
    "sendDate": "2024-07-29T15:51:28.071Z",
    "surveyId": "string",
    "recipients": {
    "mailingListId": "string",
    "contactId": "string",
    "libraryId": "string",
    "sampleId": "string",
    "transactionBatchId": "string",
    "transactionId": "string"
    },
    "message": {
    "messageId": "string",
    "libraryId": "string",
    "messageType": "Inline"
    },
    "stats": {
    "sent": 0,
    "started": 0,
    "finished": 0,
    "failed": 0,
    "credits": 0,
    "segments": 0
    },
    "surveyLinkExpirationDate": "2024-07-29T15:51:28.071Z"
    }
    ],
    "nextPage": "string"
    },
    "meta": {
    "httpStatus": "string",
    "requestId": "string",
    "notice": "string"
    }
    }