Skip to main content

Confluence Component

Confluence is an open and shared workspace platform provided by Atlassian. Use the Confluence component to manage spaces, pages, and content properties.

Component key: confluence

Description

Confluence is an open and shared workspace platform provided by Atlassian. Use the Confluence component to manage spaces, pages, and content properties.

Connections

Basic Connection

If you select Basic Auth and you are using Confluence cloud, you will need to supply your Confluence email and an API token to the connection. If you are on a locally hosted instance of Confluence, you will need to supply your Confluence email and password to the connection.

  1. Log in to Atlassian.
  2. Click Create API token.
  3. From the dialog that appears, enter a memorable and concise Label for your token and click Create.
  4. Click Copy to clipboard, then paste the token to the connection configuration of your integration.

For additional information on generating an API token from Confluence Cloud, refer to the Atlassian docs.

InputNotesExample
API Token
string
/ Required
apiToken
Provide an api token to authenticate all requests with. Cloud users need to generate an API token for this value.
yourApiToken
Email
string
/ Required
email
Provide a valid email for the given Confluence account you want to connect.
example.user@confluence.com
Host
string
/ Required
host
Provide a string value for the URL of your Confluence account.
Only <your-domain.atlassian.net> is entered here

Confluence OAuth 2.0

  1. Navigate to the Atlassian Developer Console and create a new Oauth 2.0 integration and give it a name. Under the app details section, take note of your client Id and client secret values that were generated.
  2. After you have saved those values, find the Authorization section and click configure on Oauth 2.0 (3LO). There you will be prompted to enter your redirect URL, which you can find under the credentials tab in the Prismatic settings. - https://oauth2.prismatic.io/callback - as a Redirect URL. Next navigate to the permissions. It is important that you remain consistent with the scopes you supply in both Confluence, and your Prismatic connection.

The default scopes on a new connection in Prismatic will be as follows (Classic Scopes): read:confluence-user read:confluence-space.summary read:confluence-props read:confluence-content.all read:confluence-content.summary read:confluence-content.permission read:confluence-groups readonly:content.attachment:confluence write:confluence-content write:confluence-spacewrite:confluence-file write:confluence-props manage:confluence-configuration search:confluence write:confluence-groups These scopes will provide access to the most of the actions in the Component component, but you may have to modify the scopes in both locations (Prismatic and Atlassian Developer Console) to meet your needs.

For more information on developing Confluence applications, follow the guide here. Next, you can configure an OAuth 2.0 connection within Prismatic.

Add a Confluence step to your integration. This will automatically create a Confluence connection config variable.

Ensure the connection is of type Confluence OAuth 2.0 Connection and enter the following details:

  • For Client ID and Client Secret enter the values that you got from the Atlassian Developer Console
  • As stated previously Scopes will default to the following: read:confluence-user read:confluence-space.summary read:confluence-props read:confluence-content.all read:confluence-content.summary read:confluence-content.permission read:confluence-groups readonly:content.attachment:confluence write:confluence-content write:confluence-spacewrite:confluence-file write:confluence-props manage:confluence-configuration search:confluence write:confluence-groups
  • From here you can do any additional configuration to match your use case using the Granular scopes tab.
InputDefaultNotesExample
API Site Override
string
apiSiteOverride
By default this connector connects to the first Confluence site this user has access to. If you have multiple Confluence sites, please specify which one you would like to connect to, you can use the site name or the full url.
example or https://example.atlassian.net
Authorize URL
string
/ Required
authorizeUrl
https://auth.atlassian.com/authorize?audience=api.atlassian.com&prompt=consent
The OAuth 2.0 Authorization URL for Confluence
 
Client ID
string
/ Required
clientId
 
 
Client Secret
password
/ Required
clientSecret
 
 
Scopes
string
/ Required
scopes
offline_access delete:attachment:confluence read:attachment:confluence write:attachment:confluence read:custom-content:confluence write:custom-content:confluence delete:custom-content:confluence read:page:confluence write:page:confluence delete:page:confluence read:space:confluence
A space-delimited set of one or more scopes to get the user's permission to access.
 
