Get representation download URL
POST
v2/hubs/{hubId}/contents/{contentId}/revisions/{revisionId}/representations/{representationId}:get-download-url
Returns a pre-signed URL for a single artifact of a specific representation of a content revision.
Supported `type` values: CONTENT, TYPE_CATALOG, PREVIEW_IMAGE.
PREVIEW_3D_GLB and DATA_MODEL_JSON are not available here — both are revision-scoped. Request PREVIEW_3D_GLB from getRevisionDownloadUrl or getBatchDownloadUrls, and DATA_MODEL_JSON from getRevisionDownloadUrl.
Resource Information
| Method and URI | POST https://api.aps.autodesk.com/content-catalog/v2/hubs/{hubId}/contents/{contentId}/revisions/{revisionId}/representations/{representationId}:get-download-url |
| Authentication Context | user context required |
| Required OAuth Scopes | data:write |
| Data Format | JSON |
Request
Headers
| Authorization* string | Must be Bearer <token>, where <token> is a three-legged access token obtained via an
Authorization Code flow
or a Secure Service Account flow.
The Secure Service Account (SSA) flow is designed for headless server-to-server operations. While it functions like a two-legged flow (no user interaction), it is classified as three-legged because it preserves user context. |
| Region string | Region identifier for API routing. Defaults to US if not provided. |
* Required
Request
URI Parameters
| hubId string | Unique identifier for a customer hub |
| contentId string | Unique identifier for the content item |
| revisionId string | Unique identifier for the revision |
| representationId string | Unique identifier for the representation |
Request
Query String Parameters
| type* enum:string | The file type to download
Possible values: CONTENT, TYPE_CATALOG, PREVIEW_IMAGE |
* Required
Response
HTTP Status Code Summary
| 200 OK | Download URL generated successfully |
| 403 Forbidden | The request was successfully validated, but lacking the required permissions. Verify your credentials and permissions before you send the request again. |
| 404 Not Found | The requested resource was not found. Review the request and try again. |
| 500 Internal Server Error | An unexpected error occurred on the server, preventing it from completing your request. Please try again later. If the issue persists, contact the support team for assistance. |
Response
Body Structure (200)
| url string | Pre-signed URL for downloading the requested artifact |
| expiresIn int | Number of seconds until the pre-signed URL expires |
Example
Download URL generated successfully
Request
curl -v 'https://developer.api.autodesk.com/content-catalog/v2/hubs/3BB2AB76-42A9-4E02-8D66-B8779A0DD0CF/contents/550e8400-e29b-41d4-a716-446655440001/revisions/2BDC268B-55D7-4792-B846-19A155CCF777/representations/2D05C942-EBD9-4F6F-976D-93CD2F9B7164:get-download-url?type=TYPE_CATALOG' \
-X 'POST' \
-H 'Authorization: '
Response
{
"url": "https://s3.amazonaws.com/bucket/path/to/artifact?X-Amz-Algorithm=...",
"expiresIn": 3600
}