PluginPlugin planned for launch

Add SMS sending to any WordPress site.

The Sendimo plugin for WordPress, planned for launch, will send SMS from your forms and events with no code. Today, WordPress's own wp_remote_post is all you need to call the API.

What it does

  • SMS when a contact or sign-up form is submitted.
  • OTP codes to verify a phone number.
  • SMS alert to your team for every new lead.
  • No HTTP plugin needed: wp_remote_post ships with WordPress.

Setup

  1. 1Add your API key to wp-config.php (SENDIMO_API_KEY constant).
  2. 2Call wp_remote_post from your theme or plugin.
  3. 3Check for a 202 response and log errors.
  4. 4At launch, switch to the Sendimo plugin to configure everything from the admin.
ConfigurationPHP
// wp-config.php
define( 'SENDIMO_API_KEY', 'sk_live_...' );
Send an SMSPHP
$response = wp_remote_post( 'https://api.sendimo.tn/v1/messages', [
    'headers' => [
        'Authorization'   => 'Bearer ' . SENDIMO_API_KEY,
        'Content-Type'    => 'application/json',
        'Idempotency-Key' => 'contact-' . $entry_id,
    ],
    'body'    => wp_json_encode( [
        'to'   => $phone,
        'from' => 'SENDIMO',
        'text' => 'Thanks, we'll call you back shortly.',
    ] ),
    'timeout' => 10,
] );

if ( 202 !== wp_remote_retrieve_response_code( $response ) ) {
    error_log( wp_remote_retrieve_body( $response ) ); // { "error": { "code": ... } }
}
Response 202 AcceptedJSON
{
  "id": "msg_01HF8Z3K9QX2",
  "status": "queued",
  "to": "+21620123456",
  "from": "SENDIMO",
  "text": "Your code is 482913. It expires in 5 minutes.",
  "encoding": "GSM-7",
  "segments": 1,
  "network": "ooredoo",
  "cost": { "amount": "0.140", "currency": "TND" },
  "reference": "order-4821",
  "scheduled_at": null,
  "created_at": "2026-10-30T09:15:00Z"
}

Next steps

Other integrations

Ready to send your SMS?

Launching soon in Tunisia. Join early access.