Token URL
string
/ Required
tokenUrl
https://auth.atlassian.com/oauth/token
The OAuth 2.0 Token URL for Confluence
 

Data Sources

List Pages

Returns all pages. | key: listPages | type: picklist

InputNotesExample
Connection
connection
/ Required
connectionInput
 
 
Space Id
string
spaceId
The space ID to list pages from.
123456

List Spaces

Returns all spaces. | key: listSpaces | type: picklist

InputNotes
Connection
connection
/ Required
connectionInput
 

Actions

Create Content Property for Attachment

Creates a new content property for an attachment. | key: createContentPropertyForAttachment

InputDefaultNotesExample
Attachment Id
string
/ Required
attachmentId
The Attachment Id.
123456
Body Data
code
/ Required
bodyData
The list of settings for this Function.
 
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 

{
"data": {
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
}

Create Content Property for Custom Content

Creates a new content property for a Custom Content. | key: createContentPropertyForCustomContent

InputDefaultNotesExample
Body Data
code
/ Required
bodyData
The list of settings for this Function.
 
Connection
connection
/ Required
connectionInput
 
 
 
Custom Content Id
string
/ Required
customContentId
The Custom Content Id.
123456
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 

{
"data": {
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
}

Create Content Property for Page

Creates a new content property for a page. | key: createContentPropertyForPage

InputDefaultNotesExample
Body Data
code
/ Required
bodyData
The list of settings for this Function.
 
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Page Id
string
/ Required
pageId
The Page Id.
123456

{
"data": {
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
}

Create Page

Creates a page in the space. | key: createPage

InputDefaultNotesExample
Body
code
/ Required
body
The body of the page.
 
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Embedded
boolean
embedded
Tag the content as embedded and content will be created in NCS.
 
Parent Id
string
parentId
The parent id.
123456
Private
boolean
privateInput
The page will be private. Only the user who creates this page will have permission to view and edit one.
 
Query Parameters
string
Key Value List
queryParameters
Query parameters to pass in to your request. Ex. Key: include-versions Value: true
 
Space Id
string
/ Required
spaceId
The Space Id.
123456
Status
string
/ Required
status
The status of the page.
 
Title
string
/ Required
title
Title of the page.
123456

{
"data": {
"id": "<string>",
"status": "current",
"title": "<string>",
"spaceId": "<string>",
"parentId": "<string>",
"parentType": "page",
"position": 57,
"authorId": "<string>",
"ownerId": "<string>",
"lastOwnerId": "<string>",
"createdAt": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"body": {
"storage": {
"representation": "<string>",
"value": "<string>"
},
"atlas_doc_format": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"_links": {
"webui": "<string>",
"editui": "<string>",
"tinyui": "<string>"
}
}
}

Delete Attachment

Deletes a specific attachment. | key: deleteAttachment

InputDefaultNotesExample
Attachment Id
string
/ Required
attachmentId
The Attachment Id.
123456
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Purge
boolean
purgeAttachment
If attempting to purge the attachment.
 

{
"data": null
}

Delete Content Property for a Custom Content

Deletes a content property for a Custom Content by its id. | key: deleteContentPropertyForCustomContent

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Custom Content Id
string
/ Required
customContentId
The Custom Content Id.
123456
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Property Id
string
/ Required
propertyId
The ID of the content property to be returned.
123456

{
"data": null
}

Delete Content Property for an Attachment

Deletes a content property for an attachment by its id. | key: deleteContentPropertyForAttachment

InputDefaultNotesExample
Attachment Id
string
/ Required
attachmentId
The Attachment Id.
123456
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Property Id
string
/ Required
propertyId
The ID of the content property to be returned.
123456

{
"data": null
}

Delete Content Property for Page

Deletes a content property for a page by its id. | key: deleteContentPropertyForPage

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Page Id
string
/ Required
pageId
The Page Id.
123456
Property Id
string
/ Required
propertyId
The ID of the content property to be returned.
123456

{
"data": null
}

Delete Page

Delete a page by id. | key: deletePage

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Draft
boolean
draft
If attempting to delete a page that is a draft.
 
Page Id
string
/ Required
pageId
The Page Id.
123456
Purge
boolean
purge
If attempting to purge the page.
 

{
"data": null
}

Get Attachment

Returns a specific attachment. | key: getAttachment

InputDefaultNotesExample
Attachment Id
string
/ Required
attachmentId
The Attachment Id.
123456
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Query Parameters
string
Key Value List
queryParameters
Query parameters to pass in to your request. Ex. Key: include-versions Value: true
 

{
"data": {
"id": "<string>",
"status": "current",
"title": "<string>",
"createdAt": "<string>",
"pageId": "<string>",
"blogPostId": "<string>",
"customContentId": "<string>",
"mediaType": "<string>",
"mediaTypeDescription": "<string>",
"comment": "<string>",
"fileId": "<string>",
"fileSize": 28,
"webuiLink": "<string>",
"downloadLink": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"_links": {
"webui": "<string>",
"download": "<string>"
}
}
}

Get Attachments for Page

Returns the attachments of specific page. | key: getPageAttachment

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Cursor
string
cursor
Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
c25hcHNob3RzLzE1NjQ4NjQ3MjMvMjU=
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Limit
string
limit
25
Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
25
Page Id
string
/ Required
pageId
The Page Id.
123456
Query Parameters
string
Key Value List
queryParameters
Query parameters to pass in to your request. Ex. Key: include-versions Value: true
 

{
"data": {
"results": [
{
"id": "<string>",
"status": "current",
"title": "<string>",
"createdAt": "<string>",
"pageId": "<string>",
"blogPostId": "<string>",
"customContentId": "<string>",
"mediaType": "<string>",
"mediaTypeDescription": "<string>",
"comment": "<string>",
"fileId": "<string>",
"fileSize": 28,
"webuiLink": "<string>",
"downloadLink": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"_links": {
"webui": "<string>",
"download": "<string>"
}
},
{
"id": "<string>",
"status": "current",
"title": "<string>",
"createdAt": "<string>",
"pageId": "<string>",
"blogPostId": "<string>",
"customContentId": "<string>",
"mediaType": "<string>",
"mediaTypeDescription": "<string>",
"comment": "<string>",
"fileId": "<string>",
"fileSize": 28,
"webuiLink": "<string>",
"downloadLink": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"_links": {
"webui": "<string>",
"download": "<string>"
}
}
],
"_links": {
"next": "<string>"
}
}
}

Get Content Properties for Custom Content

Retrieves a specific Content Property by ID that is attached to a specified custom content. | key: getContentPropertiesForCustomContent

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Custom Content Id
string
/ Required
customContentId
The Custom Content Id.
123456
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Property Id
string
/ Required
propertyId
The ID of the content property to be returned.
123456

{
"data": {
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
}

Get Content Property for Attachment

Retrieves a specific Content Property by ID that is attached to a specified attachment. | key: getContentPropertiesForAttachments

InputDefaultNotesExample
Attachment Id
string
/ Required
attachmentId
The Attachment Id.
123456
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Property Id
string
/ Required
propertyId
The ID of the content property to be returned.
123456

{
"data": {
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
}

Get Content Property for Page

Retrieves a specific Content Property by ID that is attached to a specified page. | key: getContentPropertiesForPage

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Page Id
string
/ Required
pageId
The Page Id.
123456
Property Id
string
/ Required
propertyId
The ID of the content property to be returned.
123456

{
"data": {
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
}

Get Page

Returns a specific Page. | key: getPage

InputDefaultNotesExample
Body Format
string
bodyFormat
The content format types to be returned in the body field of the response.
 
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Get Draft
string
getDraft
Retrieve the draft version of this page.
 
Include Favorited By Current User Status
boolean
includeFavoritedByCurrentUserStatus
Includes whether this page has been favorited by the current user.
 
Include Labels
boolean
includeLabels
Includes labels associated with this page in the response. The number of results will be limited to 50 and sorted in the default sort order.
 
Include Likes
boolean
includeLikes
Includes likes associated with this page in the response. The number of results will be limited to 50 and sorted in the default sort order.
 
Include Operations
boolean
includeOperations
Includes operations associated with this page in the response. The number of results will be limited to 50 and sorted in the default sort order.
 
Include Properties
boolean
includeProperties
Includes content properties associated with this page in the response. The number of results will be limited to 50 and sorted in the default sort order.
 
Include Version
boolean
includeVersion
Includes the current version associated with this page in the response.
 
Include Versions
boolean
includeVersions
Includes versions associated with this page in the response. The number of results will be limited to 50 and sorted in the default sort order.
 
Page Id
string
/ Required
pageId
The Page Id.
123456
Version
string
previousVersion
Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
47

{
"data": {
"id": "<string>",
"status": "current",
"title": "<string>",
"spaceId": "<string>",
"parentId": "<string>",
"parentType": "page",
"position": 57,
"authorId": "<string>",
"ownerId": "<string>",
"lastOwnerId": "<string>",
"createdAt": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"body": {
"storage": {
"representation": "<string>",
"value": "<string>"
},
"atlas_doc_format": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"_links": {
"webui": "<string>",
"editui": "<string>",
"tinyui": "<string>"
}
}
}

Get Space

Returns a specific space. | key: getSpace

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Query Parameters
string
Key Value List
queryParameters
Query parameters to pass in to your request. Ex. Key: include-versions Value: true
 
Space Id
string
/ Required
spaceId
The Space Id.
123456

{
"data": {
"id": "<string>",
"key": "<string>",
"name": "<string>",
"type": "global",
"status": "current",
"authorId": "<string>",
"createdAt": "<string>",
"homepageId": "<string>",
"description": {
"plain": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"icon": {
"path": "<string>",
"apiDownloadLink": "<string>"
},
"_links": {
"webui": "<string>"
}
}
}

List Attachments

Returns all attachments. | key: listAttachments

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Cursor
string
cursor
Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
c25hcHNob3RzLzE1NjQ4NjQ3MjMvMjU=
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Limit
string
limit
25
Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
25
Query Parameters
string
Key Value List
queryParameters
Query parameters to pass in to your request. Ex. Key: include-versions Value: true
 

{
"data": {
"results": [
{
"id": "<string>",
"status": "current",
"title": "<string>",
"createdAt": "<string>",
"pageId": "<string>",
"blogPostId": "<string>",
"customContentId": "<string>",
"mediaType": "<string>",
"mediaTypeDescription": "<string>",
"comment": "<string>",
"fileId": "<string>",
"fileSize": 28,
"webuiLink": "<string>",
"downloadLink": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"_links": {
"webui": "<string>",
"download": "<string>"
}
},
{
"id": "<string>",
"status": "current",
"title": "<string>",
"createdAt": "<string>",
"pageId": "<string>",
"blogPostId": "<string>",
"customContentId": "<string>",
"mediaType": "<string>",
"mediaTypeDescription": "<string>",
"comment": "<string>",
"fileId": "<string>",
"fileSize": 28,
"webuiLink": "<string>",
"downloadLink": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"_links": {
"webui": "<string>",
"download": "<string>"
}
}
],
"_links": {
"next": "<string>"
}
}
}

List Content Properties for Attachments

Retrieves all Content Properties tied to a specified attachment. | key: listContentPropertiesForAttachments

InputDefaultNotesExample
Attachment Id
string
/ Required
attachmentId
The Attachment Id.
123456
Connection
connection
/ Required
connectionInput
 
 
 
Cursor
string
cursor
Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
c25hcHNob3RzLzE1NjQ4NjQ3MjMvMjU=
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Limit
string
limit
25
Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
25
Query Parameters
string
Key Value List
queryParameters
Query parameters to pass in to your request. Ex. Key: include-versions Value: true
 
Sort
string
sort
Used to sort the result by a particular field.
 

{
"data": {
"results": [
{
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
},
{
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
],
"_links": {
"next": "<string>"
}
}
}

List Content Properties for Custom Content

Retrieves Content Properties tied to a specified Custom Content. | key: listContentPropertiesForCustomContent

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Cursor
string
cursor
Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
c25hcHNob3RzLzE1NjQ4NjQ3MjMvMjU=
Custom Content Id
string
/ Required
customContentId
The Custom Content Id.
123456
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Limit
string
limit
25
Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
25
Query Parameters
string
Key Value List
queryParameters
Query parameters to pass in to your request. Ex. Key: include-versions Value: true
 
Sort
string
sort
Used to sort the result by a particular field.
 

{
"data": {
"results": [
{
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
},
{
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
],
"_links": {
"next": "<string>"
}
}
}

List Content Properties for Page

Retrieves Content Properties tied to a specified page. | key: listContentPropertiesForPage

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Cursor
string
cursor
Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
c25hcHNob3RzLzE1NjQ4NjQ3MjMvMjU=
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Limit
string
limit
25
Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
25
Page Id
string
/ Required
pageId
The Page Id.
123456
Query Parameters
string
Key Value List
queryParameters
Query parameters to pass in to your request. Ex. Key: include-versions Value: true
 
Sort
string
sort
Used to sort the result by a particular field.
 

{
"data": {
"results": [
{
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
},
{
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
],
"_links": {
"next": "<string>"
}
}
}

List Pages

Returns all pages. | key: listPages

InputDefaultNotesExample
Body Format
string
bodyFormatPages
The content format types to be returned in the body field of the response.
 
Connection
connection
/ Required
connectionInput
 
 
 
Cursor
string
cursor
Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
c25hcHNob3RzLzE1NjQ4NjQ3MjMvMjU=
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Id
string
id
Filter the results based on page ids. Multiple page ids can be specified as a comma-separated list.
12345,789101
Limit
string
limit
25
Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
25
Sort
string
sort
Used to sort the result by a particular field.
 
Space Id
string
spaceIdFilter
Filter the results based on space ids. Multiple space ids can be specified as a comma-separated list.
12345,789101
Status
string
statusPages
Filter the results to pages based on their status. By default, current and archived are used. Valid values: current, archived, deleted, trashed
current,archived
Title
string
titlePages
Filter the results to pages based on their title.
My Page

{
"data": {
"results": [
{
"id": "<string>",
"status": "current",
"title": "<string>",
"spaceId": "<string>",
"parentId": "<string>",
"parentType": "page",
"position": 57,
"authorId": "<string>",
"ownerId": "<string>",
"lastOwnerId": "<string>",
"createdAt": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"body": {
"storage": {
"representation": "<string>",
"value": "<string>"
},
"atlas_doc_format": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"_links": {
"webui": "<string>",
"editui": "<string>",
"tinyui": "<string>"
}
},
{
"id": "<string>",
"status": "current",
"title": "<string>",
"spaceId": "<string>",
"parentId": "<string>",
"parentType": "page",
"position": 57,
"authorId": "<string>",
"ownerId": "<string>",
"lastOwnerId": "<string>",
"createdAt": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"body": {
"storage": {
"representation": "<string>",
"value": "<string>"
},
"atlas_doc_format": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"_links": {
"webui": "<string>",
"editui": "<string>",
"tinyui": "<string>"
}
}
],
"_links": {
"next": "<string>"
}
}
}

List Pages in Space

Returns all pages in a space. | key: listPagesInSpace

InputDefaultNotesExample
Body Format
string
bodyFormatPages
The content format types to be returned in the body field of the response.
 
Connection
connection
/ Required
connectionInput
 
 
 
Cursor
string
cursor
Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
c25hcHNob3RzLzE1NjQ4NjQ3MjMvMjU=
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Depth
string
depth
Filter the results to pages at the root level of the space or to all pages in the space.
 
Limit
string
limit
25
Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
25
Sort
string
sort
Used to sort the result by a particular field.
 
Space Id
string
/ Required
spaceId
The Space Id.
123456
Status
string
/ Required
status
The status of the page.
 
Title
string
titlePages
Filter the results to pages based on their title.
My Page

{
"data": {
"results": [
{
"id": "<string>",
"status": "current",
"title": "<string>",
"spaceId": "<string>",
"parentId": "<string>",
"parentType": "page",
"position": 57,
"authorId": "<string>",
"ownerId": "<string>",
"lastOwnerId": "<string>",
"createdAt": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"body": {
"storage": {
"representation": "<string>",
"value": "<string>"
},
"atlas_doc_format": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"_links": {
"webui": "<string>",
"editui": "<string>",
"tinyui": "<string>"
}
},
{
"id": "<string>",
"status": "current",
"title": "<string>",
"spaceId": "<string>",
"parentId": "<string>",
"parentType": "page",
"position": 57,
"authorId": "<string>",
"ownerId": "<string>",
"lastOwnerId": "<string>",
"createdAt": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"body": {
"storage": {
"representation": "<string>",
"value": "<string>"
},
"atlas_doc_format": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"_links": {
"webui": "<string>",
"editui": "<string>",
"tinyui": "<string>"
}
}
],
"_links": {
"next": "<string>"
}
}
}

List Spaces

Returns all spaces. | key: listSpaces

InputDefaultNotesExample
Connection
connection
/ Required
connectionInput
 
 
 
Cursor
string
cursor
Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
c25hcHNob3RzLzE1NjQ4NjQ3MjMvMjU=
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Limit
string
limit
25
Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
25
Query Parameters
string
Key Value List
queryParameters
Query parameters to pass in to your request. Ex. Key: include-versions Value: true
 

{
"data": {
"results": [
{
"id": "<string>",
"key": "<string>",
"name": "<string>",
"type": "global",
"status": "current",
"authorId": "<string>",
"createdAt": "<string>",
"homepageId": "<string>",
"description": {
"plain": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"icon": {
"path": "<string>",
"apiDownloadLink": "<string>"
},
"_links": {
"webui": "<string>"
}
},
{
"id": "<string>",
"key": "<string>",
"name": "<string>",
"type": "global",
"status": "current",
"authorId": "<string>",
"createdAt": "<string>",
"homepageId": "<string>",
"description": {
"plain": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"icon": {
"path": "<string>",
"apiDownloadLink": "<string>"
},
"_links": {
"webui": "<string>"
}
}
],
"_links": {
"next": "<string>"
}
}
}

Raw GraphQL Request

Send raw GraphQL request to Confluence | key: graphqlRequest

InputDefaultNotes
Connection
connection
/ Required
connection
 
 
Debug Request
boolean
/ Required
debug
false
When true, the entire request and response (including auth headers) will be logged out.
Headers
string
Key Value List
headers
Custom headers to send along with your request
Query or Mutation
code
/ Required
query
 
Variables
string
Key Value List
variables
Variables to pass in to your query or mutation

Raw Request

Send raw HTTP request to Confluence | key: rawRequest

InputDefaultNotesExample
Connection
connection
/ Required
connection
 
 
 
Data
string
data
The HTTP body payload to send to the URL.
{"exampleKey": "Example Data"}
Debug Request
boolean
debugRequest
false
Enabling this flag will log out the current request.
 
File Data
string
Key Value List
fileData
File Data to be sent as a multipart form upload.
[{key: "example.txt", value: "My File Contents"}]
File Data File Names
string
Key Value List
fileDataFileNames
File names to apply to the file data inputs. Keys must match the file data keys above.
 
Form Data
string
Key Value List
formData
The Form Data to be sent as a multipart form upload.
[{"key": "Example Key", "value": new Buffer("Hello World")}]
Header
string
Key Value List
headers
A list of headers to send with the request.
User-Agent: curl/7.64.1
Max Retry Count
string
maxRetries
0
The maximum number of retries to attempt.
 
Method
string
/ Required
method
The HTTP method to use.
 
Query Parameter
string
Key Value List
queryParams
A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
 
Response Type
string
/ Required
responseType
json
The type of data you expect in the response. You can request json, text, or binary data.
 
Retry On All Errors
boolean
retryAllErrors
false
If true, retries on all erroneous responses regardless of type.
 
Retry Delay (ms)
string
retryDelayMS
0
The delay in milliseconds between retries.
 
Timeout
string
timeout
The maximum time that a client will await a response to its request
2000
URL
string
/ Required
url
Input the path only (/wiki/api/v2/attachments/attachments), The base URL is already included (https://{your-domain}). For example, to connect to https://{your-domain}/wiki/api/v2/attachments, only /wiki/api/v2/attachments/attachments is entered in this field.
/wiki/api/v2/attachments/attachments
Use Exponential Backoff
boolean
useExponentialBackoff
false
Specifies whether to use a pre-defined exponential backoff strategy for retries.
 

Update Content Property for Attachment

Update a content property for attachment by its id. | key: updateContentPropertyForAttachment

InputDefaultNotesExample
Attachment Id
string
/ Required
attachmentId
The Attachment Id.
123456
Body Data
code
/ Required
bodyData
The list of settings for this Function.
 
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Property Id
string
/ Required
propertyId
The ID of the content property to be returned.
123456

{
"data": {
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
}

Update Content Property for Custom Content

Update a content property for a Custom Content by its id. | key: updateContentPropertyForCustomContent

InputDefaultNotesExample
Body Data
code
/ Required
bodyData
The list of settings for this Function.
 
Connection
connection
/ Required
connectionInput
 
 
 
Custom Content Id
string
/ Required
customContentId
The Custom Content Id.
123456
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Property Id
string
/ Required
propertyId
The ID of the content property to be returned.
123456

{
"data": {
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
}

Update Content Property for Page

Update a content property for a page by its id. | key: updateContentPropertyForPage

InputDefaultNotesExample
Body Data
code
/ Required
bodyData
The list of settings for this Function.
 
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Page Id
string
/ Required
pageId
The Page Id.
123456
Property Id
string
/ Required
propertyId
The ID of the content property to be returned.
123456

{
"data": {
"id": "<string>",
"key": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
}
}
}

Update Page

Update a page by id. | key: updatePage

InputDefaultNotesExample
Body
code
/ Required
body
The body of the page.
 
Connection
connection
/ Required
connectionInput
 
 
 
Debug Request
boolean
debug
false
Enabling this flag will log out the current request.
 
Page Id
string
/ Required
pageId
The Page Id.
123456
Parent Id
string
parentId
The parent id.
123456
Space Id
string
spaceId
The Space Id.
123456
Status
string
/ Required
status
The status of the page.
 
Title
string
/ Required
title
Title of the page.
123456
Version
code
/ Required
version
The version of the page.
 

{
"data": {
"id": "<string>",
"status": "current",
"title": "<string>",
"spaceId": "<string>",
"parentId": "<string>",
"parentType": "page",
"position": 57,
"authorId": "<string>",
"ownerId": "<string>",
"lastOwnerId": "<string>",
"createdAt": "<string>",
"version": {
"createdAt": "<string>",
"message": "<string>",
"number": 19,
"minorEdit": true,
"authorId": "<string>"
},
"body": {
"storage": {
"representation": "<string>",
"value": "<string>"
},
"atlas_doc_format": {
"representation": "<string>",
"value": "<string>"
},
"view": {
"representation": "<string>",
"value": "<string>"
}
},
"_links": {
"webui": "<string>",
"editui": "<string>",
"tinyui": "<string>"
}
}
}