What do you want to automate

with CommCare and MyOTP.App?

Prompt, edit and deploy AI agents that connect to CommCare, MyOTP.App and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Send OTP with the MyOTP.App API

Generate a One Time Password (OTP) and send it to the specified phone number. See the documentation

 
Try it
Verify OTP with the MyOTP.App API

Validate the OTP for successful verification. See the documentation

 
Try it
Integrate the CommCare API with the MyOTP.App API
Setup the CommCare API trigger to run a workflow which integrates with the MyOTP.App API. Pipedream's integration platform allows you to integrate CommCare and MyOTP.App remarkably fast. Free for developers.

Overview of CommCare

The CommCare API provides programmatic access to CommCareHQ data, allowing developers to build powerful automations and integrations. With this API, you can retrieve and update data such as forms, cases, and users. These capabilities enable you to streamline workflows, synchronize datasets across platforms, and extend CommCare's functionality.

Connect CommCare

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: {
    commcare: {
      type: "app",
      app: "commcare",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.commcarehq.org/api/v0.5/identity/`,
      headers: {
        "Authorization": `ApiKey ${this.commcare.$auth.email}:${this.commcare.$auth.api_key} `,
      },
    })
  },
})

Connect MyOTP.App

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    myotp_app: {
      type: "app",
      app: "myotp_app",
    }
  },
  async run({steps, $}) {
    const data = {
      "phone_number": this.myotp_app.$auth.phone_number,
    }
    return await axios($, {
      method: "post",
      url: `https://api.myotp.app/generate_otp`, 
      headers: {
        "X-API-Key": `${this.myotp_app.$auth.api_key}`,
      },
      data,
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo