Email and SMS message with contact group.

Email:

Email must at least contain html, text or a subject and can contain any combination of those three.

The organisation the contact belongs to needs to be configured for sending messages.

The emails may contain mailjet-style template variables. Each {{variable}} can be specified as such in the email:

[[var:{{variable}}]]

Three personified variables are taken from each recipient/contact info when specified using the template language: name: contact info name (and thus first and last name) email: contact info email phone_number: contact info phone number

SMS:

The smses may contain mailjet-style template variables. Each {{variable}} can be specified as such in the content:

[[var:{{variable}}]]

Query parameters

name: Text filter on name. Supports various lookup types (name__exact by default).

organisation: Related filter on organisation. See the organisations endpoint.

page_size: The maximum number of results to return in list-view. The default is 10.

Examples

?name=Example

?name__icontains=Examp

?name__icontains=Examp&page_size=100

?organisation__unique_id=c5e37ca3495045168f5d911c37ee2319
GET /api/v3/messages/
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 0,
    "next": null,
    "previous": null,
    "results": []
}