Request

Response

    Documents
    GET

    projects/{project_id}/versions/{version_id}/exports/{export_id}

    Returns the status of a PDF export job, as well as data you need to download the exported file when the export is complete.

    The POST projects/:project_id/versions/:version_id/exports endpoint initiates the job, and returns a job ID to be used in this endpoint.

    To download the exported PDF file after the job is complete, use GET :urn/manifest/:derivativeurn.

    For more information about Document Management endpoints, see the Data Management API

    Note that this endpoint is ONLY compatible with BIM 360 projects. It is not compatible with Autodesk Construction Cloud (ACC) projects. For more information about compatibility between between BIM 360 and ACC, see the Compatibility section.

    Resource Information

    Method and URI
    GET
    https://developer.api.autodesk.com/bim360/docs/v1/projects/:project_id/versions/:version_id/exports/:export_id
    Authentication Context
    User context optional
    Required OAuth Scopes
    data:read
    Data Format
    JSON

    Request

    Headers

    Authorization*
    string
    Must be Bearer <token>, where <token> is a two-legged access token obtained via a Client Credentials Grant flow, or a three-legged access token obtained via an Authorization Code flow or a Secure Service Account (SSA) flow.

    The 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.

    x-user-id
    string
    In a two-legged authentication context, the app has access to all users specified by the administrator in the SaaS integrations UI. By providing this header, the API call will be limited to act on behalf of only the user specified.
    * Required

    Request

    URI Parameters

    project_id
    string: UUID
    The ID of the project. This corresponds to project ID in the Data Management API. To convert a project ID in the Data Management API into a project ID in the BIM 360 API you need to remove the “b." prefix. For example, a project ID of b.a4be0c34a-4ab7 translates to a project ID of a4be0c34a-4ab7.
    version_id
    string
    The URL-encoded version ID (URN) of the exported page; selected when initiating POST projects/:project_id/versions/:version_id/exports.
    export_id
    string: UUID
    The ID of the export job; returned when initiating POST projects/:project_id/versions/:version_id/exports.

    Response

    HTTP Status Code Summary

    200
    OK
    The request has succeeded.
    400
    Bad Request
    The parameters of the requested operation are invalid.
    401
    Unauthorized
    The provided bearer token is not valid.
    403
    Forbidden
    The user or service represented by the bearer token does not have permission to perform this operation.
    404
    Not Found
    The project, exported document or job does not exist.
    429
    Too Many Requests
    Rate limit exceeded; wait some time before retrying.
    500
    Internal Server Error
    An unknown error occurred on the server.

    Response

    Body Structure (200)

    Expand all
    id
    string: UUID
    The ID of the export job.
    status
    enum:string
    The status of the export job. Possible values: committed, completed, failed. When the job is complete, an object representing the result of the job is returned in the response.
    data
    object
    versionUrn
    string
    The Base64 (URL Safe) encoded ID (URN) assigned to the file when it was first uploaded to BIM 360 Document Management. This is used to download the page. Note that this is equal to the urn parameter in GET :urn/manifest/:derivativeurn
    resourceId
    string
    The URL-encoded ID (URN) of the exported PDF page. Note that this is equivalent to the derivativeurn parameter in GET :urn/manifest/:derivativeurn.
    signedUrl
    string
    The signed URL for downloading the export result. By default, it expires after two minutes.

    Example

    The request has succeeded.

    Request

    curl -v 'https://developer.api.autodesk.com/bim360/docs/v1/projects/c0337487-5b66-422b-a284-c273b424af54/versions/urn%3Aadsk.wipqa%3Afs.file%3Avf.pf3frU0gTZaOotKXg2h1Fw%3Fversion%3D1/exports/433d07ec-32a2-44eb-a5eb-b41090bfe932' \
      -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
    

    Response

    {
      "id": "433d07ec-32a2-44eb-a5eb-b41090bfe932",
      "status": "completed",
      "data": {
        "versionUrn": "dXJuOmFkc2sud2lwcWE6ZnMuZmlsZTp2Zi5wZjNmclUwZ1RaYU9vdEtYZzJoMUZ3P3ZlcnNpb249MQ",
        "resourceId": "urn:adsk.viewing:fs.file:dXJuOmFkc2sud2lwcWE6ZnMuZmlsZTp2Zi5wZjNmclUwZ1RaYU9vdEtYZzJoMUZ3P3ZlcnNpb249MQ/output/qXP_ZA5_3EqJoq5zqvnLHA/h8YAl4KMcEe9-L5SaEXY6A.pdf",
        "signedUrl": "https://autodesk-360-translation-storage.s3.amazonaws.com/9358_dXJuOmFkc2sud2lwcWE6ZnMuZmlsZTp2Zi5jb1pWZEdIclNMMkJ4SGJZTEFhVWF3P3ZlcnNpb249MQ/output/4/page.pdf?X-Amz-Security-Token={token}&X-Amz-Algorithm={algorithm}&X-Amz-Date={date}&X-Amz-SignedHeaders={header}&X-Amz-Expires={expire}&X-Amz-Credential={credential}&X-Amz-Signature={sign}"
      }
    }
    
    Show More