Create a key to copy examples filled with your team.

Send emails with Python

POST /sends with the requests library.

POST /sends with requests. PostShiba has no official package.

send.py
1 import requests
2
3 response = requests.post(
4 "https://postshiba.com/api/v1/teams/1/clusters/4/sends",
5 headers={"Authorization": "Bearer YOUR_API_KEY"},
6 json={
7 "send": {
8 "from": "hello@mail.example.com",
9 "to": ["you@example.com"],
10 "subject": "PostShiba test",
11 "text": "hello from PostShiba",
12 "html": "<p>hello from PostShiba</p>",
13 "unique_args": {"campaign_id": "cmp_123", "site": "docs"},
14 }
15 },
16 )
17 print(response.json())

About

PostShiba is the transactional email platform that powers Bento behind the scenes. You can build your own products, like Bento, on top of it.

Product

© 2026 PostShiba by Backpack Internet Pty. Ltd. All rights reserved.

The same policies that govern Bento are applied to PostShiba Privacy | Terms | Security