The HTTP API is how emails are sent from Continuous Integration environments.
POST /api/notify
Parameters
name
type
required
to
string
true
subject
string
true
body
string
false
attachments
array
false
Attachments
name
type
required
description
type
string
true
The content’s MIME type
content
string
true
The Base64 encoded content of the attachment
filename
string
true
The attachment’s filename
Example
application/x-www-form-urlencoded
curl --request POST 'https://www.cinotify.cc/api/notify'\-d"to=example@example.com&subject=building main&body=hello.&attachments[][type]=text/plain&attachments[][content]=aGVsbG8sIHdvcmxkIQ==&attachments[][filename]=hello.txt"