DokuWiki

App · 22 actions

Keep your DokuWiki up to date: save and append to pages from workflows, read a page as wiki text or HTML, search the wiki, follow its recent changes and revisions, and upload or download media files. Start a workflow when a page is created or changed, or a media file is uploaded.

Actions

ActionWhat it does
Append to pageAdd text to the end of a page, such as a line in a running log.
Check permissionCheck what the connected user may do with a page or a media file under the wiki's access rules: read, edit, create, upload or delete.
Delete media fileDelete a media file.
Delete pageDelete a page.
Get current userGet the wiki user the connection acts as, with their groups.
Get media fileDownload a media file from the wiki, to attach to an email or hand to another step.
Get media file detailsGet a media file's size, when it was last changed and by whom, without downloading it.
Get pageGet what a page says, in DokuWiki's wiki syntax, with who last changed it and when.
Get page as HTMLGet a page as the wiki shows it, as HTML, such as for an email or an AI step.
Get page detailsGet who last changed a page and when, its size and what the connected user may do with it, without its text.
Get wiki detailsGet the wiki's title, its DokuWiki release and the time on its clock.
List backlinksList the pages that link to a page, such as before renaming or deleting it.
List media filesList the media files (images, PDFs and other uploads) in a namespace, or in the whole wiki.
List page linksList the links on a page: to other pages, to web addresses and to other wikis.
List page revisionsList a page's saves, newest first, with who made each and its summary.
List pagesList the pages in a namespace, or in the whole wiki, by ID.
List pages using a media fileList the pages that show or link to a media file, such as before deleting it.
List recent media changesList the media files uploaded, replaced or deleted lately, newest first, each with its latest change.
List recent page changesList the pages changed lately, newest first, each with its latest change: who made it, its summary and whether the page was created, edited or deleted.
Save pageCreate a page, or replace what an existing page says.
Search pagesSearch the text of the wiki's pages the way its search box does, best match first.
Upload media fileUpload a file to the wiki's media, where pages can show or link to it.

Append to page

Add text to the end of a page, such as a line in a running log. A page that doesn't exist yet is created.

Inputs

PagepagetextRequired
The page's ID, such as team:handbook, or its link in the wiki.
TexttexttextRequired
The text to add, in DokuWiki's wiki syntax. It starts on a new line.
Summarysummarytext
A short note on what changed, shown in the page's revisions.
Minor editminortrue/false
Mark the save as a minor edit, which the wiki leaves out of its change notifications.Default: false.

Outputs

authortext
The login of who saved it; empty in a list
hashtext
An MD5 hash of its text, to tell whether it changed
idtext
The page's ID, such as team:handbook
modified_attext
When it was saved (ISO 8601, UTC)
namespacetext
The namespace it is in, such as team; empty at the top
permissiontext
What the connected user may do with it: none, read, edit, create, upload, delete or admin, each including the ones before it
permission_levelnumber
DokuWiki's number for that permission: 0, 1, 2, 4, 8, 16 or 255 for an admin
revisionnumber
The revision's number: when it was saved, in seconds
sizenumber
Its size in bytes
titletext
The page's title: its first heading if the wiki shows headings as titles, otherwise its ID
urltext
Its link in the wiki
Example output
{
  "author": "ada",
  "hash": "2180b7e42bccbade09859a3d320ea17b",
  "id": "team:handbook",
  "modified_at": "2026-11-17T00:50:17Z",
  "namespace": "team",
  "permission": "upload",
  "permission_level": 8,
  "revision": 1794876617,
  "size": 214,
  "title": "Team Handbook",
  "url": "https://example.com/wiki/doku.php?id=team:handbook"
}

Check permission

Check what the connected user may do with a page or a media file under the wiki's access rules: read, edit, create, upload or delete.

Inputs

PagepagetextRequired
The ID of a page or a media file, such as team:handbook, or of one that doesn't exist yet.

Outputs

