List the connected person's active company memberships
/api/v1/assistant/me
Optional read-only connector, disabled by default. Filters apply before pagination. A companyId must identify a verified active membership; select explicitly when several companies are returned by assistant-account. Unknown query fields and repeated parameters are rejected. No userId argument is accepted.
Authentication does not grant every action. Company scope, roles and current record access still apply. Protected writes require CSRF verification; company writes also require recent sign-in. Read the authentication guide.
// Run only in your authorised same-origin test application.
const response = await fetch('/api/v1/assistant/me', {
method: 'GET',
credentials: 'same-origin',
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
// Inspect Content-Type before reading JSON, text or a download.
// A 204 response has no body. Handle errors using the feature guide.Request parameters
No parameters declared in the contract.
Responses
200 Authorised bounded read result
application/json
Schema: ConnectorAccount
companiesarray | null · required- See the definition for constraints and nested fields.
Complete schema definition
{
"additionalProperties": false,
"properties": {
"companies": {
"items": {
"$ref": "#/components/schemas/ConnectorMembership"
},
"type": [
"array",
"null"
]
}
},
"required": [
"companies"
],
"type": "object"
}401 Authentication, authority, input, concurrency or read failure
application/json
errorstring · required- See the definition for constraints and nested fields.
Complete schema definition
{
"properties": {
"error": {
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}text/plain
Complete schema definition
{
"type": "string"
}403 Authentication, authority, input, concurrency or read failure
application/json
errorstring · required- See the definition for constraints and nested fields.
Complete schema definition
{
"properties": {
"error": {
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}text/plain
Complete schema definition
{
"type": "string"
}422 Authentication, authority, input, concurrency or read failure
application/json
errorstring · required- See the definition for constraints and nested fields.
Complete schema definition
{
"properties": {
"error": {
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}text/plain
Complete schema definition
{
"type": "string"
}429 Authentication, authority, input, concurrency or read failure
application/json
errorstring · required- See the definition for constraints and nested fields.
Complete schema definition
{
"properties": {
"error": {
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}text/plain
Complete schema definition
{
"type": "string"
}503 Authentication, authority, input, concurrency or read failure
application/json
errorstring · required- See the definition for constraints and nested fields.
Complete schema definition
{
"properties": {
"error": {
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}text/plain
Complete schema definition
{
"type": "string"
}The default error response can cover several status codes. Read error handling and retry guidance.
Referenced schemas
Expand a named definition to inspect nested fields and references. The download contains the complete OpenAPI document.
ConnectorAccount
{
"additionalProperties": false,
"properties": {
"companies": {
"items": {
"$ref": "#/components/schemas/ConnectorMembership"
},
"type": [
"array",
"null"
]
}
},
"required": [
"companies"
],
"type": "object"
}ConnectorMembership
{
"additionalProperties": false,
"properties": {
"canSearchUsers": {
"type": "boolean"
},
"company": {
"type": "string"
},
"companyId": {
"type": "string"
},
"name": {
"type": "string"
},
"roles": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"userId": {
"type": "string"
}
},
"required": [
"companyId",
"company",
"userId",
"name",
"roles",
"canSearchUsers"
],
"type": "object"
}Operation ID: assistant-account · Contract 0.0.0-dev