curl –XPOST https://api.tyntec.com/conversations/v3/messages\ -H 'Content-Type: application/json' \ -H 'apikey: <API KEY>' \ -d '{ { "from" : "{{whatsAppBusinessNumber}}", "to" : "{{receiverPhoneNumber}}", "channel" : "whatsapp", "content" : { "contentType" : "document", "document" : { "url": "https://s1.q4cdn.com/806093406/files/doc_downloads/test.pdf", "caption" : "An optional caption", "filename" : "An optional filename" } } }
ℹ️ Do you want to send a document as a media message template? Check how to integrate documents in your media message template here.
