MoceanAPI

FREE
By donald544.mocean
Updated a month ago
-/10
Popularity Score
-
Latency
-
Success Rate

MoceanAPI API Documentation

MoceanAPI makes sending SMS and 2FA verification easy.

View API Details
SMS API
POSTSend SMS
Verify API
POSTSend Code
POSTVerify Code
Query API
GETGet Balance
GETAccount Pricing
GETMessage Status
POSTSend SMS

Send an outbound SMS

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
mocean-api-keySTRING
REQUIREDYour account API key.
mocean-api-secretSTRING
REQUIREDYour account API secret.
mocean-fromSTRING
REQUIREDSMS Sender Name
mocean-toNUMBER
REQUIREDPhone number of the receiver. Note: phone number must include country code prefix.
mocean-textSTRING
REQUIREDContents of the message, URL encoded as necessary.
Optional Parameters
mocean-resp-formatSTRING
OPTIONALBy default, response will be returned in XML format. Change value to `json` to get responses in json format.
Code Snippet
Install SDK
Response Body
<?xml version="1.0"?><result><message><status>0</status><receiver>60168308600</receiver><msgid>CPASS_restapi_C0725184746813621.0002</msgid></message></result>

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication