Python / Django
The requests library, or a Django signal.
Developers⏱ 2 min
The requests library (or a Django post_save signal) gets you there in a handful of lines.
Python
import requests, os
requests.post(
"https://app.postlys.com/api/v1/contacts",
headers={"X-Api-Key": os.environ["POSTLYS_KEY"]},
json={"email": user.email, "name": user.get_full_name(), "list": "Customers"},
)
Ready to try it? Spin up a workspace and grab your key.