Attachments

Get Attachment Url

Get a signed URL for an attachment

Args: attachment_id: ID of the attachment expiration_minutes: URL expiration time in minutes

Returns: Dict with signed URL

🔐 Required Scopes: messages:read

get/api/v1/attachments/{attachment_id}/url

Request

  • Base URL: https://api.sendseven.com
  • URL: https://api.sendseven.com/api/v1/attachments/{attachment_id}/url
  • Auth: HTTP bearer

Path parameters

attachment_idstring required

Query parameters

expiration_minutesinteger

Response

Successful Response

urlstring required

Signed download URL

expires_in_minutesinteger required

Minutes until URL expires

Example response

{
  "expires_in_minutes": 60,
  "url": "https://storage.googleapis.com/bucket/path?signature=..."
}

Changes

No recorded changes to this operation across all 3 revisions of this API.