cURL
curl --request POST \ --url https://api.managem.co.uk/conversations/{id}/messages/{messageId}/attachments \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "uploadURL": "<string>" }
Create a direct-upload target for a message attachment.
Use this endpoint before uploading an image attachment for a message.
Behavior:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Conversation ID
Message ID
Upload URL
Direct upload URL for an image
Image identifier
URL to upload the image