Skip to main content
Mocean logo
  • Category: phone & sms
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 6
  • Triggers: 0
  • Slug: MOCEAN
  • Version: 20261101_00

Tools

Slug: MOCEAN_QUERY_MESSAGE_STATUS_V2Query an outbound SMS message’s delivery status by message ID. The request requires an API key and secret; non-JSON responses, including XML, are returned as error payloads.

Input Parameters

string
required
Message ID returned when the SMS was submitted
string
required
Your Mocean API key.
string
required
Your Mocean API secret.
string ("JSON" | "XML")
Response format. Supported: JSON, XML. Defaults to JSON.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MOCEAN_VOICE_DIAL_V2Tool to initiate an outbound voice call via Mocean API. Use when you need to place a call with a defined command flow.

Input Parameters

string
required
Recipient phone number(s) in international format without ’+’; separate multiple numbers with space or comma.
string
Caller ID (originating number).
string
required
JSON-encoded array defining the call flow (e.g., play, say, collect, dial).
string
Webhook URL to receive call status events.
string
Response format. Only JSON is supported.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MOCEAN_VOICE_DOWNLOAD_RECORDING_V2Download a call recording by call UUID. The returned file can contain an API error response rather than recording audio.

Input Parameters

string
required
Call UUID of the recording to download.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MOCEAN_VOICE_HANGUP_V2Request hangup of an active voice call by call UUID. The request requires an API key and secret.

Input Parameters

string
required
Your Mocean API key.
string
required
The call UUID of the active call to hang up.
string
required
Your Mocean API secret.
string ("xml" | "json")
Response format; xml or json (default json).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MOCEAN_WHATSAPP_INCOMING_WEBHOOK_V2Validate and return a supplied incoming WhatsApp message webhook payload using the supported message schema. The returned payload contains only modeled fields.

Input Parameters

object
required
Complete detail payload of the incoming WhatsApp message
string
required
Type of the event, must be ‘message’
string
required
Identifier for the incoming message

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MOCEAN_WHATS_APP_SEND_MESSAGE_V2Send a WhatsApp message via Mocean, including text, media, template, reaction, or interactive content. Only templates can be sent to customers who have never messaged you or have not messaged you in the last 24 hours.

Input Parameters

string
required
Destination WhatsApp number, with country code.
string
required
Registered WhatsApp Business sender number, with country code (e.g., 60123456789).
object
required
Content object of the message (e.g., text, media, template, reaction, interactive).
string
Optional webhook URL for delivery events.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not