Skip to main content
GET
Get an attachment download URL

Authorizations

Authorization
string
header
required

Organization API key created in Grain Settings → API. The key determines the organization and is limited to its assigned resource scopes. Write scopes imply the corresponding read scope.

Headers

X-Organization-Id
string

Required with OAuth access tokens for resource requests. Omit only for GET /api/v1/organizations. Optional with organization API keys; if supplied with an API key, it must match the key's organization.

Path Parameters

id
string
required

Resource ID

fileId
string
required

Response

Signed download URL

url
string<uri>
required

Signed download URL. Do not store it; request a new one when needed.

expiresAt
string<date-time>
required
Last modified on October 10, 2026