Skip to content

Prepare SMS Newsletter Dispatch

Tool name: prepare-sms-newsletter-dispatch

Prepares SMS newsletter dispatch by checking text, sender and provider, estimating recipients and returning the KlickTipp dialog for a logged-in person to send now or schedule. This call sends nothing. Each recipient costs SMS credits and sent messages cannot be recalled; say so when handing over the link.

Input schema

newsletterIdinteger, >= 1required

ID of the SMS newsletter to send

accountIdnull or integer, >= 1

User ID of the account; omit for the account of the access token

Default:null
Input example
{ "newsletterId": 1, "accountId": null }

Output schema

accountIdintegerrequired
newsletterIdintegerrequired
statusstringrequired
Enum:"draft""scheduled""outgoing""sent"
readybooleanrequired
missingForDispatchArray of stringsrequired
estimatedRecipientsMinintegerrequired
estimatedRecipientsMaxintegerrequired
scheduleUrlstringrequired
Output example
{ "accountId": 0, "newsletterId": 0, "status": "draft", "ready": true, "missingForDispatch": [ "string" ], "estimatedRecipientsMin": 0, "estimatedRecipientsMax": 0, "scheduleUrl": "string" }