API reference/Site members
List a site's members
Try itWho may join, the pages marked members only, and every member — people waiting for approval first.
GET
/api/v1/sites/{site_id}/membersAuthentication
An API key as Authorization: Bearer or x-api-key. It needs the members:read scope — read a site's members and members-only pages.
members:readRead onlyMCP tool: list_site_members
Parameters
Named placeholders go in the path; the rest in the query string.
site_idstringPath · required- The site's id.1 to 100 characters
Response
200 with JSON on success (schema on the right). Errors use the standard envelope.
curl -X GET 'https://websites.workflowcorp.com/api/v1/sites/SITE_ID/members' \
-H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"{
"site_id": "SITE_ID"
}{
"type": "object",
"properties": {
"signup": {
"type": "string",
"enum": [
"approve",
"open",
"invite"
],
"description": "approve = anyone may ask, you approve each one; open = anyone who confirms their email; invite = only people you add."
},
"members_only_pages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"title",
"slug"
],
"additionalProperties": false
}
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"pending",
"approved"
],
"description": "pending = asked to join, waiting for approval; approved = may sign in."
},
"added_by": {
"type": "string",
"enum": [
"visitor",
"business"
]
},
"approved_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_sign_in_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"is_sample": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"email",
"status",
"added_by",
"approved_at",
"last_sign_in_at",
"created_at",
"is_sample"
],
"additionalProperties": false
}
}
},
"required": [
"signup",
"members_only_pages",
"data"
],
"additionalProperties": false
}