Contents
On this page

Get Member - Plugixa Team

GET /plugixateam/v1/members/{id}

Read one member with their groups, photo, social links, skills and custom field values.

Needs a signed-in WordPress user with the plugixa_team_edit capability, which administrators and editors get when the plugin is activated, or manage_options. Drafts and hidden members are returned too.

Request

GET https://your-site.example/wp-json/plugixateam/v1/members/57

Path parameters

Name Type Description
id integer The member’s id

Responses

200 OK. data is the member.

{
  "success": true,
  "message": "",
  "data": {
    "id": "57",
    "first_name": "Amira",
    "last_name": "Haddad",
    "slug": "amira-haddad",
    "job_title": "Head of Design",
    "department": "Design",
    "bio": "<p>Amira leads the product design team.</p>",
    "short_bio": "Leads product design.",
    "photo_id": "112",
    "email": "amira@example.com",
    "phone": "+44 20 7946 0958",
    "mobile": null,
    "website_url": "https://amira.example",
    "location": "London",
    "social_links": [
      {
        "platform": "linkedin",
        "url": "https://www.linkedin.com/in/amira-example"
      }
    ],
    "skills": [
      {
        "name": "UX research",
        "percentage": 90
      }
    ],
    "ribbon_text": null,
    "ribbon_color": null,
    "is_featured": "1",
    "status": "published",
    "display_order": "0",
    "parent_id": null,
    "hire_date": "2024-03-01",
    "custom_fields": [],
    "source": "manual",
    "language_code": null,
    "translation_group": null,
    "created_at": "2026-11-12 09:30:00",
    "created_by": "1",
    "modified_at": null,
    "modified_by": null,
    "groups": [
      {
        "id": 3,
        "name": "Leadership",
        "slug": "leadership"
      }
    ],
    "photo": {
      "id": 112,
      "url": "https://your-site.example/wp-content/uploads/2026/11/amira.jpg",
      "thumbnail": "https://your-site.example/wp-content/uploads/2026/11/amira-150x150.jpg",
      "alt": "Amira Haddad",
      "title": "amira"
    },
    "meta": {
      "pronouns": "she/her"
    },
    "author_name": "Site Admin"
  }
}
Field Type Meaning
data.id string The member’s id, as a numeric string
data.first_name, data.last_name string|null The name
data.slug string Unique URL name
data.job_title, data.department, data.location string|null Plain text
data.bio string|null HTML
data.short_bio string|null Plain text
data.email, data.phone, data.mobile, data.website_url string|null Contact details
data.photo_id string|null Media library attachment id
data.photo object|null The photo’s id, url, thumbnail URL, alt text and title, or null when there is none
data.social_links array { "platform", "url" } pairs
data.skills array The skills, as stored
data.is_featured string "1" or "0"
data.status string published, draft or hidden
data.display_order string Position in the overall order
data.parent_id string|null Another member’s id
data.hire_date string|null YYYY-MM-DD
data.source string manual for members added in the admin or over the API, form for front-end submissions
data.groups array The groups the member belongs to: id (integer), name, slug, sorted by name
data.meta object Custom field values, keyed by field key. Values are strings
data.custom_fields object|array Older free-form data stored on the member; custom field values live in meta
data.language_code, data.translation_group string|null Set when WPML or Polylang is active
data.created_at, data.modified_at string|null Site-time datetimes
data.created_by, data.modified_by string|null WordPress user ids
data.author_name string Display name of the user who created the member, or Unknown

Numbers and flags from the member row come back as strings ("57", "1"), exactly as the database returns them. Cast them on your side. With WPML or Polylang active, data.translations lists the member’s translations as { "id", "language_code" } pairs, and an empty language_code is reported as the default language.

Errors

Status Code When
404 rest_error No member with that id.

Plus the errors every endpoint can return.

Examples

curl -s "https://your-site.example/wp-json/plugixateam/v1/members/57" \
  -u "admin:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixateam/v1/members/57');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERPWD        => 'admin:' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const auth = btoa(`admin:${process.env.WP_APP_PASSWORD}`);
const response = await fetch('https://your-site.example/wp-json/plugixateam/v1/members/57', {
  headers: {
    'Authorization': `Basic ${auth}`,
  },
});
const { data } = await response.json();

Quick Links

Share