Upload and associate attachments
POST {{baseUrl}}/api/v1/articles/:article_id/translations/{locale}/attachments?attachmentType=<String>
This API attaches files to translations and also uploads them to the knowledge base gallery
OAuth Scope
Desk.articles.CREATE
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
attachmentType | string | Attachment type. Allowed values file , blob |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"resourceId":"dkx4q10b53a2b6e844addaec2723cd4b07092","extension":"txt","name":"aadas1_2_3_5_54_.txt","viewUrl":"https://desk.zoho.com/support/DocsDisplay?attachId=e91351dc29e5b7394d93c8deb91b642a0b498ee34174141d\u0026action=view\u0026zgId=17ec4c79299ee107dc91a236738b3d70\u0026entityId=e91351dc29e5b739421838319e770b0a42acf79f93f757e8","downloadUrl":"https://desk.zoho.com/support/DocsDisplay?attachId=e91351dc29e5b7394d93c8deb91b642a0b498ee34174141d\u0026action=download\u0026zgId=17ec4c79299ee107dc91a236738b3d70\u0026entityId=e91351dc29e5b739421838319e770b0a42acf79f93f757e8","createdTime":"2018-07-10T22:45:05.865Z","filesize":"62"}