Messages

Get attachment file

Changed on

Redirects to a signed URL where the attachment file can be downloaded. URL is short-lived, so redirect should be followed immediately.

get/attachments/{attachment_id}/file

Request

  • Base URL
    https://api.surge.app
  • Auth
    HTTP bearer

Path parameters

attachment_idstring required

The ID of the attachment.

Example:att_01kfyc9dgdec1avkgs7tng8htg

Response

Error

Example response

{
  "error": {
    "message": "The requested resource could not be found.",
    "type": "not_found"
  }
}

Changes