SMS campaigns can be created on the platform or programmatically via API.
To create an SMS marketing campaign, certain parameters are required, such as the desired STOP mention. All existing mentions can be retrieved via the dedicated endpoint: /settings/groups/{id}/optout-texts.
Recover STOP mentions
The API offers the possibility of recovering all STOP mentions for a specific group.
The identifier of the chosen STOP mention will have to be filled in during campaign creation at the content.optout_text_id parameter of the creation endpoint.
The size of the SMS content is checked during campaign creation to respect the limit authorized by the group, including the defined STOP mention.
It's important to note that further checks are made to ensure consistency between STOP mentions, OADC and group configurations concerning international mailings.
Shipping outside mainland France allowed |
An OADC is informed |
Mention STOP |
|---|---|---|
yes |
yes |
The word STOP is mandatory and applies only to non-French numbers. For French numbers, the following wording will be used: STOP 36xxx. |
yes |
no |
STOP is mandatory and will apply to all phone numbers. |
no |
yes |
It is not possible to enter a specific STOP statement. The following wording will be used: STOP 36xxx. |
no |
no |
It is mandatory to fill in a specific STOP statement. |
Conclusion
Once the STOP identifier has been retrieved, creating a campaign via the API becomes possible.
Further reading:
- Understanding campaign creation via API
- Understanding API retrieval of available senders for my group