Send MMS using API

Integrate your application with Guni MMS API. Send MMS in less than 2 minutes using API.

Firstly you need API credentials to send MMS via API.

Go to Integration > Create APP token. Follow the instructions here.

 


Example request with Basic Authentication

curl --location 'https://api.gunisms.com.au/api/v1/gatewaymms' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9' \
--form 'media=@"https://cdn-fjknn.nitrocdn.com/yiKEFifquVjuhuuecEfDxUasfkEzQfJc/assets/images/optimized/rev-823a9b5/assets/images/header/logo.png"' \
--form 'message="MMS testttt"' \
--form 'sender="#SharedNum#"' \
--form 'subject="MMS subject"' \
--form 'contacts="[\"61481071500\"]"'

or

{
"sender": "#SharedNum#",
"message": "My Guni SMS",
"subject": "Test",
"contacts": [
"61405650337"
],
"media":"https://cdn-fjknn.nitrocdn.com/yiKEFifquVjuhuuecEfDxUasfkEzQfJc/assets/images/optimized/rev-823a9b5/assets/images/header/logo.png"
}

  • URL : https://api.gunisms.com.au/api/v1/gatewaymms
  • Authorization: Bearer 
  • Sender: Two options are available as a sender
    • #SharedNum#: Our system will assign numbers from a random number pool.  
    • Dedicated number:  You need to buy a virtual number from us. This is unique number used by your account. Your customers will get messages from the same number.
  • Media: Add media file URL Read instructions here for best practice.
    • Supported Media: TEXT/PLAIN, GIF/JPG/PNG, MP3/WAV, 3GP, MP4, MPEG, MPG, AVI, WMV.
  • Messages: Send your text message that you would like to add to MMS—maximum 1500 Characters.
  • Contacts: Add receipts numbers here in the list; you can add maximum of 5 contacts.
    • Allowed format: 614xxxxxxxx

 


 

Configure webhook for delivery reports and reply

Find instruction here