Bulk Messaging
Create a draft bulk message.
Policy: bulkmessage.in_app|sms|email
Parameters
Section titled “Parameters”| Parameter | Required | Description |
|---|---|---|
| subject | Yes (optional for SMS) | Message subject (dynamic tags can be included). For SMS the subject is optional but useful for internal tracking |
| body | Yes | Message body in markdown or HTML. Jinja templating supported |
| uris | Yes (unless using segment_uri) | List of Sheep URIs to send to |
| segment_uri | Yes (unless using uris) | Segment to send to |
| regarding | No | URI of a common resource to associate with the message |
| requires_acknowledgement | No | Boolean, default false. If true the message will be marked as requiring acknowledgement |
Example
Section titled “Example”http POST https://sls-api.sheepcrm.com/messaging/v2/{bucket}/{email|in-app|sms}/ "Authorization: Bearer $API_KEY" uris:='["/example/person/5e627c2e49c3a83464f3fb04/","/example/person/5e8c7ec849c3a877afbe4d2d/"]' body="Hi {{first_name}}" subject="Hello"