Skip to content

Preview an eligible Razuna image securely ​

Rechecks asset scope and download permission. Returns private, no-store WebP bytes; access tokens remain server-side.

Request preparation ​

Send a GET request to /product/sites/{siteId}/integrations/razuna/assets/{assetId}/preview on the appropriate server. Check the API overview for base URL guidance and the server information in the interactive reference. Replace path placeholders with identifiers from the intended account or site; a similarly named record in another workspace is not interchangeable.

The declared request parameters are:

  • siteId (path, required): Use the type and constraints shown in the parameter reference.
  • assetId (path, required): Use the type and constraints shown in the parameter reference.

No request body is declared in the current specification. Check the route and any documented parameters before sending the request rather than adding an arbitrary JSON payload.

Authentication and scope ​

The specification lists these security alternatives: BearerAuth, AccessToken. Read any operation-specific restrictions as well: browser-session, account-role, and signed-user requirements may impose additional conditions. See authentication before choosing a credential.

Keep credentials in the appropriate private configuration and remove secrets from shared logs. Confirm the target resource belongs to the intended workflow before issuing a request. Authentication alone should not be treated as confirmation that a supplied account, site, or customer identifier is correct.

Response handling ​

The documented responses for Preview an eligible Razuna image securely are:

  • 200: Image preview
  • 400: Invalid input, unavailable provider, or preparation failure; retry after resolving the error
  • 401: Authentication required
  • 403: Team admin access required for connection changes

Begin with a known record or a narrow query and inspect the returned fields before displaying them to users. Where the operation defines pagination, follow those parameters to retrieve additional results. An empty successful response is different from a failed request; keep errors visible to the calling workflow instead of presenting them as an empty data set.

If a connection fails after submission, investigate the current server state before repeating an action whose outcome is uncertain. When requesting support, retain the method, route, response status, and sanitized error message. The interactive reference below provides the detailed schemas and examples for this specific operation.

Preview an eligible Razuna image securely​

GET
/product/sites/{siteId}/integrations/razuna/assets/{assetId}/preview

Rechecks asset scope and download permission. Returns private, no-store WebP bytes; access tokens remain server-side.

Authorizations​

BearerAuth

JWT token from login

Type
HTTP (bearer)
or
AccessToken

Personal access token. Value: Token <your-token>

Type
API Key (header: Authorization)

Parameters​

Path Parameters

siteId*
Type
string
Required
assetId*
Type
string
Required

Responses​

Image preview

image/webp

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI