API reference/Client logins
List a site's client logins
Try itWho at the client's business can sign in to edit this site, what each may do, and the invitations still waiting.
GET
/api/v1/sites/{site_id}/loginsAuthentication
An API key as Authorization: Bearer or x-api-key. It needs the clients:read scope — read clients.
clients:readRead onlyMCP tool: list_client_logins
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/logins' \
-H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"{
"site_id": "SITE_ID"
}{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"email": {
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
},
"client_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
}
},
"required": [
"id",
"email",
"name",
"permissions",
"client_id",
"created_at"
],
"additionalProperties": false
}
},
"invitations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"email": {
"type": "string"
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
},
"expires_at": {
"type": "string"
},
"created_at": {
"type": "string"
}
},
"required": [
"id",
"email",
"permissions",
"expires_at",
"created_at"
],
"additionalProperties": false
}
}
},
"required": [
"data",
"invitations"
],
"additionalProperties": false
}