---
title: "Get asynchronously converted content body from the id or the current status of the task."
method: GET
path: "/wiki/rest/api/contentbody/convert/async/{id}"
tags: ["Content body"]
---

# Get asynchronously converted content body from the id or the current status of the task.

`GET /wiki/rest/api/contentbody/convert/async/{id}`

Returns the content body for the corresponding `asyncId` of a completed conversion task. If
the task is not completed, the task status is returned instead.

Once a conversion task is completed, the result can be obtained for up to 5 minutes, or
until an identical conversion request is made again with the `allowCache` parameter set to
false.

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
If request specifies 'contentIdContext', 'View' permission for the space, and permission to view the content.

## Path parameters

- `id` string, required

## Response `200`

Returned if successfully found an async conversion task associated with the id.

- AsyncContentBody
  - `value` string
  - `representation` 'view' | 'export_view' | 'styled_view' | 'storage' | 'editor' | 'editor2' | 'anonymous_export_view' | 'wiki' | 'atlas_doc_format'
  - `renderTaskId` string
  - `error` string
  - `status` 'WORKING' | 'QUEUED' | 'FAILED' | 'COMPLETED' | 'RERUNNING' — Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may choose to continue polling, or use the cached value.
  - `embeddedContent` EmbeddedContent[]
    - `entityId` integer
    - `entityType` string
    - `entity` Embeddable
  - `webresource` WebResourceDependencies
    - `_expandable` object
      - `uris` union
        - string
        - object
    - `keys` string[]
    - `contexts` string[]
    - `uris` object
      - `all` union
        - string[]
        - string
      - `css` union
        - string[]
        - string
      - `js` union
        - string[]
        - string
      - `_expandable` object
        - `css` union
          - string[]
          - string
        - `js` union
          - string[]
          - string
    - `tags` object
      - `all` string
      - `css` string
      - `data` string
      - `js` string
      - `_expandable` object
    - `superbatch` SuperBatchWebResources
      - `uris` object
        - `all` union
          - string[]
          - string
        - `css` union
          - string[]
          - string
        - `js` union
          - string[]
          - string
      - `tags` object
        - `all` string
        - `css` string
        - `data` string
        - `js` string
      - `metatags` string
      - `_expandable` object
  - `mediaToken` object
    - `collectionIds` string[]
    - `contentId` string
    - `expiryDateTime` string
    - `fileIds` string[]
    - `token` string
  - `_expandable` object
    - `content` string
    - `embeddedContent` string
    - `webresource` string
    - `mediaToken` string
  - `_links` GenericLinks

## Other responses

- `400` — Returned if the async id is invalid.
- `401` — Returned if the request was not made by an anonymous user and user is not authenticated.
- `403` — Returned if the requesting user is not the user who made the conversion request.
- `404` — Returned if async macro conversion task cannot be found with the provided id.

---

[API](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-confluence-cloud-rest-api/revisions/70088490f406/schema)