can_createtrue/false
Whether they may create a page there
can_deletetrue/false
Whether they may delete media files there
can_edittrue/false
Whether they may edit a page there
can_readtrue/false
Whether the connected user may read it
can_uploadtrue/false
Whether they may upload media files there
idtext
The ID that was checked
permissiontext
What the connected user may do with it: none, read, edit, create, upload, delete or admin, each including the ones before it
permission_levelnumber
DokuWiki's number for that permission: 0, 1, 2, 4, 8, 16 or 255 for an admin
Example output
{
  "can_create": true,
  "can_delete": false,
  "can_edit": true,
  "can_read": true,
  "can_upload": true,
  "id": "team:handbook",
  "permission": "upload",
  "permission_level": 8
}

Delete media file

Delete a media file. The wiki refuses while a page still shows or links to it, and the connected user needs the Delete permission in its namespace.

Inputs

Media filemediatextRequired
The file's ID, such as team:reports:q3.pdf, or its link in the wiki.

Outputs

deletedtrue/false
True once it is deleted
idtext
The ID of the file deleted
Example output
{
  "deleted": true,
  "id": "team:reports:q3.pdf"
}

Delete page

Delete a page. Its old revisions stay in the wiki, where the page can be restored from them.

Inputs

PagepagetextRequired
The page's ID, such as team:handbook, or its link in the wiki.
Summarysummarytext
A short note on what changed, shown in the page's revisions.

Outputs

deletedtrue/false
True once it is deleted
idtext
The ID of the page deleted
urltext
Where the page was; its old revisions are still there
Example output
{
  "deleted": true,
  "id": "team:old-notes",
  "url": "https://example.com/wiki/doku.php?id=team:old-notes"
}

Get current user

Get the wiki user the connection acts as, with their groups.

Inputs

None.

Outputs

emailtext
Their email address
groupslist
The groups they are in
is_admintrue/false
Whether they are a wiki admin
is_managertrue/false
Whether they are a wiki manager
logintext
The user's login name
nametext
Their full name
Example output
{
  "email": "ada@example.com",
  "groups": [
    "user"
  ],
  "is_admin": false,
  "is_manager": false,
  "login": "ada",
  "name": "Ada Lovelace"
}

Get media file

Download a media file from the wiki, to attach to an email or hand to another step.

Inputs

Media filemediatextRequired
The file's ID, such as team:reports:q3.pdf, or its link in the wiki.
Revisionrevisiontext
An older revision of the file: its revision number from another DokuWiki step, or the date and time it was saved. Leave blank for the current one.

Outputs

content_typetext
The file's type, such as application/pdf
document_reftext
The downloaded file, to hand to another step
document_urltext
A link to the downloaded file in Lodol
filenametext
The file's name
idtext
The file's ID in the wiki
modified_attext
When that revision was saved (ISO 8601, UTC)
revisionnumber
The revision downloaded
size_bytesnumber
Its size in bytes
urltext
Its link in the wiki, for someone signed in there
Example output
{
  "content_type": "application/pdf",
  "document_ref": "doc_0123456789abcdef0123456789abcdef",
  "document_url": "/actions/core/serve-document/doc_0123456789abcdef0123456789abcdef",
  "filename": "q3.pdf",
  "id": "team:reports:q3.pdf",
  "modified_at": "2026-11-17T00:51:12Z",
  "revision": 1794876672,
  "size_bytes": 48213,
  "url": "https://example.com/wiki/lib/exe/fetch.php?media=team:reports:q3.pdf"
}

Get media file details

Get a media file's size, when it was last changed and by whom, without downloading it.

Inputs

Media filemediatextRequired
The file's ID, such as team:reports:q3.pdf, or its link in the wiki.
Revisionrevisiontext
An older revision of the file: its revision number from another DokuWiki step, or the date and time it was saved. Leave blank for the current one.

Outputs

