Passer au contenu principal
POST

Endpoint

/v1/whatsapp/messages/send

Headers

Authorization
string
requis
Bearer token avec votre Secret Key (format: Bearer sk_...)

Body Parameters

accountId
string
requis
ID du compte WhatsApp
to
string
requis
Numéro destinataire
type
string
requis
Doit être “audio”
audioUrl
string
requis
URL publique du fichier audio

Formats supportés

  • MP3
  • OGG
  • AAC
  • AMR
  • WAV
Taille maximum : 16 MB

Exemples de requêtes

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corps

application/json
data
object
requis

Réponse

OK