asset

Get the result of an asset upload job that was created using the Create asset upload job API.

You might need to make multiple requests to this endpoint until you get a success or failed status. For more information on the workflow for using asynchronous jobs, see API requests and responses.

get/v1/asset-uploads/{jobId}

Path parameters

jobIdstring required

The asset upload job ID.

Response

OK

Example response

{
  "job": {
    "id": "e08861ae-3b29-45db-8dc1-1fe0bf7f1cc8",
    "status": "success",
    "asset": {
      "id": "Msd59349ff",
      "type": "image",
      "name": "My Awesome Upload",
      "tags": [
        "image",
        "holiday",
        "best day ever"
      ],
      "owner": {
        "user_id": "oU123456AbCdE",
        "team_id": "oB123456AbCdE"
      },
      "created_at": 1377396000,
      "updated_at": 1692928800,
      "thumbnail": {
        "width": 595,
        "height": 335,
        "url": "https://document-export.canva.com/Vczz9/zF9vzVtdADc/2/thumbnail/0001.png?<query-string>"
      }
    }
  }
}

Changes

Changed in 2 of the 8 revisions of this API.9

    • added the new design_generation_rejected enum value to the code response property for the response status 403

      response-property-enum-value-added

    • added the new design_generation_rejected enum value to the code response property for the response status 404

      response-property-enum-value-added

    • added the new design_generation_rejected enum value to the code response property for the response status default

      response-property-enum-value-added

    • added the new domain_restricted enum value to the code response property for the response status 403

      response-property-enum-value-added

    • added the new domain_restricted enum value to the code response property for the response status 404

      response-property-enum-value-added

    • added the new domain_restricted enum value to the code response property for the response status default

      response-property-enum-value-added

    • added the new user_already_member enum value to the code response property for the response status 403

      response-property-enum-value-added

    • added the new user_already_member enum value to the code response property for the response status 404

      response-property-enum-value-added

    • added the new user_already_member enum value to the code response property for the response status default

      response-property-enum-value-added