authortext
The login of who saved it; empty in a list
hashtext
An MD5 hash of the file, to tell whether it changed
idtext
The file's ID, such as team:reports:q3.pdf
is_imagetrue/false
Whether it is an image
modified_attext
When it was saved (ISO 8601, UTC)
nametext
The file's name, such as q3.pdf
namespacetext
The namespace it is in
permissiontext
What the connected user may do with it: none, read, edit, create, upload, delete or admin, each including the ones before it
permission_levelnumber
DokuWiki's number for that permission: 0, 1, 2, 4, 8, 16 or 255 for an admin
revisionnumber
The revision's number: when it was saved, in seconds
sizenumber
Its size in bytes
urltext
Its link in the wiki, for someone signed in there
Example output
{
  "author": "ada",
  "hash": "aa784480ced9e2483e062539d8ccf660",
  "id": "team:reports:q3.pdf",
  "is_image": false,
  "modified_at": "2026-11-17T00:51:12Z",
  "name": "q3.pdf",
  "namespace": "team:reports",
  "permission": "upload",
  "permission_level": 8,
  "revision": 1794876672,
  "size": 48213,
  "url": "https://example.com/wiki/lib/exe/fetch.php?media=team:reports:q3.pdf"
}

Get page

Get what a page says, in DokuWiki's wiki syntax, with who last changed it and when. Says whether the page exists rather than failing when it doesn't.

Inputs

PagepagetextRequired
The page's ID, such as team:handbook, or its link in the wiki.
Revisionrevisiontext
An older revision of the page: its revision number from another DokuWiki step, or the date and time it was saved. Leave blank for the current one.

Outputs

authortext
The login of who saved it; empty in a list
existstrue/false
Whether there is such a page (or such a revision of it)
hashtext
An MD5 hash of its text, to tell whether it changed
idtext
The page's ID, such as team:handbook
modified_attext
When it was saved (ISO 8601, UTC)
namespacetext
The namespace it is in, such as team; empty at the top
permissiontext
What the connected user may do with it: none, read, edit, create, upload, delete or admin, each including the ones before it
permission_levelnumber
DokuWiki's number for that permission: 0, 1, 2, 4, 8, 16 or 255 for an admin
revisionnumber
The revision's number: when it was saved, in seconds
sizenumber
Its size in bytes
texttext
What the page says, in DokuWiki's wiki syntax
titletext
The page's title: its first heading if the wiki shows headings as titles, otherwise its ID
urltext
Its link in the wiki
Example output
{
  "author": "ada",
  "exists": true,
  "hash": "2180b7e42bccbade09859a3d320ea17b",
  "id": "team:handbook",
  "modified_at": "2026-11-17T00:50:17Z",
  "namespace": "team",
  "permission": "upload",
  "permission_level": 8,
  "revision": 1794876617,
  "size": 214,
  "text": "====== Team Handbook ======\n\nWelcome to the team.\n",
  "title": "Team Handbook",
  "url": "https://example.com/wiki/doku.php?id=team:handbook"
}

Get page as HTML

Get a page as the wiki shows it, as HTML, such as for an email or an AI step.

Inputs

PagepagetextRequired
The page's ID, such as team:handbook, or its link in the wiki.
Revisionrevisiontext
An older revision of the page: its revision number from another DokuWiki step, or the date and time it was saved. Leave blank for the current one.

Outputs

htmltext
The page as HTML, as the wiki shows it, with whole links
idtext
The page's ID
revisionnumber
The revision asked for; 0 for the current one
urltext
Its link in the wiki
Example output
{
  "html": "<h1 id=\"team_handbook\">Team Handbook</h1>\n<p>Welcome to the team.</p>",
  "id": "team:handbook",
  "revision": 0,
  "url": "https://example.com/wiki/doku.php?id=team:handbook"
}

Get page details

Get who last changed a page and when, its size and what the connected user may do with it, without its text.

Inputs

PagepagetextRequired
The page's ID, such as team:handbook, or its link in the wiki.
Revisionrevisiontext
An older revision of the page: its revision number from another DokuWiki step, or the date and time it was saved. Leave blank for the current one.

Outputs

