Skip to main content
GET
Download an owned attachment before expiry

Authorizations

Authorization
string
header
required

WorkOS access JWT or a user-owned WorkOS API key. User keys are bound to one organization and restricted to their enabled product permissions. Session-only onboarding and session revocation require an interactive access JWT. No cookie session is assumed.

Headers

X-Request-Id
string

Optional caller-provided correlation identifier.

Required string length: 1 - 128

Path Parameters

project_id
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
environment_id
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
message_id
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
attachment_id
string
required
Required string length: 1 - 128

Response

Authorized mail result.

status
string
required
Allowed value: "expired"