Skip to content

WordPress - Get Users

This module allows querying and searching users from a WordPress site. Supports filters by role, search by name or email, and getting a specific user by ID.

FieldDescriptionExample
urlWordPress site base URLhttps://my-site.com
usernameWordPress usernameadmin
application_passwordApplication password generated in WordPressxxxx xxxx xxxx xxxx
FieldTypeRequiredDescription
credentials_idcredentialsYesWordPress credential
user_idtextNoSpecific ID. If empty, lists all
searchtextNoSearch by name or email
rolesselectNoFilter: All, Administrator, Editor, Author, Subscriber
per_pagenumberNoResults per query (1-100). Default: 10
{
"success": true,
"users": [
{
"id": 1,
"name": "Juan Perez",
"slug": "juan-perez",
"email": "juan@misitio.com",
"roles": ["administrator"],
"avatar_urls": { "96": "https://..." }
}
],
"total": 5
}
{
"per_page": 100
}
{
"search": "Juan"
}
{
"roles": "editor"
}
  • The user ID can be used as author in the Create Post node.
  • Requires administrator permissions to view emails and roles of other users.
  • Users with “subscriber” role cannot create content.
  • WordpressCreatePost - Create post specifying the author by ID
  • WordpressGetPosts - Get posts from a specific author