Add a Blob to a Thread
POST {{baseUrl}}/1/admin/blob/:thread_id
Uploads an image or other blob to the given thread. Returns a url
that may be used in the content
field of
Edit Document
requests and an id
that may be used in the attachment
field of
Add a Message.
Request Body
[{"name"=>"blob", "value"=>"cupidatat id", "datatype"=>"string"}, {"name"=>"company_id", "value"=>"consectetur ipsum nisi", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"url":"/blob/LeSAAAqaCfc/DiPp1ZQyC8QUtvBT4vojzM"}