post https://{url}/onceOfMessage/
This endpoint allows you to create your once-off message campaign.
- URL:
POST - {{url}}/onceOfMessage
- Body:
campaignName
- Name of the campaign.
productIds
- ID of the specific digital passport to include in the campaign.
content
- Content of the message. Check out the Message Schema.
audienceId
- ID of the target audience.
status
-DRAFT
orCREATED
. If you create a draft, use the "Send Once-Off Message Campaign" API to trigger the campaign afterward.
- Success: The campaign data are returned.