Download OpenAPI specification:Download
[- {
- "profileImage": "string",
- "id": "string",
- "allowImages": true,
- "name": "string",
- "phoneNumber": "string",
- "whatsAppRequestId": "00000000-0000-0000-0000-000000000000",
- "requestId": "00000000-0000-0000-0000-000000000000",
- "type": "string"
}
]{- "property1": {
- "disabled": true,
- "name": "string",
- "options": {
- "allowImages": true,
- "allowTemplates": true,
- "requestId": "00000000-0000-0000-0000-000000000000",
- "appKey": "00000000-0000-0000-0000-000000000000"
}, - "type": "string"
}, - "property2": {
- "disabled": true,
- "name": "string",
- "options": {
- "allowImages": true,
- "allowTemplates": true,
- "requestId": "00000000-0000-0000-0000-000000000000",
- "appKey": "00000000-0000-0000-0000-000000000000"
}, - "type": "string"
}
}| accountId required | string <uuid> The account id. |
| status | Array of strings Message status id. |
| orderby | Array of strings Column names (date, price, recipients, name) to order messages. add desc to order desc (ex: date desc) |
| includePreview | boolean If true returns the preview as well |
| isArchived | boolean Used to get archived results |
| skip | integer <int32> The skip. |
| take | integer <int32> The take. |
[- {
- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": null,
- "mediaUri": null,
- "mimeType": null,
- "mediaType": null
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}
]| accountId required | string <uuid> The accountId. |
The Message.
| isArchived | boolean |
| body | string |
| channels | Array of strings |
object | |
| grouping | string |
| ignoreUnsubscribes | boolean |
| name | string |
Array of objects (CM.Platform.Messages.Models.ApiRecipient) | |
| recurrence | string |
Array of objects (CM.Platform.Messages.Models.Conversation) | |
| scheduledAtUtc | string <date-time> |
| senderPreset | string <uuid> |
| senders | Array of strings |
object (CM.Platform.Messages.Models.ApiSpreadSettings) | |
| status | string |
| tariff | integer <int32> |
| modifiedAtUtc | string <date-time> |
| updatedAtUtc | string |
{- "isArchived": true,
- "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "updatedAtUtc": "string"
}{- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}| accountId required | string <uuid> The accountId. |
The Message.
object (CM.Platform.Messages.Models.ApiMessageRequest) | |
Array of objects (CM.Platform.Messages.Models.ApiRecipient) |
{- "message": {
- "isArchived": true,
- "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": null,
- "mediaUri": null,
- "mimeType": null,
- "mediaType": null
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "updatedAtUtc": "string"
}, - "testRecipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
]
}{- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}| accountId required | string <uuid> The accountId. |
The message object
| isArchived | boolean |
| body | string |
| channels | Array of strings |
object | |
| grouping | string |
| ignoreUnsubscribes | boolean |
| name | string |
Array of objects (CM.Platform.Messages.Models.ApiRecipient) | |
| recurrence | string |
Array of objects (CM.Platform.Messages.Models.Conversation) | |
| scheduledAtUtc | string <date-time> |
| senderPreset | string <uuid> |
| senders | Array of strings |
object (CM.Platform.Messages.Models.ApiSpreadSettings) | |
| status | string |
| tariff | integer <int32> |
| modifiedAtUtc | string <date-time> |
| updatedAtUtc | string |
{- "isArchived": true,
- "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "updatedAtUtc": "string"
}{- "minNumberOfPartsPerRecipient": 0,
- "maxNumberOfPartsPerRecipient": 0,
- "charsLeft": 0,
- "charsToRemove": 0,
- "countryCosts": [
- {
- "cost": 0.1,
- "countryCode": "string",
- "isMultipart": true,
- "messageCount": 0,
- "recipientCount": 0
}
], - "currency": "string",
- "isMultipart": true,
- "messageCount": 0,
- "minDeliveryTime": 0,
- "recipientCount": 0,
- "totalCost": 0.1,
- "hasUnicode": true,
- "hasTags": true
}| accountId required | string <uuid> The accountId. |
| messageId required | string <uuid> The identifier. |
{- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}| accountId required | string <uuid> The accountId. |
| messageId required | string <uuid> The identifier. |
| includePreview | boolean If true gets the preview as well. |
{- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}| accountId required | string <uuid> The accountId. |
| messageId required | string <uuid> The identifier. |
| versioned | boolean If true message version will be checked before updates |
The Message.
| isArchived | boolean |
| body | string |
| channels | Array of strings |
object | |
| grouping | string |
| ignoreUnsubscribes | boolean |
| name | string |
Array of objects (CM.Platform.Messages.Models.ApiRecipient) | |
| recurrence | string |
Array of objects (CM.Platform.Messages.Models.Conversation) | |
| scheduledAtUtc | string <date-time> |
| senderPreset | string <uuid> |
| senders | Array of strings |
object (CM.Platform.Messages.Models.ApiSpreadSettings) | |
| status | string |
| tariff | integer <int32> |
| modifiedAtUtc | string <date-time> |
| updatedAtUtc | string |
{- "isArchived": true,
- "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "updatedAtUtc": "string"
}{- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}| accountId required | string <uuid> The account guid. |
| messageId required | string <uuid> The message id. |
| status | string Status of the message can only be delivered, undelivered, converted, unconverted or all. |
| fields | Array of integers <int32> [ items <int32 > ] Custom fields to export |
{ }| accountId required | string <uuid> The account guid. |
| messageId required | string <uuid> The message id. |
| status | string Status of the message can only be delivered, undelivered, converted, unconverted or all. |
| exportId | string <uuid> The export id. |
{- "id": "00000000-0000-0000-0000-000000000000",
- "isComplete": true,
- "groupId": "00000000-0000-0000-0000-000000000000"
}| accountId required | string <uuid> The accountId. |
| previewCode | string The country or language code for preview |
| numberOfPreviews | integer <int32> Number of previews to generate, default is 5 |
| useFieldNames | boolean Uses field names instead of sample data |
The message object
| isArchived | boolean |
| body | string |
| channels | Array of strings |
object | |
| grouping | string |
| ignoreUnsubscribes | boolean |
| name | string |
Array of objects (CM.Platform.Messages.Models.ApiRecipient) | |
| recurrence | string |
Array of objects (CM.Platform.Messages.Models.Conversation) | |
| scheduledAtUtc | string <date-time> |
| senderPreset | string <uuid> |
| senders | Array of strings |
object (CM.Platform.Messages.Models.ApiSpreadSettings) | |
| status | string |
| tariff | integer <int32> |
| modifiedAtUtc | string <date-time> |
| updatedAtUtc | string |
{- "isArchived": true,
- "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "updatedAtUtc": "string"
}{- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}| accountId required | string <uuid> The accountId. |
| messageId required | string <uuid> The group ids to fetch |
{- "minNumberOfPartsPerRecipient": 0,
- "maxNumberOfPartsPerRecipient": 0,
- "charsLeft": 0,
- "charsToRemove": 0,
- "countryCosts": [
- {
- "cost": 0.1,
- "countryCode": "string",
- "isMultipart": true,
- "messageCount": 0,
- "recipientCount": 0
}
], - "currency": "string",
- "isMultipart": true,
- "messageCount": 0,
- "minDeliveryTime": 0,
- "recipientCount": 0,
- "totalCost": 0.1,
- "hasUnicode": true,
- "hasTags": true
}| accountId required | string <uuid> The accountId. |
| messageId required | string <uuid> The identifier. |
{- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}| accountId required | string <uuid> The accountId. |
| messageId required | string <uuid> The identifier. |
{- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}| accountId required | string <uuid> The accountId. |
| term required | string The search terms |
| statuses | Array of strings The message status terms |
| isArchived | boolean The message is archived |
| skip | integer <int32> The skip. |
| take | integer <int32> The take. |
[- {
- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": null,
- "mediaUri": null,
- "mimeType": null,
- "mediaType": null
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}
]| accountId required | string <uuid> The accountId. |
| messageId required | string <uuid> The identifier. |
The test message recipients.
| contact | string <uuid> |
object | |
| group | string <uuid> |
| msisdn | string |
| pushId | string |
[- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
]| accountId required | string <uuid> The accountId. |
| messageId required | string <uuid> The identifier. |
The triggered message recipients.
| contact | string <uuid> |
object | |
| group | string <uuid> |
| msisdn | string |
| pushId | string |
[- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
]| accountId required | string <uuid> The accountId. |
The sender.
| isFavorite | boolean |
| name | string |
object |
{- "isFavorite": true,
- "name": "string",
- "senders": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "00000000-0000-0000-0000-000000000000",
- "isFavorite": true,
- "name": "string",
- "senders": {
- "property1": "string",
- "property2": "string"
}
}| accountId required | string <uuid> The accountId. |
| senderId required | string <uuid> The identifier. |
The sender.
| isFavorite | boolean |
| name | string |
object |
{- "isFavorite": true,
- "name": "string",
- "senders": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "00000000-0000-0000-0000-000000000000",
- "isFavorite": true,
- "name": "string",
- "senders": {
- "property1": "string",
- "property2": "string"
}
}| productToken required | string <uuid> The product token. |
| accountId required | string <uuid> The accountId. |
The Message.
| isArchived | boolean |
| body | string |
| channels | Array of strings |
object | |
| grouping | string |
| ignoreUnsubscribes | boolean |
| name | string |
Array of objects (CM.Platform.Messages.Models.ApiRecipient) | |
| recurrence | string |
Array of objects (CM.Platform.Messages.Models.Conversation) | |
| scheduledAtUtc | string <date-time> |
| senderPreset | string <uuid> |
| senders | Array of strings |
object (CM.Platform.Messages.Models.ApiSpreadSettings) | |
| status | string |
| tariff | integer <int32> |
| modifiedAtUtc | string <date-time> |
| updatedAtUtc | string |
{- "isArchived": true,
- "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "updatedAtUtc": "string"
}{- "id": "00000000-0000-0000-0000-000000000000",
- "isStatsComplete": true,
- "isArchived": true,
- "analytics": {
- "accepted": 0,
- "converted": 0,
- "countryErrorStats": [
- {
- "country": "string",
- "count": 0,
- "errorCode": 0
}
], - "countryStats": [
- {
- "country": "string",
- "accepted": 0,
- "converted": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "failed": 0,
- "messages": 0,
- "optedOut": 0,
- "optOutReceived": 0,
- "isRead": 0,
- "recipients": 0
}
], - "deduplicated": 0,
- "delivered": 0,
- "deliveryTime": 0.1,
- "dispatched": 0,
- "euroPrice": 0.1,
- "failed": 0,
- "localCurrency": "string",
- "localPrice": 0.1,
- "messages": 0,
- "optedOut": 0,
- "isRead": 0,
- "optOutReceived": 0,
- "recipients": 0,
- "test": 0,
- "updatedAtUtc": "2019-08-24T14:15:22Z"
}, - "preview": {
- "previews": [
- "string"
], - "footerPreview": "string",
- "mediaPreviews": [
- {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}
], - "titlePreviews": [
- "string"
], - "suggestionsPreview": [
- {
- "type": "string",
- "content": "string"
}
], - "previewCode": "string",
- "profileImage": "string",
- "sender": "string",
- "recipientsPerCountry": [
- {
- "count": 0,
- "countryCode": "string"
}
], - "languages": [
- "string"
]
}, - "body": "string",
- "channels": [
- "string"
], - "countrySpecificSenders": {
- "property1": "string",
- "property2": "string"
}, - "grouping": "string",
- "ignoreUnsubscribes": true,
- "name": "string",
- "recipients": [
- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
], - "recurrence": "string",
- "content": [
- {
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "whatsAppTemplate": {
- "templateId": "00000000-0000-0000-0000-000000000000",
- "languageCode": "string",
- "components": [
- {
- "index": "string",
- "type": "string",
- "subType": "string",
- "parameters": [
- {
- "type": "string",
- "media": {
- "mediaName": "string",
- "mediaUri": "string",
- "mimeType": "string",
- "mediaType": "string"
}, - "text": "string"
}
]
}
]
}, - "text": "string",
- "header": "string",
- "footer": "string",
- "suggestions": [
- {
- "type": "OpenUrl",
- "label": "string",
- "phoneNumber": "string",
- "postbackdata": "string",
- "url": "string",
- "viewLocation": {
- "latitude": "string",
- "longitude": "string",
- "label": "string"
}
}
]
}
], - "scheduledAtUtc": "2019-08-24T14:15:22Z",
- "senderPreset": "00000000-0000-0000-0000-000000000000",
- "senders": [
- "string"
], - "spread": {
- "durationMinutes": 0,
- "timeFrames": [
- {
- "days": [
- "string"
], - "startTime": "string",
- "endTime": "string"
}
], - "until": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "tariff": 0,
- "modifiedAtUtc": "2019-08-24T14:15:22Z",
- "createdAtUtc": "2019-08-24T14:15:22Z",
- "createdBy": "00000000-0000-0000-0000-000000000000",
- "updatedAtUtc": "string"
}| productToken required | string <uuid> The product token. |
| accountId required | string <uuid> The accountId. |
| messageId required | string <uuid> The Message id. |
The recipients.
| contact | string <uuid> |
object | |
| group | string <uuid> |
| msisdn | string |
| pushId | string |
[- {
- "contact": "00000000-0000-0000-0000-000000000000",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "group": "00000000-0000-0000-0000-000000000000",
- "msisdn": "string",
- "pushId": "string"
}
]0Status Reports
| Account | integer <int32> |
| AdditionalInfo | string |
| Converted | string <date-time> |
| Customer | integer <int32> |
| CustomGrouping | string |
| CustomGrouping2 | string |
| CustomGrouping3 | string |
| Description | string |
| ExternalReference | string |
| LastRetry | string <date-time> |
| LastUpdated | string <date-time> |
| Parts | integer <int32> |
| Priority | integer <int32> |
| OptedOut | string <date-time> |
| ReadByRecipient | string <date-time> |
| Recipient | string |
| Reference | integer <int32> |
| RetryCost | number <double> |
| SentToOperator | string <date-time> |
| StandardError | integer <int32> |
| Status | string Enum: "Accepted" "Rejected" "Delivered" "Failed" "Overdue" "AcceptedByGateWay" "RejectedByGateWay" |
| Ticket | string |
[- {
- "Account": 0,
- "AdditionalInfo": "string",
- "Converted": "2019-08-24T14:15:22Z",
- "Customer": 0,
- "CustomGrouping": "string",
- "CustomGrouping2": "string",
- "CustomGrouping3": "string",
- "Description": "string",
- "ExternalReference": "string",
- "LastRetry": "2019-08-24T14:15:22Z",
- "LastUpdated": "2019-08-24T14:15:22Z",
- "Parts": 0,
- "Priority": 0,
- "OptedOut": "2019-08-24T14:15:22Z",
- "ReadByRecipient": "2019-08-24T14:15:22Z",
- "Recipient": "string",
- "Reference": 0,
- "RetryCost": 0.1,
- "SentToOperator": "2019-08-24T14:15:22Z",
- "StandardError": 0,
- "Status": "Accepted",
- "Ticket": "string"
}
]0