Tracira
API referenceMedia

Redirect to a signed media URL

Redirects to a short-lived signed storage URL. This route is built for browsers; automations should use GET /api/media-url instead.

Accepts the workspace token (Authorization: Bearer), the browser session cookie, or x-api-key.

The key path parameter is the full media key path, for example workspaceId/logId/0-file.pdf.

Why automations should prefer /api/media-url: this route answers with a 302, and an HTTP client that follows redirects will carry your Authorization header to the storage host, which rejects a presigned request that carries one. /api/media-url hands you the signed URL as JSON so you can fetch it with no auth header at all.

gethttps://www.tracira.com/api/media/{key}
GET
/api/media/{key}

Authorization

AuthorizationBearer <token>

Workspace webhook token from Settings -> Integrations.

In: header

Path Parameters

key*string

Query Parameters

download?"1"

Use 1 to request attachment disposition instead of inline preview.

Value in

  • "1"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/media/1f4a8c60-92d7-4b3e-8a51-c27e6d90f3b2/uploads/9d0b3c17-5e42-4a86-b1f7-8c25e0d94a63.png"
Empty