Upload attachments
POST {{baseUrl}}/api/v1/articleAttachments?workspaceId=<String> &attachmentType=<String>
This API uploads files to your portal gallery.
OAuth Scope
Desk.articles.CREATE
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
workspaceId | string | Workspace id to which the attachement should be uploaded | |
attachmentType | string | Attachment type. Allowed values file , blob |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"resourceId":"96b17694d63cd0f03eadbe4ae534f4ba993bb0","extension":"png","name":"Screen Shot 2018-12-28 at 7.21.58 PM.png","filesize":"62"}