Skip to content
Maua.Culturewire

WordPress

Posts, pages, media and users of your website

E-commerceCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Website address (https://…)RequiredHTTPS URL
    • WordPress usernameRequired
    • Application passwordSecretRequired

    Where to find them

    In the WordPress dashboard: “Users” → “Profile” → “Application Passwords” section. Enter a name (e.g. Maua.Culturewire), click “Add New Application Password” and copy it (it is shown only once; spaces do not matter). Requires WordPress 5.6 or later, https and permalinks other than “Plain”. Access will have the permissions of that user.

Tools (1)

  • WordPress API requestWORDPRESS_SEND_REQUEST

    Authenticated call to the WordPress API ({url}/wp-json). Any endpoint of the API is allowed. Examples: GET /wp/v2/posts?per_page=10&status=draft,publish&context=edit, POST /wp/v2/posts {"title": "…", "content": "…", "status": "draft"}, POST /wp/v2/posts/{id} (update), GET /wp/v2/pages, GET /wp/v2/categories, GET /wp/v2/comments, POST /wp/v2/media (body_base64 + content_type + Content-Disposition header: attachment; filename=photo.jpg), GET /wp/v2/plugins.

    Required scopes

    No scopes required

    Input

    WordPress API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.