Mocean
SMS, voice and SMS verification with the Mocean API
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Mocean API tokenSecretRequired
Where to find them
- Log in at dashboard.moceanapi.com (create an account if you do not have one).
- Go to “API Account” → “Generate Token”.
- Copy the token right away: it is shown only once. Mocean works with a prepaid balance and sending SMS uses it.
Tools (1)
Mocean API request
MOCEAN_SEND_REQUESTAuthenticated call to the Mocean API (https://rest.moceanapi.com/rest/2). Any endpoint of the API is allowed. Examples: GET /account/balance, GET /account/pricing, POST /sms with form data {"mocean-from": "MyBrand", "mocean-to": "34600111222", "mocean-text": "…"} (uses balance), GET /report/message?mocean-msgid=… (status of an SMS), POST /verify/req/sms with form data {"mocean-to": "…", "mocean-brand": "MyBrand"}.
Required scopes
No scopes required
Input
Mocean API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

