| |||||
API Home >> Writer >> API Reference >> POST Method APIs
Upload new documents in your Zoho Writer account.
| Field | Description |
| content | Content of the document |
<form method="POST" action="http://export.writer.zoho.com/api/private/xml/uploadDocument?apikey=[APIKEY]&ticket=[Ticket]"
enctype="multipart/form-data">
<input type="file" name="content" size="38">
<input type="submit" value="UploadDocument" class="divbutton" name="submit">
</form>
| Field | Description |
| documentId | Unique ID associated with the document that is being uploaded. |
| documentName | Name of the uploaded document. |
<?xml version="1.0" encoding="UTF-8" ?>
<response uri="/api/private/xml/uploadDocument">
<result>
<documentId>8892000000081001</documentId>
<documentName>Search</documentName>
</result>
</response>
{
"response":
{
"uri": "/api/private/json/uploadDocument",
"result":
{
"documentId":"8892000000081001",
"documentName":"Search"
}
}
}