Request

Response

    List content
    GET

    v2/hubs/{hubId}/contents

    Returns a paginated list of content for a given hub

    Resource Information

    Method and URI
    GET
    https://api.aps.autodesk.com/content-catalog/v2/hubs/{hubId}/contents
    Authentication Context
    user context required
    Required OAuth Scopes
    data:read
    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 (UUID format, uppercase)

    Request

    Query String Parameters

    limit
    int
    Maximum number of content items to return (default: 20, max: 1000)
    cursorState
    string
    Opaque pagination cursor from previous response
    filter
    string
    RSQL filter expression. Supported fields: updatedAt (ISO-8601 timestamp). Supported operators: =ge= / >= (greater-than-or-equal), =le= / <= (less-than-or-equal). Multiple conditions can be combined with ; (AND). Example: updatedAt=ge=2024-01-01T00:00:00Z;updatedAt=le=2024-12-31T23:59:59Z
    filter[includeChannels]
    boolean
    When true, includes content from channel subscriptions. Default false.

    Response

    HTTP Status Code Summary

    200
    OK
    Contents retrieved successfully
    400
    Bad Request
    The server was unable to process the request. The syntax of the request is malformed or the request is missing a required header. Do not repeat the request without fixing the issue. The response body may indicate what is wrong with the request.
    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)

    Expand all
    results
    array: object
    List of content items
    id
    string
    Unique identifier for the content
    fileName
    string
    Name of the file
    product
    string
    Content product name
    contentType
    enum:string
    Content file type. Values are the canonical wire names from FileType.getName() (e.g. RFA, 3DM, MP4). Used on both request and response. Possible values: ANY, RFA, DWG, SKP, PDF, ZIP, DXF, RTF, RVT, SYSTEM_TYPE, VIEW, SCHEDULE, DETAIL_GROUP, MODEL_GROUP, RTE, 3DM, 3DM_BAK, RWS, AXM, STL, OBJ, SAT, TIF, TXT, DGN, LAYOUT, GH_3D, DYF, DYN, XLS, XLSM, XLSB, XLSX, CSV, DOCX, DOC, PPTX, PPT, 3DS, MAX, MA, MB, PSD, AI, EPS, JPG, JPEG, BMP, PNG, GIF, TIFF, NWD, NWC, NWF, DWT, PCP, CTB, STB, PAT, SHX, PC3, SCR_, ADSK, ADSK_LIB, FBX, LSP, VLX, RFT, GH, GHX, IPT, IAM, BLEND, SLD_PRT, BCF_ZIP, DAE, IFC, INDD, TTF, OTF, LSB, PY, PYC, CSS, VIS_MAT, MP4, AVI, WMV, RFA_MAT, CEL, DGN_LIB, RVT_SHEET, SKM, STYLE, JSON, FILL_PATTERN, IES, RMTL, XLTX, DWS, RAR, MP3, WAV, AAC, MOV, IND, PKT
    comments
    string
    Comments
    collectionIds
    array: string
    Associated collection IDs
    tagIds
    array: string
    Associated tag IDs
    currentRevision
    object
    Details of a content revision
    id
    string
    File revision identifier
    revisionNumber
    int
    Revision number
    productVersions
    array: string
    List of product versions associated with the revision
    category
    string
    Content category
    fileSize
    int
    Size of the revision’s base file, in bytes. Resolved from the earliest base file version, falling back to legacy stored values for revisions that predate per-version size tracking.
    metadata
    object
    Revision-type-specific metadata fields
    hasTypeCatalog
    boolean
    Whether or not this content item has an associated type catalog
    materialClass
    string
    Material class for this revision
    measurementSystem
    enum:string
    Measurement system used by a content item or revision. Possible values: IMPERIAL_DECIMAL, IMPERIAL, METRIC
    fillPatternType
    string
    Fill pattern type
    preferredPreviewImageNames
    array: string
    Preview images
    parameterGroups
    array: object
    Parameter groups for this revision
    name
    string
    Display or logical name of the parameter group
    parameters
    array: object
    Parameters in this group
    name
    string
    Name of the parameter
    value
    string
    Raw value of the parameter (typically numeric or internal representation)
    displayValue
    string
    Display value of the parameter (formatted for UI display)
    notes
    string
    Revision notes
    createdAt
    datetime: ISO 8601
    Creation timestamp
    updatedAt
    datetime: ISO 8601
    Last update timestamp
    createdBy
    string
    Creator identifier (Autodesk ID)
    updatedBy
    string
    autodeskId of the user who last modified the content
    createdAt
    datetime: ISO 8601
    Creation timestamp
    updatedAt
    datetime: ISO 8601
    Last update timestamp
    createdBy
    string
    Creator identifier (Autodesk ID)
    updatedBy
    string
    Last modifier identifier (Autodesk ID)
    pagination
    object
    Pagination information for cursor-based navigation
    limit
    int
    The limit value used by the server in the response
    cursorState
    string
    CursorState from the request
    nextUrl
    string
    Link that will return the next page of data. Null if this is the last page
    nextCursorState
    string
    The cursorState parameter for requesting the next page. Intended for clients that build request URLs programmatically instead of using nextUrl. Null if this is the last page

    Example

    Contents retrieved successfully

    Request

    curl -v 'https://developer.api.autodesk.com/content-catalog/v2/hubs/3BB2AB76-42A9-4E02-8D66-B8779A0DD0CF/contents?limit=20&cursorState=AMMAEACAtgALYWRzay53aXBkZXYNZnMuZmlsZS5hZGRlZAZmb2xk&filter=updatedAt=ge=2024-01-01T00:00:00Z' \
      -H 'Authorization: '
    

    Response

    {
      "results": [
        {
          "id": "550e8400-e29b-41d4-a716-446655440001",
          "fileName": "sample-family.rfa",
          "product": "REVIT",
          "contentType": "RFA",
          "comments": "Some comments",
          "collectionIds": [
            "col-001",
            "col-002"
          ],
          "tagIds": [
            "tag-001",
            "tag-002"
          ],
          "currentRevision": {
            "id": "2BDC268B-55D7-4792-B846-19A155CCF777",
            "revisionNumber": 1,
            "productVersions": [
              "2025",
              "2026"
            ],
            "category": "Furniture",
            "fileSize": 245678,
            "metadata": {
              "hasTypeCatalog": true,
              "materialClass": "Wood",
              "measurementSystem": "IMPERIAL",
              "fillPatternType": "Solid",
              "preferredPreviewImageNames": [
                "preview-image.png",
                "default-large.png"
              ]
            },
            "parameterGroups": [
              {
                "name": "",
                "parameters": [
                  {
                    "name": "",
                    "value": "",
                    "displayValue": ""
                  }
                ]
              }
            ],
            "notes": "Updated design",
            "createdAt": "2025-06-11T17:43:45.881Z",
            "updatedAt": "2025-06-11T17:43:45.881Z",
            "createdBy": "QPT2UZV6LE7H9XN6",
            "updatedBy": "QPT2UZV6LE7H9XN6"
          },
          "createdAt": "2025-06-11T17:43:45.881Z",
          "updatedAt": "2025-06-11T17:43:45.881Z",
          "createdBy": "AKB2JV55N3SQ55DT",
          "updatedBy": "AKB2JV55N3SQ55DT"
        }
      ],
      "pagination": {
        "limit": 20,
        "cursorState": "eyJxYyI6Im...",
        "nextUrl": "https://api.aps.autodesk.com/content-catalog/v2/...",
        "nextCursorState": "eyJxYyI6Im..."
      }
    }
    
    Show More