SMS

Send an SMS/MMS — estimate

Price the request without executing it. Same body as POST /v1/messaging/sms/messages.

post/v1/messaging/sms/messages/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/sms/messages/estimate
  • Auth: HTTP bearer

Request body

tostring required

Recipient number (E.164).

fromstring required

One of your SMS-enabled numbers (E.164; formatting is normalized).

textstring

Message body. Required unless mediaUrls is set. Max 10 SMS segments (1530 GSM-7 or 670 unicode characters).

sendAtstring date-time

Optional. Schedule the send for a future time (ISO 8601 with offset, e.g. 2026-08-01T12:00:00Z). Must be in the future. The message is queued and the message.delivered webhook fires when it actually sends.

mediaUrlsstring[]

Public media URLs to attach (sends as MMS). Max 10.

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.