Integromat
  • Back to website
Articles in this section
  • Airtable
  • Bubble
  • Email (legacy)
  • Facebook Groups
  • Formstack
  • Google Cloud Vision
  • Google Sheets (legacy)
  • HTTP
  • JSON
  • Magento 2
See more
  1. Integromat Support
  2. Apps
  3. Docs

Mocean

Integromat Integromat Updated July 28, 2020 07:59

The Mocean modules enable you to send text messages, voice message, and get balance details in your Mocean account.

Getting Started with Mocean

Prerequisites

  • A Mocean account

In order to use Mocean with Integromat, it is necessary to have a Mocean account. If you do not have one, you can create a Mocean account at https://moceanapi.com/.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Mocean to Integromat

To connect your Mocean account to Integromat you need to obtain your Application Name and API Key from your Mocean account and insert it in the Create a connection dialog in the Integromat module.

1. Log in to your Mocean account.

2. In the Dashboard screen, copy the API Key and Secret Token to your clipboard.

mocean1.png

3. Go to Integromat and open the Mocean's module Create a connection dialog.

jmSmZoGevg.gif

5. In the Connection name field, enter a connection name.

6. In the API Key and API Secret fields, enter the API key and secret token copied in step 2 respectively.

7. Click Continue.

mocean2.png

The connection has been established.

Actions

Send a Text Message

Sends SMS to the selected number.

Connection Establish a connection to your Mocean account.
Sender Enter the sender's name that appears to the receiver when they receive the message.
Receiver Enter the phone number of the receiver to whom you want to the text message. You can add multiple phone numbers separated by a comma.
Message Enter the message content.

Send a Voice Message

Converts text to voice and send it to the selected receiver.

Connection Establish a connection to your Mocean account. 
Receiver Enter the recipient's number to whom you are sending the voice message.
Message Enter the voice-message content.
Language Select the language in which you want to send the voice message.

Get a Balance

Checks your account credit balance.

Connection Establish a connection to your Mocean account. 

Make an API Call

Performs an arbitrary authorized API call.

Connection Establish a connection to your Mocean account.
URL

Enter a path relative to https://rest.moceanapi.com/rest. For example,  /account/balance

For the list of available endpoints, refer to the Mocean API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

Query String Enter the request query string.
Body Enter the body content for your API call.

Example of Use - Get Account Balance

The following API call returns the account balance from your Mocean account:

URL:
/account/balance

Method:
GET

mocean2.png

The result can be found in the module's Output under Bundle > Body. 
In our example, the account balance of the current user is returned:

mocean1.png

Was this article helpful?
0 out of 0 found this helpful
Menu
  • Features
  • Apps & Services
  • Templates
  • Pricing
  • What's new
  • Use cases
Information
  • Terms,  Privacy
  • FAQ
  • Help & Tutorials
  • Community
  • Affiliate Program
  • Blog
Developers
  • Developer Platform
Company
  • About the company
  • Join our team
  • Contact
Follow us
© 2020 Integromat by Celonis. All rights reserved. Integromat® is a registered trademark.
  • English