ClickSend REST API v3
  1. MMS
ClickSend REST API v3
  • Account
    • Get account
      GET
    • Create a new account
      POST
    • Update Account
      PUT
    • Send account activation token
      PUT
    • Verify new account
      PUT
    • Account Usage
      GET
  • Automation Rules
    • List Rules
      GET
    • Create a New Rule
      POST
    • Delete a Rule
      DELETE
    • Get a Specific Rule
      GET
    • Update a Rule
      PUT
    • List rules
      GET
    • Create a new rule
      POST
    • Delete a rule
      DELETE
    • Get a specific rule
      GET
    • Update a rule
      PUT
    • List Rules
      GET
    • Create a New Rule
      POST
    • Delete a Rule
      DELETE
    • Get a Specific Rule
      GET
    • Update a Rule
      PUT
    • List rules
      GET
    • Create a new rule
      POST
    • Delete a rule
      DELETE
    • Get a specific rule
      GET
    • Update a rule
      PUT
    • List rules
      GET
    • Create a new rule
      POST
    • Delete a rule
      DELETE
    • Get a specific rule
      GET
    • Update a rule
      PUT
    • List rules
      GET
    • Create a new rule
      POST
    • Delete a rule
      DELETE
    • Get a specific rule
      GET
    • Update a rule
      PUT
  • Contact Suggestions
    • List Contact Suggestions
  • Countries
    • Get all Countries
  • Delivery Issues
    • Get Delivery Issues
    • Create Delivery Issue
  • Email Marketing
    • Get All Email Campaigns
    • Calculate Price
    • Create Email Campaign
    • Get Specific Email Campaign History
    • Get Specific Email Campaign
    • Update Email Campaign
    • Cancel Email Campaign
    • Send Verification Token
    • Verify Allowed Email Address
    • Get All Allowed Email Addresses
    • Create Allowed Email Address
    • Delete Allowed Email Address
    • Get Specific Allowed Email Address
    • Get All Master Email Templates
    • Get All Master Template Categories
    • Get Specific Email Template Category
    • Get All Templates For Category
    • Get Specific Master Template
    • Get All Email Templates
    • Create New Email Template from Master Template
    • Upload Image to Specific Template
    • Delete Email Template
    • Get Specific Email Template
    • Update an Email Template
  • Transactional Email
    • Email History
    • Export History
    • Email Price
    • Add a Test Delivery Receipt
    • Email Send
  • Fax
    • Export Fax History
    • Get Fax History
    • Calculate Price
    • List of Fax Delivery Receipts
    • Add a Test Delivery Receipt
    • Mark Fax Delivery Receipts as read
    • Get a Specific Fax Delivery Receipt
    • Send Fax
  • Forgot Account
    • Forgot Password
    • Verify Forgot Password
    • Forgot Username
  • Contact Lists
    • Get all Contact Lists
    • Create a new contact list
    • Delete a specific contact list
    • Get a specific contact list
    • Update a specific contact list
    • Export Contacts List
    • Import Contacts to List
    • Show CSV Import File Preview
    • Get List of Acceptable Import Fields
    • Remove Duplicate Contacts
  • Contacts
    • Transfer a Contact
    • Get all Contacts in a List
    • Create a new contact
    • Delete a specific contact
    • Get a specific contact
    • Update a specific contact
    • Remove Opted Out Contacts
  • MMS
    • Cancel All MMS
      PUT
    • Export MMS History
      GET
    • Get MMS History
      GET
    • Get Price
      POST
    • Get all Delivery Receipts
      GET
    • Mark Receipts As Read
      PUT
    • Get Delivery Receipt
      GET
    • Send MMS
      POST
    • Cancel MMS
      PUT
  • Numbers
    • Get all Dedicated Numbers
    • Buy dedicated number
    • Search Dedicated Numbers by Country
  • Post Direct Mail
    • List Direct Mail Campaigns
    • Calculate Direct Mail Campaign Price
    • Create New Campaign
    • Search Locations
  • Post Address Detection
    • Detect Address
  • Post Letter
    • Get Post Letter History
    • Export Post Letter History
    • Calculate Price
    • Send Post Letter
    • Get List of Post Return Addresses
    • Create a Post Return Address
    • Delete Post Return Address
    • Get Post Return Address
    • Update Post Return Address
  • Postcards
    • Export Postcard History
    • Get Postcard History
    • Calculate Pricing
    • Send Postcard
  • Pricing
    • Get Country Pricing
  • Account Recharge
    • Get Credit Card info
    • Update Credit Card info
    • List of Packages
    • Purchase a Package
    • Get Transactions
    • Get a specific transaction
  • Referral Accounts
    • Get List of Referral Accounts
  • Reseller
    • Get Reseller Setting
    • Update Reseller Setting
    • Reseller By Subdomain
  • Reseller Accounts
    • List of Reseller Accounts
    • Create Reseller Account
    • Create Reseller Account - Public
    • Get Reseller Account
    • Update Reseller Account
    • Transfer Credit
  • SDK
    • SDK Download
  • Search
    • Search Contacts-Lists
  • SMS Campaigns
    • Get list of SMS Campaigns
    • Calculate Price for SMS Campaign
    • Use Short URL
    • Link Tracking Export
    • Link Statistics
    • Link Tracking
    • Get SMS Campaign
    • Update an SMS Campaign
    • Cancel an SMS Campaign
  • SMS
    • Cancel all Scheduled Messages
    • Export SMS History
    • Get all History
    • Get all Inbound SMS - Pull
    • Add a Test Inbound SMS
    • Mark all Inbound SMS as read
    • Mark a specific Inbound SMS as read
    • Get Specific Inbound - Pull
    • Calculate Price
    • Get all Delivery Receipts
    • Add a Test Delivery Receipt
    • Mark Delivery Receipts as read
    • Get a Specific Delivery Receipt
    • Send an SMS
    • Cancel a Scheduled Message
  • Email-to-SMS Allowed Address
    • List of Email-to-SMS Allowed Address
    • Create Email to SMS Allowed Address
    • Delete Email-to-SMS Allowed Address
    • Get specific Email-to-SMS Allowed Address
    • Update Email-to-SMS Allowed Address
  • Email-to-SMS Stripped Strings
    • List Stripped Strings
    • Create Stripped String
    • Delete Stripped String
    • Find Specific Stripped String
    • Update Stripped String
  • SMS Templates
    • List of Templates
    • Create a Template
    • Delete a Template
    • Update a Template
  • Statistics
    • Get SMS Statistics
    • Get Voice Statistics
  • Subaccounts
    • Get all Subaccounts
    • Create a new subaccount
    • Delete a specific subaccount
    • Get a specific subaccount
    • Update a specific subaccount
    • Regenerate API Key
  • Timezones
    • Get Timezones
  • Uploads
    • Upload a file
  • Voice
    • Cancel all Voice Calls
    • Export Voice History
    • Get Voice History
    • Voice Languages
    • Calculate Price
    • Get Voice receipts
    • Add a Test Delivery Receipt
    • Marked Voice Receipts as Read
    • Get Specific Voice Receipt
    • Send a Voice Call
    • Cancel a Specific Voice Call
  1. MMS

