Skip to main content
GET
/
messages
/
attachments
/
{guid}
Fetch an attachment by GUID
curl --request GET \
  --url https://api.arnio.co/api/v1/messages/attachments/{guid} \
  --header 'X-API-Key: <api-key>'
"<binary content>"
Fetch a media attachment by its GUID. You can optionally specify the quality (best, medium, low) and the phoneNumber (required if the server is not preloaded).

Parameters

NameInTypeRequiredDescription
guidpathstringThe GUID of the attachment to fetch
qualityquerystringQuality of the attachment (best by default)
phoneNumberquerystringE.164 phone number of the line (+15551234567)

Responses

  • 200: Attachment fetched successfully (binary content)
  • 400: Missing phoneNumber or server not found
  • 500: Failed to fetch attachment

Authorizations

X-API-Key
string
header
required

Provide your generated API Key.

Path Parameters

guid
string
required

The GUID of the attachment

Query Parameters

quality
string
default:best

Optional. Quality of the attachment (best, medium, low)

phoneNumber
string

Phone number in E.164 format (e.g., +15551234567). Required if server is not preloaded.

Response

Attachment fetched successfully