Get the content of an asset by ID

Beta
Get the content of an asset.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

asset_idstringRequired
include_commentsbooleanOptionalDefaults to false

Response

Successful Response
contentstring
The content of the asset
commentslist of objects or null

Comment threads on the asset. Only populated when the request sets include_comments=true. An empty list means the asset has no comment threads; null means comments were not requested or the comment data could not be retrieved.

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error