post https://{url}/autoMessage
This endpoint allows you to create an auto-message campaign, and define the distribution rules and its content.
- URL:
POST - {{url}}/autoMessage
- Body:
campaignName
- Name of the campaign.
trigger
-eachTransfer
,genesis
,walletToWallet
content
- Content of the message. Check out the Message Schema.
audienceId
- ID of the target audience.
autoAccept
- Set astrue
to auto-accept events.
status
-DRAFT
orCREATED
.
- Success: The campaign data are returned.