Skip to main content
GET
Fetch an attachment by GUID
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

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