web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Integrate SMS API into...
Power Automate
Unanswered

Integrate SMS API into Custom Connector

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi folks,

 

im new to the Custom Connector and have only the basic knowledge in programming.

 

i want to integrate the SMS API to Custom Connector to allow it to do meaningful work in Flows.

 

I know that the API works, as i was able to call it via Postman Chrome extension, and receive SMS on my phone.

 

But I'm stuck and have hit a brick wall with the integration and i need someone to advise or tell me how far off im at.

 

 

 

Im using API ID 125000002 and vendor advise me basic authentication.

 

intuitively, i tried to supply the information using 'Import From Sample' with the JSON body below.

 

Validation and the code did not throw any errors at this point.

 

But im stuck at Stage 4: Test Stage, after i create a 'New Connection', and signed using my API ID and password

 

after that, i "Updated Connector' and did a test by populating the fields.

 

i tried so many different combinations but nothing happens.

 

The response code 01011 tells me there is:

Invalid request format; check request format definition (e.g.
parameter names, the length of the values you are passing
into the parameters, the type of values such as
numeric/alphabet).

 

m_salihin_0-1612763663081.png

m_salihin_2-1612764054165.png

 

m_salihin_3-1612764792741.png

 

 

Swagger Code:

m_salihin_4-1612764989513.png

 

swagger: '2.0'
info: {title: SMS Gateway, description: SATS SMS Gateway, version: '1.0'}
host: www.commzgate.net
basePath: /
schemes: [https]
consumes: []
produces: []
paths:
/gateway/SendMsg:
post:
responses:
default:
description: default
schema: {}
summary: Send SMS to user
description: Send SMS to user
operationId: Send_sms
parameters:
- name: body
in: body
required: false
schema:
type: object
properties:
ID: {type: string, description: ID}
Password: {type: string, description: Password}
Type: {type: string, description: Type}
Message: {type: string, description: Message}
Mobile: {type: string, description: Mobile}
definitions: {}
parameters: {}
responses: {}
securityDefinitions:
basic_auth: {type: basic}
security:
- basic_auth: []
tags: []

 

 

 

 

Categories:
I have the same question (0)
  • cikonjk Profile Picture
    2 on at

    SMSala is a cloud-based communication platform that performs communication functions using its APIs. SMSala Bulk SMS Provider lets you receive SMS, MMS, WhatsApp, Voice messages or even respond to the messages and many more services.

  • Hidayat_Md Profile Picture
    54 on at

    Hello, 
    I was able to crack it.
    We need to sent a HTTP request instead of API.

     

    1. Initialize variable for 4 components.

    * varID (API ID).

    *varPasswordID (API Password)

    *varMobile (The receipient mobile number)

    *varMessage (the message you want to deliver)

     

    2. Create a HTTP action with POST request and enter the following in URL:

     

    https://www.commzgate.net/gateway/SendMsg?ID=@{variables('varID')}&Password=@{variables('varPasswordID')}&Mobile=@{variables('varMobile')}&Type=AUTO&Message=@{variables('varMessage')}

     

     

     

    Capture.PNG

     

    Regards

    Hidayat

     

  • David Lime Profile Picture
    21 on at

    To integrate an SMS API into a custom connector, follow these steps:

    1. Choose an SMS API: Select an SMS API provider and sign up for an account. Make sure the API has a well-documented API for sending SMS messages.

    2. Get API credentials: Get the API key or authentication credentials from the API provider to be able to make requests to the API.

    3. Create the custom connector: Use a platform such as Microsoft Power Automate or Zapier to create a custom connector. Follow the platform's instructions to create a new connector and enter the API credentials.

    4. Define the API endpoint: Define the endpoint for sending SMS messages in the custom connector. This is typically a URL that you can get from the API provider's documentation.

    5. Test the connector: Test the custom connector by sending an SMS message to a phone number. Make sure the message is delivered successfully.

    6. Use the custom connector: Once the connector is working as expected, you can use it in your workflows and automation to send SMS messages.

    Note: The specific steps may vary depending on the platform and SMS API provider you use.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard