curl -X POST https://api.wachap.com/v1/whatsapp/messages/send \
-H "Content-Type: application/json" \
-H "Authorization: Bearer VOTRE_CLE_SECRETE" \
-d '{
"data": {
"accountId": "account_123",
"to": "+33612345678",
"type": "document",
"documentUrl": "https://example.com/rapport.pdf",
"fileName": "rapport_mensuel.pdf",
"caption": "Rapport du mois"
}
}'