Send direct SMS
trumpia_send_smsWRITE, SENDS A REAL TEXT that spends a credit and cannot be recalled: one SMS to one mobile number without adding the contact first. The recipient must have consented; Trumpia may require API Certification for contacts that have not opted in. Confirm number and text with the user first. Returns request_id and sms_id. PUT /sms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | No | Short/long code or registered landline to send from (default: the account's code). | |
| message | Yes | The text (the SMS header and footer count toward the length). | |
| org_name_id | No | Organization name id (default organization name if omitted). | |
| country_code | No | Country code (default 1). 0 = infer it from the number, which then must start with +. | |
| mobile_number | Yes | US: the 10-digit number without leading 0 or 1. With country_code 0 the number must be E.164 with a leading +, e.g. +17774443210. |