SIMcloud SMS API
The SMS API from SIMcloud — 1 operation(s) for sms.
The SMS API from SIMcloud — 1 operation(s) for sms.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/simcloud-co-za:simcloud-co-za-sms-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SIMcloud SMS API
version: 1.0.0
description: Token-authenticated SIMcloud REST API. Use HTTPS over IPv4 and send amounts in rand (ZAR). Poll accepted orders by their returned identifier. Reconcile ambiguous POST outcomes before resubmitting. See the API conventions for polling, timeouts and retries.
servers:
- url: https://simcloud.co.za
security:
- bearerAuth: []
tags:
- name: SMS
paths:
/api/sms.php:
post:
tags:
- SMS
summary: Queue an SMS
operationId: sendSms
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- recipient
- message
properties:
recipient:
$ref: '#/components/schemas/MobileNumber'
message:
type: string
minLength: 1
maxLength: 459
example: Hello World!
responses:
'200':
description: SMS queued.
content:
application/json:
schema:
$ref: '#/components/schemas/SmsQueued'
'400':
description: Invalid request or wallet balance of R1 or less.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
description: Unable to confirm the queued SMS. If code is confirmation_pending, query the returned sms_id. Otherwise check SMS history before resubmitting.
content:
application/json:
schema:
$ref: '#/components/schemas/SmsQueueError'
'503':
$ref: '#/components/responses/Unavailable'
externalDocs:
url: https://simcloud.co.za/api/sms.html
get:
tags:
- SMS
summary: Query SMS status
operationId: getSmsStatus
parameters:
- name: sms_id
in: query
required: true
description: Identifier returned by POST.
schema:
type: integer
minimum: 1
responses:
'200':
description: SMS delivery status.
content:
application/json:
schema:
$ref: '#/components/schemas/SmsStatus'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
description: SMS not found for this account.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
$ref: '#/components/responses/Unavailable'
externalDocs:
url: https://simcloud.co.za/api/sms.html
description: The first 15 seconds after creation report queued. Delivered and failed are final.
components:
schemas:
Error:
type: object
required:
- status
- message
properties:
status:
type: string
enum:
- error
message:
type: string
SmsQueueError:
allOf:
- $ref: '#/components/schemas/Error'
- type: object
properties:
code:
type: string
enum:
- confirmation_pending
sms_id:
type: string
pattern: ^[0-9]+$
SmsQueued:
type: object
required:
- status
- message
- sms_id
- sms_count
- timestamp
properties:
status:
type: string
enum:
- success
message:
type: string
sms_id:
type: string
pattern: ^[0-9]+$
sms_count:
type: integer
minimum: 1
maximum: 3
timestamp:
$ref: '#/components/schemas/LocalTimestamp'
MobileNumber:
type: string
pattern: ^(?:0|\+27|27)?[0-9]{9}$
description: South African mobile number. Prefer +27 followed by nine digits. Encode + as %2B in query parameters.
example: '+27821234567'
SmsId:
description: SMS identifier. POST returns a decimal string. GET may serialize it as an integer.
oneOf:
- type: integer
minimum: 1
- type: string
pattern: ^[0-9]+$
LocalTimestamp:
type: string
description: Local timestamp in Africa/Johannesburg, using YYYY-MM-DD HH:MM:SS.
example: '2026-07-29 09:31:20'
SmsStatus:
type: object
required:
- sms_id
- status
properties:
sms_id:
$ref: '#/components/schemas/SmsId'
status:
type: string
enum:
- queued
- pending
- sent
- failed
- delivered
- staged
- unknown
responses:
BadRequest:
description: Missing or invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid Bearer token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unavailable:
description: API temporarily unavailable. Honour Retry-After when present.
headers:
Retry-After:
description: Suggested delay in seconds before retrying a read request.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API Token