Audio Attachment
You can send sounds by uploading them or sharing a URL using the Send API.

Examples
URL send
curl -X POST -H "Content-Type: application/json" -d '{
"recipient":{
"id":"USER_ID"
},
"message":{
"attachment":{
"type":"audio",
"payload":{
"url":"https://petersapparel.com/bin/clip.mp3"
}
}
}
}' "https://graph.facebook.com/v2.6/me/messages?access_token=PAGE_ACCESS_TOKEN" File upload
curl \
-F 'recipient={"id":"USER_ID"}' \
-F 'message={"attachment":{"type":"audio", "payload":{}}}' \
-F 'filedata=@/tmp/clip.mp3;type=audio/mp3' \
"https://graph.facebook.com/v2.6/me/messages?access_token=PAGE_ACCESS_TOKEN" Fields
attachment object
| Property Name | Description | Required |
|---|---|---|
|
| Y |
| URL of audio | Y |

