Skip to main content
Send an audio clip by public url.

Request

curl -X POST "${INSTAGRAM_GRAPH_API_URL}/${INSTAGRAM_USER_ID}/messages" \
  -H "Authorization: Bearer ${INSTAGRAM_ACCESS_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{
  "recipient": {
    "id": "17841400000000001"
  },
  "message": {
    "attachment": {
      "type": "audio",
      "payload": {
        "url": "https://example.com/voice.mp3"
      }
    }
  }
}'