Create a key to copy examples filled with your team.
Custom headers
Add headers. Reserved names are ignored.
Pass headers as a JSON object on the send body. PostShiba copies each name and string value onto the composed mail. Blank values are dropped.
Reserved names
These names are ignored, case-insensitive. So are names that contain CR or LF.
fromtoccbccsubjectreply-tocontent-typemime-versionreturn-pathsenderreceived
send.json
1
{
2
"send": {
3
"from": "hello@mail.example.com",
4
"to": ["you@example.com"],
5
"subject": "PostShiba test",
6
"text": "hello from PostShiba",
7
"headers": {
8
"X-Campaign": "cmp_123"
9
}
10
}
11
}
Use unique args for fields that should come back on webhooks.
X-Capsule-Unique-Argsis stripped before the message leaves.