Wire2Air

Mobile Marketing | SMS Gateway, Mobile Marketing, Dedicated shortcode, Bulk SMS, 2 Way API

Go to site
Explore
/
Apps
/
Wire2Air

Wire2Air API Integrations

Build and run workflows using the Wire2Air API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    wire2air: {
      type: "app",
      app: "wire2air",
    }
  },
  async run({steps, $}) {
    const data = {
      "To": `{your_to_number}`,
      "From": `${this.wire2air.$auth.short_code_number}`,
      "Text": `{your_message_text}`,
    }
    return await axios($, {
      method: "post",
      url: `https://msgapi.wire2air.com/rest/v1/message/`,
      headers: {
        "apikey": `${this.wire2air.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Authentication

Wire2Air uses API keys for authentication. When you connect your Wire2Air account, Pipedream securely stores the keys so you can easily authenticate to Wire2Air APIs in both code and no-code steps.

To retrieve your API credentials,

  • Navigate to your Wire2Air account and sign in
  • Go to “Integrations” > “API Access”

Now, to get your API Key

  • Go to the “API Keys” tab

Finally, to get your Short Code Number

  • Go to the “Legacy API” tab