Batches
Send
Headers
Name
Type
Description
Request Body
Key
Value
Description
import requests
url = "https://app.9bits.net:9020/ng/v1/sendsms"
payload = {
"from": "Your_sender_ID",
"to": [
"Recipient_number"
],
"content": "Your_message"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <YOUR_TOKEN_HERE>"
}
response = requests.post(url, json=payload, headers=headers)
data = response.json()
print(data)Description
Last updated