Skip to Content
SeyloDocs

Get a person

GET
/api/v1/users.get

Returns one account with every grant it holds on projects and services.

Needs users.view, which owners and admins hold. Available to MCP clients and the assistant.

Authorization

cookieseylo_session<token>

Query Parameters

userId*string

Panel-issued id.

Match^[a-z0-9]{16}$

Response Body

Success.

application/json
  1. response
user*
grants*array<>
Example Request
curl -X GET 'https://example.com/api/v1/users.get?userId=string'
Example Response
{  "user": {    "id": "string",    "email": "[email protected]",    "name": "string",    "role": "owner",    "status": "active",    "twoFactor": true,    "passkeyCount": 0,    "githubLogin": "string",    "grantCount": 0,    "lastLoginAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z"  },  "grants": [    {      "id": "string",      "userId": "string",      "scopeType": "project",      "scopeId": "string",      "scopeName": "string",      "projectId": "string",      "actions": [        "string"      ],      "createdBy": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}