Create a key to copy examples filled with your team.
Attachments
Base64 attachments on the REST send API.
Add files on POST /api/v1/teams/:team_id/clusters/:cluster_id/sends. Each item needs a filename and base64 content. PostShiba decodes the bytes and attaches them to the composed mail.
Fields
| Field | Description |
|---|---|
filename |
Required. Skipped when blank. |
content_type |
Optional. Defaults to application/octet-stream. |
content |
Base64 payload. |
send.json
1
{
2
"send": {
3
"from": "hello@mail.example.com",
4
"to": ["you@example.com"],
5
"subject": "PostShiba test",
6
"text": "see attached",
7
"attachments": [
8
{
9
"filename": "note.txt",
10
"content_type": "text/plain",
11
"content": "aGVsbG8="
12
}
13
]
14
}
15
}
The cluster test-send form accepts file uploads. The dashboard base64-encodes them into the same attachments array.
Each part is a named attachment. There is no inline CID image field.