WhatsApp · Schema

AudioObject

AudioObject from WhatsApp API

Properties

Name Type Description
id string Media ID from upload
link string HTTPS URL of the audio file
View JSON Schema on GitHub

JSON Schema

whatsapp-cloud-api-audio-object-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/whatsapp/refs/heads/main/json-schema/whatsapp-cloud-api-audio-object-schema.json",
  "title": "AudioObject",
  "description": "AudioObject from WhatsApp API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Media ID from upload",
      "example": "wamid.abc123"
    },
    "link": {
      "type": "string",
      "format": "uri",
      "description": "HTTPS URL of the audio file",
      "example": "example_value"
    }
  }
}