Placewise API
Get startedExplore
Get startedExplore
Performance Cloud 🗗
Placewise 🗗
ExplorePublic APIManagement APIUsers APIOperations APIMessaging API
Reporting APIML APIData API
ExplorePublic APIManagement APIUsers APIOperations APIMessaging API
Reporting APIML APIData API
  1. Messaging API
  • Introduction
  • Templating system
  • Message model
  • Sending model
  • Messages
    • Create Message
      POST
    • List Messages
      GET
    • Show Message
      GET
    • Update Message
      PUT
    • Duplicate Message
      PUT
    • Delete Message
      DELETE
  • Sendings
    • Show Sending
      GET
    • Create Sending
      POST
    • Update Sending
      PUT
    • Cancel Sending
      PUT
  • Templates (Standalone)
    • Introduction
    • Bee Templates
      • Introduction
      • List Bee Email Templates
      • Show Bee Email Template
      • List Bee Email Templates Tags
    • List Templates
      GET
    • Show Template
      GET
    • Create Template
      POST
    • Update Template
      PUT
    • Destroy Template
      DELETE
  • Misc
    • Show Messaging Settings
      GET
    • List Merge Properties
      GET
    • List Merge Properties Copy
      GET
  1. Messaging API

Introduction

This API module exposes an interface that allows to send SMSes, Emails and Push messages to Loyalty Club members, MPC users and to any arbitrary recipients.

Services#

The core of the Messaging API is scoped by Services that allow to distinguish Messages by specific MPC features or custom/external uses.
A /:service/ URL segment is used for this. For example, listing messages is done via GET /v1/messages/:service_name and creating via POST /v1/messages/:service_name.
Each service requires API client to have a dedicated permit.

Example services#

ServicePermitDescription
genericMessages:Api:Messages:UseService:GenericFor random, generic messages sent via API
campaignsMessages:Api:Messages:UseService:CampaignsFor MPC Campaign messages
tenantsMessages:Api:Messages:UseService:TenantsFor MPC TC messages
tenants_testingMessages:Api:Messages:UseServices::TenantsTestingFor MPC TC test messages

Models overview#

Entity Relationship Diagram#

Message#

Message is a content to send. Defines channels that should be used for transport and how it should look and/or behave.
For example, depending on a use case, a Message may be:
SMS with content and sender
e-mail with subject, body and sender (from)
push notification with text and image
a set of SMS, email and push where the actual channel is based on recipient preferences
See: Message for more details.

Sending#

Message is always sent through specific Sending - potentially more than once.
Sending may be treated as an "occurrence" of the Message. It happens on specific time and targets the recipients that should receive it at that time.
Message may be created along with the first (and potentially only) Sending at once. It can be also pre-created without scheduling any Sending.
Nevertheless, subsequent Sendings may be scheduled for the Message at any time. Also, there are Services that have Sendings automatically scheduled by the system.
See: Sending for more details.

Template#

Template model manifests itself in two forms:
as a content of the specific Message - see: Message
as a Standalone Template, record that holds data reusable in Messages - see: Templates (Standalone)
Next
Templating system
Built with