{ "message": "SMS sent successfully", "data": { "sms_id": "SMS_67890", "from": "+4912345678", "to": "+4915123456789", "body": "Hello! This is a test SMS from Famulor.", "segments": 1, "cost": 0.05, "currency": "EUR", "status": "sent" }}
This endpoint allows you to send SMS messages via your purchased phone numbers. The SMS is sent through Twilio, and the costs are automatically deducted from your account balance.
The sender phone number must belong to the authenticated user
The sender phone number must be SMS-capable
The phone number subscription must be active (not expired)
Sufficient account balance is required to cover SMS costs
Phone numbers are automatically formatted to E.164 format
SMS costs vary depending on the destination country and are charged per segment
Long messages can be split into multiple segments, increasing the cost
The recipient phone number must comply with international standards
Copy
curl -X POST "https://app.famulor.de/api/user/sms" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "from": 12345, "to": "+4915123456789", "body": "Hello! This is a test SMS from Famulor." }'
Copy
{ "message": "SMS sent successfully", "data": { "sms_id": "SMS_67890", "from": "+4912345678", "to": "+4915123456789", "body": "Hello! This is a test SMS from Famulor.", "segments": 1, "cost": 0.05, "currency": "EUR", "status": "sent" }}