authortext
The login of who saved it; empty in a list
hashtext
An MD5 hash of its text, to tell whether it changed
idtext
The page's ID, such as team:handbook
modified_attext
When it was saved (ISO 8601, UTC)
namespacetext
The namespace it is in, such as team; empty at the top
permissiontext
What the connected user may do with it: none, read, edit, create, upload, delete or admin, each including the ones before it
permission_levelnumber
DokuWiki's number for that permission: 0, 1, 2, 4, 8, 16 or 255 for an admin
revisionnumber
The revision's number: when it was saved, in seconds
sizenumber
Its size in bytes
titletext
The page's title: its first heading if the wiki shows headings as titles, otherwise its ID
urltext
Its link in the wiki
Example output
{
  "author": "ada",
  "hash": "2180b7e42bccbade09859a3d320ea17b",
  "id": "team:handbook",
  "modified_at": "2026-11-17T00:50:17Z",
  "namespace": "team",
  "permission": "upload",
  "permission_level": 8,
  "revision": 1794876617,
  "size": 214,
  "title": "Team Handbook",
  "url": "https://example.com/wiki/doku.php?id=team:handbook"
}

Get wiki details

Get the wiki's title, its DokuWiki release and the time on its clock.

Inputs

None.

Outputs

api_versionnumber
The version of its remote API
timetext
The wiki's clock (ISO 8601, UTC)
titletext
The wiki's title
urltext
The wiki's address
versiontext
Its DokuWiki release, such as Release 2025-05-14b "Librarian"
Example output
{
  "api_version": 13,
  "time": "2026-11-17T00:52:00Z",
  "title": "Team Wiki",
  "url": "https://example.com/wiki",
  "version": "Release 2025-05-14b \"Librarian\""
}

List the pages that link to a page, such as before renaming or deleting it.

Inputs

PagepagetextRequired
The page's ID, such as team:handbook, or its link in the wiki.

Outputs

countnumber
How many there are
idtext
The ID of the page or media file they belong to
pageslist
The pages
Example output
{
  "count": 1,
  "id": "team:handbook",
  "pages": [
    {
      "id": "team:policies:leave",
      "url": "https://example.com/wiki/doku.php?id=team:policies:leave"
    }
  ]
}

List media files

List the media files (images, PDFs and other uploads) in a namespace, or in the whole wiki.

Inputs

Namespacenamespacetext
The namespace to list, such as team:reports. Leave blank for the top of the wiki.
Levels deepdepthnumber
How many levels of namespaces to look in: 1 for the namespace alone, 2 to include the namespaces inside it, 0 for every level. Defaults to 1.From 0 to 100.
How manylimitnumber
The most to list. Defaults to 100.From 1 to 1000.

Outputs

countnumber
How many are listed
fileslist
The media files, by ID
totalnumber
How many there are in all
Example output
{
  "count": 1,
  "files": [
    {
      "author": "ada",
      "hash": "aa784480ced9e2483e062539d8ccf660",
      "id": "team:reports:q3.pdf",
      "is_image": false,
      "modified_at": "2026-11-17T00:51:12Z",
      "name": "q3.pdf",
      "namespace": "team:reports",
      "permission": "upload",
      "permission_level": 8,
      "revision": 1794876672,
      "size": 48213,
      "url": "https://example.com/wiki/lib/exe/fetch.php?media=team:reports:q3.pdf"
    }
  ],
  "total": 1
}

List the links on a page: to other pages, to web addresses and to other wikis.

Inputs

PagepagetextRequired
The page's ID, such as team:handbook, or its link in the wiki.

Outputs

countnumber
How many there are
idtext
The ID of the page or media file they belong to
linkslist
The links, in the order they appear
Example output
{
  "count": 1,
  "id": "team:handbook",
  "links": [
    {
      "target": "team:onboarding",
      "type": "page",
      "url": "https://example.com/wiki/doku.php?id=team:onboarding"
    }
  ]
}

List page revisions

List a page's saves, newest first, with who made each and its summary. Give a revision's number to 'Get page' to read it.

Inputs

PagepagetextRequired
The page's ID, such as team:handbook, or its link in the wiki.
Skipskipnumber
How many of the newest revisions to pass over, to read further back. The wiki lists 20 at a time unless its admin changed that.At least 0.

Outputs

