Speko Docs

SMS

Send, schedule, batch, and manage compliant SMS with Python.

Sync and async clients expose matching resources under sms:

message = speko.sms.messages.send(
    {
        "from_phone_number_id": "8f0e9a96-...",
        "to": "+12025550123",
        "text": "Acme: your appointment is confirmed.",
        "recipient_timezone": "America/New_York",
    },
    idempotency_key="appointment-982-confirmation",
)

Use messages, batches, conversations, consents, suppressions, and settings for the complete REST surface. speko.sms.stream() yields typed live events; AsyncSpeko exposes the same methods as coroutines and an async event iterator.