Skip to content
API reference/Client logins

List a site's client logins

Try it

Who 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}/logins

Authentication

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
curl -X GET 'https://websites.workflowcorp.com/api/v1/sites/SITE_ID/logins' \
  -H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"
Example arguments
{
  "site_id": "SITE_ID"
}
Response schema
{
  "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
}