← Tools Reference

Mocean

Mocean integration (Communication, Marketing). Imported from open-connector.

API key5 toolshttps://rest.moceanapi.com/rest/2
GET
mocean_get_balance
Retrieve the current Mocean account balance.

/account/balance

GET
mocean_list_pricing
Retrieve Mocean account pricing for SMS, number lookup, or verify services.

/account/pricing

3 parameters
ParamTypeRequiredDescription
typestringoptionalMocean service type to retrieve pricing for.
mccstringoptionalMobile Country Code to filter pricing by destination.
mncstringoptionalMobile Network Code to filter pricing by operator.
GET
mocean_get_message_status
Retrieve the delivery status for a Mocean SMS message.

/report/message

1 parameter
ParamTypeRequiredDescription
messageIdstringrequiredMocean message ID returned by send_sms.
POST
mocean_lookup_number
Look up carrier information for a phone number through Mocean.

/nl

1 parameter
ParamTypeRequiredDescription
tostringrequiredPhone number to look up, including country code.
POST
mocean_send_sms
Send an SMS message through Mocean.

/sms

4 parameters
ParamTypeRequiredDescription
fromstringrequiredSMS sender ID shown to the recipient.
tostringrequiredRecipient phone number including country code.
textstringrequiredSMS message text to send to the recipient.
deliveryReportUrlstringoptionalCallback URL that Mocean should call with delivery report updates.