countnumber
How many there are
idtext
The ID of the page or media file they belong to
revisionslist
The revisions, newest first
Example output
{
  "count": 1,
  "id": "team:handbook",
  "revisions": [
    {
      "author": "ada",
      "change": "edited",
      "id": "team:handbook",
      "modified_at": "2026-11-17T00:50:17Z",
      "namespace": "team",
      "revision": 1794876617,
      "size_change": 43,
      "summary": "Add holidays",
      "url": "https://example.com/wiki/doku.php?id=team:handbook"
    }
  ]
}

List pages

List the pages in a namespace, or in the whole wiki, by ID.

Inputs

Namespacenamespacetext
The namespace to list, such as team or team:policies. Leave blank for the top of the wiki.
Levels deepdepthnumber
How many levels of namespaces to look in: 1 for the namespace alone, 2 to include the namespaces inside it, 0 for every level. Defaults to 1.From 0 to 100.
How manylimitnumber
The most to list. Defaults to 100.From 1 to 1000.

Outputs

countnumber
How many are listed
pageslist
The pages, by ID
totalnumber
How many there are in all
Example output
{
  "count": 1,
  "pages": [
    {
      "author": "ada",
      "hash": "2180b7e42bccbade09859a3d320ea17b",
      "id": "team:handbook",
      "modified_at": "2026-11-17T00:50:17Z",
      "namespace": "team",
      "permission": "upload",
      "permission_level": 8,
      "revision": 1794876617,
      "size": 214,
      "title": "Team Handbook",
      "url": "https://example.com/wiki/doku.php?id=team:handbook"
    }
  ],
  "total": 1
}

List pages using a media file

List the pages that show or link to a media file, such as before deleting it. Needs DokuWiki 2025-05-14 or later.

Inputs

Media filemediatextRequired
The file's ID, such as team:reports:q3.pdf, or its link in the wiki.

Outputs

countnumber
How many there are
idtext
The ID of the page or media file they belong to
pageslist
The pages
Example output
{
  "count": 1,
  "id": "team:reports:q3.pdf",
  "pages": [
    {
      "id": "team:policies:leave",
      "url": "https://example.com/wiki/doku.php?id=team:policies:leave"
    }
  ]
}

List recent media changes

List the media files uploaded, replaced or deleted lately, newest first, each with its latest change.

Inputs

Changed sincesincedate and time
Only changes made at or after this date and time. Leave blank for everything the wiki keeps as recent, which is seven days unless its admin changed that.
Namespacenamespacetext
Only files in this namespace, such as team, and the namespaces inside it. Leave blank for the whole wiki.

Outputs

changeslist
The changes, newest first, one for each page or file
countnumber
How many there are
Example output
{
  "changes": [
    {
      "author": "ada",
      "change": "created",
      "id": "team:reports:q3.pdf",
      "modified_at": "2026-11-17T00:50:17Z",
      "namespace": "team:reports",
      "revision": 1794876617,
      "size_change": 48213,
      "summary": "created",
      "url": "https://example.com/wiki/lib/exe/fetch.php?media=team:reports:q3.pdf"
    }
  ],
  "count": 1
}

List recent page changes

List the pages changed lately, newest first, each with its latest change: who made it, its summary and whether the page was created, edited or deleted.

Inputs

Changed sincesincedate and time
Only changes made at or after this date and time. Leave blank for everything the wiki keeps as recent, which is seven days unless its admin changed that.
Namespacenamespacetext
Only pages in this namespace, such as team, and the namespaces inside it. Leave blank for the whole wiki.

Outputs

changeslist
The changes, newest first, one for each page or file
countnumber
How many there are
Example output
{
  "changes": [
    {
      "author": "ada",
      "change": "edited",
      "id": "team:handbook",
      "modified_at": "2026-11-17T00:50:17Z",
      "namespace": "team",
      "revision": 1794876617,
      "size_change": 43,
      "summary": "Add holidays",
      "url": "https://example.com/wiki/doku.php?id=team:handbook"
    }
  ],
  "count": 1
}

Save page

Create a page, or replace what an existing page says. The page keeps its earlier revisions.

Inputs

