Event
When: right before a mail is sent to the contact. This is the webhooks that is fired when a contact should receive the recorded files.
Payload structure:
{
"landing_page_url":"https://app.wowing.io/api/notifications/430c21f3-123/redirect",
"files":[
{
"mime_type":"audio/mpeg",
"path":"https://cdn-staging.wowing.io/media/123.mp3"
},
{
"mime_type":"audio/ogg",
"path":"https://cdn-staging.wowing.io/media/123.ogg"
},
{
"mime_type":"audio/vnd.wav",
"path":"https://cdn-staging.wowing.io/media/123.wav"
}
],
"preview_file_path":[
{
"mime_type":"image/png",
"path":"https://cdn-staging.wowing.io/assets/audio-preview.png"
}
],
"attachments":[
{
"mime_type":"application/pdf",
"path":"https://cdn-staging.wowing.io/media/foo/attachments/wowing.pdf"
},
{
"mime_type":"image/jpeg",
"path":"https://cdn-staging.wowing.io/media/foo/attachments/screen.jpeg"
}
]
}