Mocean API

Mocean is a communication platform that provides an API and SDK for software developers to programmatically send and receive SMS worldwide, and perform other communication functions.

Integrate the Mocean API API with the Microsoft Teams API

Setup the Mocean API API trigger to run a workflow which integrates with the Microsoft Teams API. Pipedream's integration platform allows you to integrate Mocean API and Microsoft Teams remarkably fast. Free for developers.

Create Channel with Microsoft Teams API on Balance Updated from Mocean API API
Mocean API + Microsoft Teams
 
Try it
Get Balance with Mocean API API on New Channel from Microsoft Teams API
Microsoft Teams + Mocean API
 
Try it
Get Balance with Mocean API API on New Channel Message from Microsoft Teams API
Microsoft Teams + Mocean API
 
Try it
Get Balance with Mocean API API on New Chat from Microsoft Teams API
Microsoft Teams + Mocean API
 
Try it
Get Balance with Mocean API API on New Chat Message from Microsoft Teams API
Microsoft Teams + Mocean API
 
Try it
Balance Updated from the Mocean API API

Emit new event when the account balance has been updated. See the documentation

 
Try it
New Channel from the Microsoft Teams API

Emit new event when a new channel is created within a team

 
Try it
New Channel Message from the Microsoft Teams API

Emit new event when a new message is posted in a channel

 
Try it
New Chat from the Microsoft Teams API

Emit new event when a new chat is created

 
Try it
New Chat Message from the Microsoft Teams API

Emit new event when a new message is received in a chat

 
Try it
Create Channel with the Microsoft Teams API

Create a new channel in Microsoft Teams. See the docs here

 
Try it
Get Balance with the Mocean API API

Retrieve your current account balance with Mocean API. See the documentation

 
Try it
List Channels with the Microsoft Teams API

Lists all channels in a Microsoft Team. See the docs here

 
Try it
Send SMS with the Mocean API API

Send an outbound SMS from your Mocean account. See the documentation

 
Try it
List Shifts with the Microsoft Teams API

Get the list of shift instances for a team. See the documentation

 
Try it

Overview of Mocean API

The Mocean API provides tools for sending SMS and making voice calls, enabling you to integrate communication features into your applications or workflows seamlessly. With MoceanAPI on Pipedream, you can automate sending notifications, create alert systems, or even implement two-factor authentication (2FA). It interacts with other apps and services to craft powerful, event-driven automation.

Connect Mocean API

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    mocean_api: {
      type: "app",
      app: "mocean_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://rest.moceanapi.com/rest/2/account/balance`,
      params: {
        "mocean-api-key": `${this.mocean_api.$auth.api_key}`,
        "mocean-api-secret": `${this.mocean_api.$auth.api_secret}`,
      },
    })
  },
})

Overview of Microsoft Teams

The Microsoft Teams API on Pipedream allows you to automate tasks, streamline communication, and integrate with other services to enhance the functionality of Teams as a collaboration hub. With this API, you can send messages to channels, orchestrate complex workflows based on Teams events, and manage Teams' settings programmatically.

Connect Microsoft Teams

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    microsoft_teams: {
      type: "app",
      app: "microsoft_teams",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://graph.microsoft.com/v1.0/me`,
      headers: {
        Authorization: `Bearer ${this.microsoft_teams.$auth.oauth_access_token}`,
      },
    })
  },
})