API by router
Chat media
GET
instance_id*Instance IdFormat
uuidmedia_id*Media IdSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/chat/media/string'Example Response
nullPOST
HTTPBearerheader
AuthorizationBearer <token>instance_id*Instance IdFormat
uuidX-Api-Key?string|nullmultipart/form-data- body
file*FileFormat
binarySuccessful Response
application/json- response
content_type*Content Typemedia_id*Media Idsize_bytes*Size Bytesstorage_key*Storage Keyurl?string|nullcurl -X POST 'https://example.com/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/chat/media' \ -F 'file=string'Example Response
{ "content_type": "string", "media_id": "string", "size_bytes": 0, "storage_key": "string", "url": "string"}GET
HTTPBearerheader
AuthorizationBearer <token>instance_id*Instance IdFormat
uuidmedia_id*Media IdX-Api-Key?string|nullSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/chat/media/string'Example Response
null