Docs
whoami
Tell you who you are acting as: the heyeveryone account (email, name, onboarding), and for an agent its name and the workspaces it may use, with `access` (read: list and read only) and Autopilot (`autoPublish`, off by default: publish without a person confirming, only on `autopilot.channels`, up to `autopilot.dailyCap` posts per channel in 24 hours). Call it at the start of a session, with list_workspaces. Elsewhere scheduling tools put posts in Updates for a person to confirm.
Tell you who you are acting as: the heyeveryone account (email, name, onboarding), and for an agent its name and the workspaces it may use, with access (read: list and read only) and Autopilot (autoPublish, off by default: publish without a person confirming, only on autopilot.channels, up to autopilot.dailyCap posts per channel in 24 hours). Call it at the start of a session, with list_workspaces. Elsewhere scheduling tools put posts in Updates for a person to confirm.
Access and cost
- Kind: query
- Scope: account
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {},
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"actor": {
"enum": [
"member",
"agent"
],
"type": "string"
},
"account": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"email": {
"type": "string"
},
"displayName": {
"type": [
"string",
"null"
]
},
"isStaff": {
"type": "boolean"
},
"createdAt": {
"format": "date-time",
"type": "string"
},
"onboarding": {
"additionalProperties": false,
"properties": {
"step": {
"anyOf": [
{
"enum": [
"workspace",
"channel",
"agent",
"first_post"
],
"type": "string"
},
{
"type": "null"
}
]
},
"workspaceId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"completedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"step",
"workspaceId",
"completedAt"
],
"type": "object"
}
},
"required": [
"id",
"email",
"displayName",
"isStaff",
"createdAt",
"onboarding"
],
"type": "object"
},
"agent": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"name": {
"type": "string"
},
"kind": {
"enum": [
"oauth",
"personal_token"
],
"type": "string"
}
},
"required": [
"id",
"name",
"kind"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "The connected agent you are, or null for a signed-in person."
},
"workspaces": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"name": {
"type": "string"
},
"role": {
"description": "The account's role in the workspace.",
"enum": [
"owner",
"editor",
"viewer",
"commenter",
"approver"
],
"type": "string"
},
"autoPublish": {
"description": "Autopilot is on: you may schedule and publish without a person confirming, on `autopilot.channels`.",
"type": "boolean"
},
"access": {
"description": "read: you can list and read here, not create, edit, schedule, publish or comment.",
"enum": [
"read",
"write"
],
"type": "string"
},
"autopilot": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"channels": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"platform": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"usedLast24h": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"platform",
"name",
"usedLast24h"
],
"type": "object"
},
"type": "array"
},
"dailyCap": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"usedLast24h": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"channels",
"dailyCap",
"usedLast24h"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Your Autopilot here; null for a person or when it is off."
}
},
"required": [
"id",
"name",
"role",
"autoPublish",
"access",
"autopilot"
],
"type": "object"
},
"type": "array"
},
"appUrl": {
"description": "The heyeveryone web app, for links you give the person.",
"type": "string"
}
},
"required": [
"actor",
"account",
"agent",
"workspaces",
"appUrl"
],
"type": "object"
}Errors
[]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true,
"title": "Who am I"
}