MinIO

MinIO is a high-performance, S3 compatible object store. It is built for large scale AI/ML, data lake and database workloads.

Integrate the MinIO API with the MyOTP.App API

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

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

Connect MinIO

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import * as Minio from 'minio'
export default defineComponent({
  props: {
    minio: {
      type: "app",
      app: "minio",
    }
  },
  async run({steps, $}) {
    const minioClient = new Minio.Client({
      endPoint: this.minio.$auth.endpoint,
      port: this.minio.$auth.port,
      useSSL: this.minio.$auth.use_ssl,
      accessKey: this.minio.$auth.access_key,
      secretKey: this.minio.$auth.access_secret,
    })
    
    const buckets = await minioClient.listBuckets()      
    return buckets;    
  },
})

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