Skip to main content
PATCH
/
conversations
/
{id}
/
messages
/
{messageId}
/
attachments
Finalize attachment
curl --request PATCH \
  --url https://api.managem.co.uk/conversations/{id}/messages/{messageId}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>"
}
'
{
  "id": "<string>",
  "imageId": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Conversation ID

messageId
string
required

Message ID

Body

application/json

Image identifier to finalize upload

id
string
required

Image identifier

Response

Attachment saved

Image attachment linked to a message

id
string
required

Attachment identifier

imageId
string
required

Cloudflare image identifier

url
string<uri>
required

Public URL for the attachment