// Create your own link
// Use https://wa.me/<number> where the <number> is a full phone number in international format. Omit any zeroes, brackets, or dashes when adding the phone number in international format.
// Examples:
// Use: https://wa.me/1XXXXXXXXXX
// Don't use: https://wa.me/+001-(XXX)XXXXXXX
<a href="https://wa.me/<number>" target="_blank">Link Text Here</a>
import requests
url = "https://api.ultramsg.com/{{instance ID}}/messages/chat/"
payload='token={{Token}}&to={{mobile number}}&body=Hello%20world%20'
headers = {
'Content-Type': 'application/x-www-form-urlencoded'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
curl --location --request POST 'https://api.ultramsg.com/{{instance ID}}/messages/chat/'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'token={{Token}}'
--data-urlencode 'to={{mobile number}}'
--data-urlencode 'body=Hello world '
POST /v1/account
{
"cc": "your-country-code",
"phone_number": "your- phone-number-without-country-code",
"method": "sms" | "voice",
"cert": "your-verified-name-cert-in-base64",
"pin": "your-existing-6-digit-pin" # required if two-factor verification is enabled
}
//JSON File//
POST /v1/account
{
"cc": "your-country-code",
"phone_number": "your- phone-number-without-country-code",
"method": "sms" | "voice",
"cert": "your-verified-name-cert-in-base64",
"pin": "your-existing-6-digit-pin" # required if two-factor verification is enabled
}
Code Example |
---|
Html :: image size |
Html :: input type=number 01 |
Html :: what is the base of an html code? |
Html :: bootstrap selec |
Html :: video player html |
Html :: center class in html |
Html :: list of meta tags |
Html :: h6 in html |
Html :: embed xml in html page |
Html :: markdown to html |
Html :: angular open pdf in new tab |
Html :: html info on hover |
Html :: space in html text |
Html :: theme color in html |
Html :: table bootstrap with scrool |
Html :: ul html |
Html :: bootstrap 4 button link |
Html :: how to increase font size in html |
Html :: relative path |
Html :: html form label |
Html :: how to change mouse into hand icon when you hover over something in html |
Html :: how to make a div responsive in css |
Html :: less css |
Html :: icheck js |
Html :: pdf to html |
Html :: jquery loop print html() |
Html :: Change iframe src by clicking a link |
Html :: marquee tag html |
Html :: happy birthday code in html |
Html :: html a tag |