PagepagetextRequired
The page's ID, such as team:handbook. A page that doesn't exist yet is created, with its namespaces.
TexttexttextRequired
What the page says, in DokuWiki's wiki syntax, such as ====== Title ====== for a heading. It replaces everything on the page.
Summarysummarytext
A short note on what changed, shown in the page's revisions.
Minor editminortrue/false
Mark the save as a minor edit, which the wiki leaves out of its change notifications.Default: false.

Outputs

authortext
The login of who saved it; empty in a list
hashtext
An MD5 hash of its text, to tell whether it changed
idtext
The page's ID, such as team:handbook
modified_attext
When it was saved (ISO 8601, UTC)
namespacetext
The namespace it is in, such as team; empty at the top
permissiontext
What the connected user may do with it: none, read, edit, create, upload, delete or admin, each including the ones before it
permission_levelnumber
DokuWiki's number for that permission: 0, 1, 2, 4, 8, 16 or 255 for an admin
revisionnumber
The revision's number: when it was saved, in seconds
sizenumber
Its size in bytes
titletext
The page's title: its first heading if the wiki shows headings as titles, otherwise its ID
urltext
Its link in the wiki
Example output
{
  "author": "ada",
  "hash": "2180b7e42bccbade09859a3d320ea17b",
  "id": "team:handbook",
  "modified_at": "2026-11-17T00:50:17Z",
  "namespace": "team",
  "permission": "upload",
  "permission_level": 8,
  "revision": 1794876617,
  "size": 214,
  "title": "Team Handbook",
  "url": "https://example.com/wiki/doku.php?id=team:handbook"
}

Search pages

Search the text of the wiki's pages the way its search box does, best match first.

Inputs

Search forquerytextRequired
Words to find, as typed in the wiki's search box. Put a phrase in quotes to find it exactly ("leave policy"), a minus before a word to leave out pages with it, and @team to search only that namespace.
How manylimitnumber
The most to list. Defaults to 25.From 1 to 1000.

Outputs

countnumber
How many are listed
resultslist
The pages found, best match first
totalnumber
How many there are in all
Example output
{
  "count": 1,
  "results": [
    {
      "id": "team:policies:leave",
      "namespace": "team:policies",
      "score": 3,
      "snippet": "Twenty-five days of annual leave.",
      "title": "Leave policy",
      "url": "https://example.com/wiki/doku.php?id=team:policies:leave"
    }
  ],
  "total": 1
}

Upload media file

Upload a file to the wiki's media, where pages can show or link to it. The wiki takes only the file types its admin allows: images, PDFs and office documents unless that was changed.

Inputs

Media filemediatextRequired
The ID to save the file under, such as team:reports:q3.pdf, ending the way the file's name does.
FilefiletextRequired
The file: upload one, pick one from an earlier step, or give a public https link to download.
Replace existing fileoverwritetrue/false
Replace a file that already has this ID. Left off, the step fails rather than replace one.Default: false.

Outputs

authortext
The login of who saved it; empty in a list
hashtext
An MD5 hash of the file, to tell whether it changed
idtext
The file's ID, such as team:reports:q3.pdf
is_imagetrue/false
Whether it is an image
modified_attext
When it was saved (ISO 8601, UTC)
nametext
The file's name, such as q3.pdf
namespacetext
The namespace it is in
permissiontext
What the connected user may do with it: none, read, edit, create, upload, delete or admin, each including the ones before it
permission_levelnumber
DokuWiki's number for that permission: 0, 1, 2, 4, 8, 16 or 255 for an admin
revisionnumber
The revision's number: when it was saved, in seconds
sizenumber
Its size in bytes
urltext
Its link in the wiki, for someone signed in there
Example output
{
  "author": "ada",
  "hash": "aa784480ced9e2483e062539d8ccf660",
  "id": "team:reports:q3.pdf",
  "is_image": false,
  "modified_at": "2026-11-17T00:51:12Z",
  "name": "q3.pdf",
  "namespace": "team:reports",
  "permission": "upload",
  "permission_level": 8,
  "revision": 1794876672,
  "size": 48213,
  "url": "https://example.com/wiki/lib/exe/fetch.php?media=team:reports:q3.pdf"
}

On this page