> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Content By ID

Get Content by a given ID.

<Note>
  External Documentation

  To learn more, visit the [Confluence Data Center documentation](https://developer.atlassian.com/server/confluence/rest/v900/api-group-content-resource/#api-rest-api-content-id-get).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter  | Description                                                                                                                                                                                                                              |
  | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Content ID | The ID of the content.                                                                                                                                                                                                                   |
  | Expand     | A comma-separated list of properties to expand on the content. For more information see [Confluence documentation](https://developer.atlassian.com/server/confluence/rest/v900/api-group-content-resource/#api-rest-api-content-id-get). |
  | Status     | A comma-separated list of Content statuses to filter results on.                                                                                                                                                                         |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description             |
  | --------- | ----------------------- |
  | Version   | Version of the content. |
</div>

## Example Output

```json theme={"dark"}
{
	"ancestors": [
		null
	],
	"body": {},
	"children": {},
	"container": "",
	"containerRef": {
		"expanded": false,
		"idProperties": {}
	},
	"descendants": {},
	"extensions": {
		"key": "value"
	},
	"history": {
		"contentParentRef": {
			"expanded": false,
			"idProperties": {}
		},
		"contributors": {
			"expanded": false,
			"idProperties": {}
		},
		"createdBy": {
			"displayName": "Joe Smith",
			"profilePicture": {
				"height": 16,
				"isDefault": true,
				"path": "http://www.example.com/path/to/image.png",
				"width": 16
			},
			"type": "string"
		},
		"createdDate": "2020-01-01T00:00:00Z",
		"lastUpdated": {
			"expanded": false,
			"idProperties": {}
		},
		"lastUpdatedRef": {
			"expanded": false,
			"idProperties": {}
		},
		"latest": true,
		"nextVersion": {
			"expanded": false,
			"idProperties": {}
		},
		"nextVersionRef": {
			"expanded": false,
			"idProperties": {}
		},
		"previousVersion": {
			"expanded": false,
			"idProperties": {}
		},
		"previousVersionRef": {
			"expanded": false,
			"idProperties": {}
		}
	},
	"historyRef": {
		"expanded": false,
		"idProperties": {}
	},
	"id": "123456",
	"links": {
		"webui": "https://www.example.com/display/SPACEKEY/My+Page"
	},
	"metadata": {
		"key": "value"
	},
	"operations": [
		{
			"operation": "read",
			"targetType": "page"
		}
	],
	"position": 1,
	"restrictions": {
		"use": {
			"operation": "use",
			"restrictions": []
		}
	},
	"space": {
		"description": {},
		"homepage": {
			"expanded": false,
			"idProperties": {}
		},
		"icon": {
			"expanded": false,
			"idProperties": {}
		},
		"id": 123456,
		"key": "TEST",
		"links": {},
		"metadata": {
			"labels": [
				"label1",
				"label2"
			]
		},
		"name": "Test Space",
		"retentionPolicy": {
			"expanded": false,
			"idProperties": {}
		},
		"status": "current",
		"type": "global"
	},
	"spaceRef": {
		"expanded": false,
		"idProperties": {}
	},
	"status": "current",
	"title": "My Page",
	"type": "page",
	"version": {
		"by": {
			"displayName": "Joe Smith",
			"profilePicture": {
				"height": 16,
				"isDefault": true,
				"path": "http://www.example.com/path/to/image.png",
				"width": 16
			},
			"type": "string"
		},
		"content": {
			"expanded": false,
			"idProperties": {}
		},
		"contentRef": {
			"expanded": false,
			"idProperties": {}
		},
		"hidden": true,
		"message": "A message",
		"minorEdit": true,
		"number": 1,
		"syncRev": "123456",
		"when": "2020-01-01T00:00:00Z"
	},
	"versionRef": {
		"expanded": false,
		"idProperties": {}
	}
}
```

## Workflow Library Example

[Get Content by Id with Confluence Data Center and Send Results Via Email](https://library.blinkops.com/workflows/get-content-by-id-with-confluence-data-center-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-content-by-id-with-confluence-data-center-and-send-results-via-email/canvas" />
</div>
