Integrate texting into your existing applications: Our simple and secure API allow's you to integrate texting into any application. Don't have a developer? We can roll out integrations for you.
The API is simple, but for more complex integrations and data fetching, feel free to contact us
import requests
url = "https://api.talatalk.com/send"
payload = {
"api_key": "your_api_key",
"message": "your_message",
"recipients": ["1234567890", "9876543210"], # List of phone numbers
"sender": "your_sender"
}
response = requests.post(url, json=payload)
print(response.text)
<?php
$url = 'https://api.talatalk.com/send';
$payload = array(
'api_key' => 'your_api_key',
'message' => 'your_message',
'recipients' => array('1234567890', '9876543210'), // List of phone numbers
'sender' => 'your_sender'
);
$options = array(
'http' => array(
'header' => "Content-type: application/json\r\n",
'method' => 'POST',
'content' => json_encode($payload)
)
);
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
if ($result === FALSE) { /* Handle error */ }
echo $result;
?>
var url = 'https://api.talatalk.com/send';
var data = {
api_key: 'your_api_key',
message: 'your_message',
recipients: ['1234567890', '9876543210'], // List of phone numbers
sender: 'your_sender'
};
fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(data),
})
.then(response => response.json())
.then(data => {
console.log('Success:', data);
})
.catch((error) => {
console.error('Error:', error);
});
curl -X POST https://api.talatalk.com/send \
-H "Content-Type: application/json" \
-d '{
"api_key": "your_api_key",
"message": "your_message",
"recipients": ["1234567890", "9876543210"], // List of phone numbers
"sender": "your_sender"
}'