# Swiftcel > SMS that just works, in Kenya. Send an instant message, the same text to many people, or a personal message to each person from a template, through an HTTP API or an MCP server. Messages go out from one registered sender ID with the sender's name in front. Paid in advance by M-Pesa, KES 1 per SMS. Nobody is messaged until they agree. ## For agents and developers - [API documentation](https://swiftcel.com/developers): requests, responses, webhooks, in six languages - [OpenAPI document](https://swiftcel.com/api/v1/openapi.json): the API as a machine-readable description - [MCP server](https://swiftcel.com/developers#agents): `POST https://swiftcel.com/mcp`, Bearer API key, tools get_account, quote_send, send_message, get_send, list_sends, quote_reminder, create_reminder, get_reminder ## Essentials - Base URL: https://swiftcel.com/api/v1, `Authorization: Bearer uw_live_...` (or `uw_test_...`, which sends and charges nothing). - POST /sends (needs an `Idempotency-Key` header), POST /sends/quote, GET /sends/{id}. - Reminders for a date: POST /reminders (needs an `Idempotency-Key`), POST /reminders/quote, GET /reminders/{id}, DELETE /reminders/{id}. - Messages cannot contain links, payment requests or offers. People who have not agreed to hear from the sender get one invitation (KES 1) and the message waits for their answer. - Live keys made for agents start with a daily cap of KES 50, 10 people per send and KES 25 an hour. ## Error codes - unauthorized (401): Missing, wrong or revoked key. - key_expired (401): The key's expiry date has passed. Create a new key. - idempotency_key_required (400): Send an Idempotency-Key header. - invalid_idempotency_key (400): Use 1 to 64 letters, digits and - _ : . - insufficient_balance (402): The wallet does not cover the reminder. Top up and retry. - sender_phone_not_verified (403): Verify your own number first. - sender_name_required (403): Messages go out under your name and you have none verified. Pay once by M-Pesa from your number. - sender_name_pending (403): Your name looks like a bank, a network or an organization: a person has to approve it first. - organization_not_verified (403): An organization must be verified (a work email or an approval) before it can send messages. - ip_not_allowed (403): The key is limited to other addresses. - read_only_key (403): A read-only key cannot create or cancel reminders. - not_found (404): No such reminder on your account. - not_cancellable (409): A reminder that has finished cannot be cancelled. - request_in_progress (409): Another request with this key is still being processed. Retry shortly. - idempotency_key_reused (422): That key was already used for a different request. Use a new key. - invalid_request (422): A field is missing or the wrong type. See details. - invalid_phone (422): recipient_phone is not a Kenyan number. - credits_too_low (422): credits_kes is less than the plan costs (the invitation, if any, plus one KES per reminder). Raise it or ask for fewer reminders. - batch_too_large (422): A batch holds at most 50 reminders. - nothing_to_schedule (422): Every reminder for that date would be in the past. - content_not_allowed (422): The message to someone else has a link, a payment request, a confirmation lookalike or an offer. - key_unavailable (422): The key that sent a held batch was revoked before a person approved it. - recipient_suppressed (422): The number has asked not to receive messages. - no_recipients (422): recipients has nobody who can be messaged. - too_many_recipients (422): A send holds at most 200 people (2,000 for an organization). details.max says. - message_too_long (422): The message, with your name in front, does not fit one SMS (160 characters). - invalid_template (422): The template has no {blanks}, too many (6 at most), a bad name or a stray brace. - nobody_to_send_to (422): Nobody on the list can be messaged now. details.left_out says why for each. - delivery_risk_not_acknowledged (422): Earlier texts to this number failed; send acknowledge_delivery_risk: true. - too_many_reminders (422): You have reached the limit of active reminders. - too_many_people (422): A key made for an AI agent sends to at most 10 people at a time by default. details.max says. Raise it when you make the key. - invite_limit (429): A daily or per-recipient invitation limit was reached. - key_spend_cap_reached (429): The key's daily spending cap is reached. - hourly_cap_reached (429): A key made for an AI agent may spend at most KES 25 an hour. Try again later. - rate_limited (429): Too many requests. See the Retry-After header. ## Optional - [Terms](https://swiftcel.com/terms) - [Privacy](https://swiftcel.com/privacy)