latestSwagger 2.02026-08-101561322.2 MB
3e4029d19684
Outbound Messages
Upload message attachment
<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Messages%3A%20Send%0A/uploadMessageAttachment" target="_blank">Try in sandbox</a><br>Upload a new file to insert it as a link.
post/api/v2/messages/attachment
Response
File uploaded with success.
Example response
{
"chars": 10,
"href": "click/Zwcj9",
"name": "test.pdf",
"size": 1094,
"resource": "tmfGSR8ShMSDMy8Aa15904809817838.jpg"
}