GET
https://api.alatwa.com/message/{message_id}
Headers
| Name | Type | | Description |
| Authorization |
string |
required |
API Key akun Alat WA Anda |
Path Parameters
| Name | Type | | Description |
| message_id |
string |
required |
Unique message ID dari response pengiriman |
Code Examples
curl -X GET https://api.alatwa.com/message/3EB07186F0298BF9E5E8 \
-H "Authorization: YOUR_API_KEY"
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.alatwa.com/message/3EB07186F0298BF9E5E8');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: YOUR_API_KEY'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
const response = await fetch('https://api.alatwa.com/message/3EB07186F0298BF9E5E8', {
headers: {
'Authorization': 'YOUR_API_KEY'
}
});
const data = await response.json();
import requests
response = requests.get(
'https://api.alatwa.com/message/3EB07186F0298BF9E5E8',
headers={'Authorization': 'YOUR_API_KEY'}
)
data = response.json()
Response
200 Success
{
"status": "ok",
"data": {
"message_id": "3EB07186F0298BF9E5E8",
"status": "read",
"from": "628122222222",
"to": "628111111111"
}
}