Send MMS

POST
/mms/send
MMS
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://rest.clicksend.com/v3/mms/send' \
--header 'Content-Type: application/json' \
--data-raw '{
    "media_file": "http://yourdomain.com/tpLaX6A.gif",
    "messages": [
        {
            "body": "This is a test body with special character: 英",
            "country": "AU",
            "from": "test",
            "source": "php",
            "subject": "This is a subject",
            "to": "+61437111222"
        }
    ]
}'
Response Response Example
{
    "data": {
        "_currency": {
            "currency_name_long": "Australian Dollars",
            "currency_name_short": "AUD",
            "currency_prefix_c": "c",
            "currency_prefix_d": "$"
        },
        "messages": [
            {
                "_media_file_url": "https://yourdomain.com/tpLaX6A.gif",
                "body": "John This is a test message.",
                "contact_id": 4,
                "country": "AU",
                "custom_string": "",
                "from": "+61298444213",
                "list_id": 429,
                "message_id": "D7A79BF1-4806-43F8-8339-6B9F8385D9A4",
                "message_parts": 1,
                "message_price": "2.4200",
                "schedule": "",
                "status": "SUCCESS",
                "subject": "This is a subject",
                "to": "+61298444214"
            },
            {
                "_media_file_url": "http://yourdomain.com/tpLaX6A.gif",
                "body": "John This is a test message.",
                "contact_id": 5,
                "country": "AU",
                "custom_string": "",
                "from": "+61298444213",
                "list_id": 429,
                "message_id": "73034A6D-4F90-4DE3-9F9B-64F228A30195",
                "message_parts": 1,
                "message_price": "2.4200",
                "schedule": "",
                "status": "SUCCESS",
                "subject": "This is a subject",
                "to": "+61298444214"
            },
            {
                "_media_file_url": "http://yourdomain.com/tpLaX6A.gif",
                "body": "John This is a test message.",
                "contact_id": 6,
                "country": "AU",
                "custom_string": "",
                "from": "+61298444213",
                "list_id": 429,
                "message_id": "A1E139C1-3CB0-42C8-A8EC-070BE5FE2D06",
                "message_parts": 1,
                "message_price": "2.4200",
                "schedule": "",
                "status": "SUCCESS",
                "subject": "This is a subject",
                "to": "+61298444214"
            },
            {
                "_media_file_url": "http://yourdomain.com/tpLaX6A.gif",
                "body": "John This is a test message.",
                "contact_id": 7,
                "country": "AU",
                "custom_string": "",
                "from": "+61298444213",
                "list_id": 429,
                "message_id": "D202B823-C4ED-40F8-8F6E-08BF3EAE24D2",
                "message_parts": 1,
                "message_price": "2.4200",
                "schedule": "",
                "status": "SUCCESS",
                "subject": "This is a subject",
                "to": "+61298444214"
            },
            {
                "_media_file_url": "http://yourdomain.com/tpLaX6A.gif",
                "body": "John This is a test message.",
                "contact_id": 8,
                "country": "AU",
                "custom_string": "",
                "from": "+61298444213",
                "list_id": 429,
                "message_id": "50469507-2C91-4EB0-A628-DEF8A921D53C",
                "message_parts": 1,
                "message_price": "2.4200",
                "schedule": "",
                "status": "SUCCESS",
                "subject": "This is a subject",
                "to": "+61298444214"
            },
            {
                "_media_file_url": "http://yourdomain.com/tpLaX6A.gif",
                "body": "John This is a test message.",
                "contact_id": 9,
                "country": "AU",
                "custom_string": "",
                "from": "+61298444213",
                "list_id": 429,
                "message_id": "AFF1D0A3-1BDC-4A4F-8290-1A112579AB88",
                "message_parts": 1,
                "message_price": "2.4200",
                "schedule": "",
                "status": "SUCCESS",
                "subject": "This is a subject",
                "to": "+61298444214"
            },
            {
                "_media_file_url": "http://yourdomain.com/tpLaX6A.gif",
                "body": "John This is a test message.",
                "contact_id": 10,
                "country": "AU",
                "custom_string": "",
                "from": "+61298444213",
                "list_id": 429,
                "message_id": "81C3CB6D-FD6C-44BF-9542-46FACFC423FB",
                "message_parts": 1,
                "message_price": "2.4200",
                "schedule": "",
                "status": "SUCCESS",
                "subject": "This is a subject",
                "to": "+61298444214"
            },
            {
                "_media_file_url": "http://yourdomain.com/tpLaX6A.gif",
                "body": "John This is a test message.",
                "contact_id": 11,
                "country": "AU",
                "custom_string": "",
                "from": "+61298444213",
                "list_id": 429,
                "message_id": "55B901D2-38BD-4A3F-839C-E647FC0B4BAB",
                "message_parts": 1,
                "message_price": "2.4200",
                "schedule": "",
                "status": "SUCCESS",
                "subject": "This is a subject",
                "to": "+61298444214"
            }
        ],
        "queued_count": 8,
        "total_count": 8,
        "total_price": 19.36
    },
    "http_code": 200,
    "response_code": "SUCCESS",
    "response_msg": "Messages queued for delivery."
}

Request

Body Params application/json
body
string 
required
Your message.
country
string 
optional
Recipient country.
custom_string
string 
optional
Your reference. Will be passed back with all replies and delivery reports.
from
string 
optional
The number to send from. Either leave blank or use a ClickSend number only.
from_email
string 
optional
An email address where the reply should be emailed to. If omitted, the reply will be emailed back to the user who sent the outgoing SMS.
list_id
number 
optional
Your list ID if sending to a whole list. Can be used instead of 'to'.
media_file
string 
required
Media file you want to send.
schedule
number 
optional
Leave blank for immediate delivery. Your schedule time as a unix timestamp.
source
string 
optional
Your method of sending e.g. 'wordpress', 'php', 'c#'.
subject
string 
required
Subject line. Maximum 20 characters.
to
string 
required
Recipient number in E.164 format or local format (more info).
Examples

Responses

🟢200OK
application/json
Body
object {0}
Previous
Get Delivery Receipt
Next
Cancel MMS
Built with