Enable SMS on a number
Turns on SMS for one of your numbers. The number's real carrier capability is checked first: some number types can't do SMS at all (smsCapable: false), and a number still provisioning at the carrier returns notReady: true (try again once provisioning finishes).
US numbers additionally need a carrier registration before messages deliver; the response tells you which path applies:
- alreadyRegistered: true: a prior registration still covers this number; SMS was reactivated.
- reusable set: you have an approved registration this number can join in one click via POST /v1/phone-numbers/{id}/sms/reuse-registration (no new brand/campaign, no extra carrier fee).
- needsRegistration: true and no reusable: start one via POST /v1/sms/registrations.
Idempotent: re-running re-attempts any carrier-side setup that failed.
Billing: Request; paid actions are priced in credits (see GET /v1/messaging/prices) · Rate limit: 60/min
Request
- Base URL: https://apihub.co.il
- URL: https://apihub.co.il/v1/messaging/phone-numbers/{id}/sms
- Auth: HTTP bearer
Path parameters
Phone number record ID (from GET /v1/phone-numbers).
Headers
Replay-safe: the same execution is returned instead of charging twice
Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…
Response
Completed
Changes
No recorded changes to this operation across all 2 revisions of this API.