{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
Reference
Get a user
One person, by id. A bot, a person in another workspace, or a guest members cannot see is user_not_found. Needs users:read. Limited to 100 requests a minute per installation.
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
{
"error": {
"code": "token_revoked",
"message": "The token has been revoked."
},
"ok": false,
"request_id": "F7p0mJcXk3tq2x0AAAAB"
}
Authorizations
Authorization
string
header
required
Bot token (wc_bot_live_… or wc_bot_test_…) from the OAuth install
Path Parameters
id
string
required
User id, usr_ prefixed
Response
The user
One user.
ok
enum<boolean>
required
Available options:
true
user
User · object
required
A person in the workspace. email is present only with the users:read.email scope, and only when the person lets colleagues see it; a removed person never has one. Phone numbers are never included.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Workchats Developer Docs","description":"Build integrations that send messages into Workchats as an installed App.","colors":{"primary":"#0077FF","light":"#4099FF","dark":"#005FCC"},"logo":{"light":"https://mintcdn.com/workchats/WdxP4zjamVj90oG9/logo/workchats-wordmark.svg?fit=max\u0026auto=format\u0026n=WdxP4zjamVj90oG9\u0026q=85\u0026s=bfed9e692205f253326fd0204ad44efa","dark":"https://mintcdn.com/workchats/WdxP4zjamVj90oG9/logo/workchats-wordmark.svg?fit=max\u0026auto=format\u0026n=WdxP4zjamVj90oG9\u0026q=85\u0026s=bfed9e692205f253326fd0204ad44efa","href":"https://developers.workchats.com"},"favicon":"https://mintcdn.com/workchats/WdxP4zjamVj90oG9/logo/workchats-icon.svg?fit=max\u0026auto=format\u0026n=WdxP4zjamVj90oG9\u0026q=85\u0026s=b9ab06a443e8b00f9b63948ea9485a3f","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"]}},"appearance":{"default":"light","strict":true},"background":{"color":{"light":"#FAFAFB"}},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}]},"footer":{"socials":{}},"fonts":{"heading":{"family":"Gilroy","weight":600,"source":"fonts/Gilroy-SemiBold.woff2","format":"woff2"},"body":{"family":"Gilroy","weight":500,"source":"fonts/Gilroy-Medium.woff2","format":"woff2"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"workchats","hasAudioNarration":false,"actualSubdomain":"workchats","customDomains":["developers.workchats.com"],"gitSource":{"type":"github","owner":"octogle","repo":"workchats_developer_docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aed83b3ef66732f564a59ad","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Reference","count":45},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"AI assistants (MCP)","count":7},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Policies","count":3},{"language":"default","tag":"Changelog","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Gilroy\";src:url(\"/fonts/Gilroy-Bold.woff2\") format(\"woff2\");font-weight:700;font-display:swap}:root{--wc-primary: #0077ff;--wc-ink: #101828;--wc-text-secondary: #707991;--wc-panel-border: #e6e8ee;--wc-radius-md: 8px;--wc-radius-lg: 12px;--wc-focus-ring: 0 0 0 3px rgba(0, 119, 255, 0.12)}h1,h2,h3,h4{letter-spacing:-0.3px;color:var(--wc-ink)}strong,b{font-weight:700}.card{border-radius:var(--wc-radius-lg);border-color:var(--wc-panel-border)}.callout,pre,.code-block{border-radius:var(--wc-radius-md)}input:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--wc-primary);outline-offset:2px;box-shadow:var(--wc-focus-ring)}"}]}
{"page":{"pagePath":"api-reference/dev/users/get-a-user","slug":"/api-reference/dev/users/get-a-user","pageMetadata":{"title":"Get a user","description":"One person, by id. A bot, a person in another workspace, or a guest members cannot see is `user_not_found`. Needs `users:read`. Limited to 100 requests a minute per installation.","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/users/{id}","href":"/api-reference/dev/users/get-a-user","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"One person, by id. A bot, a person in another workspace, or a guest members cannot see is \", _jsx(_components.code, {\n children: \"user_not_found\"\n }), \". Needs \", _jsx(_components.code, {\n children: \"users:read\"\n }), \". Limited to 100 requests a minute per installation.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get a user","description":"One person, by id. A bot, a person in another workspace, or a guest members cannot see is `user_not_found`. Needs `users:read`. Limited to 100 requests a minute per installation.","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/users/{id}","href":"/api-reference/dev/users/get-a-user","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"callbacks":{},"description":"One person, by id. A bot, a person in another workspace, or a guest members cannot see is `user_not_found`. Needs `users:read`. Limited to 100 requests a minute per installation.","operationId":"users.info","parameters":["707c7ff2-d714-4f61-a1de-e70b88224fc8"],"responses":{"200":"c6de33e5-2792-4e53-a048-33993ecaeab0","400":"ad76a966-b44a-494f-b321-f29e4104cc35","401":"7d0ad222-83da-4cd5-835a-5570cee701d9","403":"26f7ed95-5dd6-4f14-bced-7727e4b8f4aa","404":"94080f0a-62c6-4d57-8a72-c3708a53bd92","406":"41736723-16b6-4640-9b8f-dabe63ea8a56","429":"2a7fb9c7-595e-48c4-8fee-9e54b5cb3a84","500":"bc2fb53e-be46-456e-8bcf-fd5b4e2bd99e"},"security":["1f69fb0b-085d-403b-a55e-94b543b1f7d8"],"summary":"Get a user","tags":["Users"],"method":"get","type":"path","servers":["680c2dcd-5d59-4b20-9211-799c61247c77"],"path":"/v1/users/{id}","baseUrlOptions":["https://public-api.dev.workchats.com"],"title":"Get a user","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"707c7ff2-d714-4f61-a1de-e70b88224fc8":{"description":"User id, `usr_` prefixed","in":"path","name":"id","required":true,"schema":{"type":"string","isRequired":true,"description":"User id, `usr_` prefixed","uniqueKey":"","typeLabel":"string"}}},"responses":{"c6de33e5-2792-4e53-a048-33993ecaeab0":{"content":{"application/json":{"schema":{"description":"One user.","properties":{"ok":{"enum":[true],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"user":{"description":"A person in the workspace. `email` is present only with the `users:read.email` scope, and only when the person lets colleagues see it; a removed person never has one. Phone numbers are never included.","example":{"avatar_url":"https://cdn.workchats.com/a/9a1d2c3e.png","display_name":"Connor","email":"[email protected]","id":"usr_9a1d2c3e-4b5f-4a6b-8c7d-9e0f1a2b3c4d","is_active":true,"is_admin":false,"is_bot":false,"is_external":false,"name":"Connor Berwick","timezone":"Asia/Dubai","title":"Sales"},"properties":{"avatar_url":{"oneOf":[{"format":"uri","type":"string","isRequired":true,"uniqueKey":"user.avatar_url.oneOf.0","typeLabel":"string\u003curi>"},{"format":"uri","type":"null","isRequired":true,"uniqueKey":"user.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user.avatar_url","typeLabel":"string\u003curi> | null"},"display_name":{"oneOf":[{"description":"First name","type":"string","isRequired":true,"uniqueKey":"user.display_name.oneOf.0","typeLabel":"string"},{"description":"First name","type":"null","isRequired":true,"uniqueKey":"user.display_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user.display_name","typeLabel":"string | null"},"id":{"description":"User id, `usr_` prefixed","type":"string","isRequired":true,"uniqueKey":"user.id","typeLabel":"string"},"is_active":{"description":"False for deactivated and removed people, who stay listed","type":"boolean","isRequired":true,"uniqueKey":"user.is_active","typeLabel":"boolean"},"is_admin":{"description":"Holds the admin or super admin tier in this company. A custom role never sets it.","type":"boolean","isRequired":true,"uniqueKey":"user.is_admin","typeLabel":"boolean"},"is_bot":{"description":"Always false today: bots are never listed","type":"boolean","isRequired":true,"uniqueKey":"user.is_bot","typeLabel":"boolean"},"is_external":{"description":"A guest from outside the company","type":"boolean","isRequired":true,"uniqueKey":"user.is_external","typeLabel":"boolean"},"name":{"description":"Full name","type":"string","isRequired":true,"uniqueKey":"user.name","typeLabel":"string"},"timezone":{"oneOf":[{"description":"IANA timezone","type":"string","isRequired":true,"uniqueKey":"user.timezone.oneOf.0","typeLabel":"string"},{"description":"IANA timezone","type":"null","isRequired":true,"uniqueKey":"user.timezone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user.timezone","typeLabel":"string | null"},"title":{"oneOf":[{"description":"Job title","type":"string","isRequired":true,"uniqueKey":"user.title.oneOf.0","typeLabel":"string"},{"description":"Job title","type":"null","isRequired":true,"uniqueKey":"user.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user.title","typeLabel":"string | null"},"email":{"description":"Absent when withheld","format":"email","type":"string","uniqueKey":"user.email","typeLabel":"string\u003cemail>"}},"required":["id","name","display_name","avatar_url","title","timezone","is_active","is_bot","is_admin","is_external"],"title":"User","type":"object","isRequired":true,"uniqueKey":"user","typeLabel":"User · object"}},"required":["ok","user"],"title":"UserResponse","type":"object","uniqueKey":"","typeLabel":"UserResponse · object"},"examples":{"Example":{"title":"Example","value":{"ok":true,"user":{"avatar_url":"https://cdn.workchats.com/a/9a1d2c3e.png","display_name":"Connor","email":"[email protected]","id":"usr_9a1d2c3e-4b5f-4a6b-8c7d-9e0f1a2b3c4d","is_active":true,"is_admin":false,"is_bot":false,"is_external":false,"name":"Connor Berwick","timezone":"Asia/Dubai","title":"Sales"}}}},"exampleType":"generated"}},"description":"The user","exampleType":"generated"},"ad76a966-b44a-494f-b321-f29e4104cc35":{"content":{"application/json":{"schema":{"description":"Every non-2xx response from the public API.","example":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"},"properties":{"error":{"properties":{"code":{"description":"Stable, machine-readable error code. Each code always comes with the same HTTP status, except `client_error` and `server_error`, which carry the response's own 4xx or 5xx status. New codes may be added; treat an unknown one as a generic failure.","type":"string","x-extensible-enum":["cannot_dm_user","client_error","conversation_archived","conversation_not_found","file_not_found","idempotency_key_reused","internal_error","invalid_auth","invalid_blocks","invalid_client","invalid_cursor","invalid_grant","invalid_request","message_not_found","missing_idempotency_key","missing_scope","not_acceptable","not_allowed_in_conversation","not_authed","not_found","not_in_conversation","payload_too_large","rate_limited","server_error","token_in_query","token_revoked","unsupported_grant_type","unsupported_media_type","user_deactivated","user_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable explanation","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"request_id":{"description":"Also sent as the X-Request-Id header. Quote it to support.","type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["ok","error","request_id"],"title":"ApiError","type":"object","uniqueKey":"","typeLabel":"ApiError · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"}}},"exampleType":"generated"}},"description":"`token_in_query` or `invalid_request`","exampleType":"generated"},"7d0ad222-83da-4cd5-835a-5570cee701d9":{"content":{"application/json":{"schema":{"description":"Every non-2xx response from the public API.","example":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"},"properties":{"error":{"properties":{"code":{"description":"Stable, machine-readable error code. Each code always comes with the same HTTP status, except `client_error` and `server_error`, which carry the response's own 4xx or 5xx status. New codes may be added; treat an unknown one as a generic failure.","type":"string","x-extensible-enum":["cannot_dm_user","client_error","conversation_archived","conversation_not_found","file_not_found","idempotency_key_reused","internal_error","invalid_auth","invalid_blocks","invalid_client","invalid_cursor","invalid_grant","invalid_request","message_not_found","missing_idempotency_key","missing_scope","not_acceptable","not_allowed_in_conversation","not_authed","not_found","not_in_conversation","payload_too_large","rate_limited","server_error","token_in_query","token_revoked","unsupported_grant_type","unsupported_media_type","user_deactivated","user_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable explanation","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"request_id":{"description":"Also sent as the X-Request-Id header. Quote it to support.","type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["ok","error","request_id"],"title":"ApiError","type":"object","uniqueKey":"","typeLabel":"ApiError · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"}}},"exampleType":"generated"}},"description":"`not_authed`, `invalid_auth` or `token_revoked`","exampleType":"generated"},"26f7ed95-5dd6-4f14-bced-7727e4b8f4aa":{"content":{"application/json":{"schema":{"description":"Every non-2xx response from the public API.","example":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"},"properties":{"error":{"properties":{"code":{"description":"Stable, machine-readable error code. Each code always comes with the same HTTP status, except `client_error` and `server_error`, which carry the response's own 4xx or 5xx status. New codes may be added; treat an unknown one as a generic failure.","type":"string","x-extensible-enum":["cannot_dm_user","client_error","conversation_archived","conversation_not_found","file_not_found","idempotency_key_reused","internal_error","invalid_auth","invalid_blocks","invalid_client","invalid_cursor","invalid_grant","invalid_request","message_not_found","missing_idempotency_key","missing_scope","not_acceptable","not_allowed_in_conversation","not_authed","not_found","not_in_conversation","payload_too_large","rate_limited","server_error","token_in_query","token_revoked","unsupported_grant_type","unsupported_media_type","user_deactivated","user_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable explanation","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"request_id":{"description":"Also sent as the X-Request-Id header. Quote it to support.","type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["ok","error","request_id"],"title":"ApiError","type":"object","uniqueKey":"","typeLabel":"ApiError · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"}}},"exampleType":"generated"}},"description":"`missing_scope`: the token lacks `users:read`","exampleType":"generated"},"94080f0a-62c6-4d57-8a72-c3708a53bd92":{"content":{"application/json":{"schema":{"description":"Every non-2xx response from the public API.","example":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"},"properties":{"error":{"properties":{"code":{"description":"Stable, machine-readable error code. Each code always comes with the same HTTP status, except `client_error` and `server_error`, which carry the response's own 4xx or 5xx status. New codes may be added; treat an unknown one as a generic failure.","type":"string","x-extensible-enum":["cannot_dm_user","client_error","conversation_archived","conversation_not_found","file_not_found","idempotency_key_reused","internal_error","invalid_auth","invalid_blocks","invalid_client","invalid_cursor","invalid_grant","invalid_request","message_not_found","missing_idempotency_key","missing_scope","not_acceptable","not_allowed_in_conversation","not_authed","not_found","not_in_conversation","payload_too_large","rate_limited","server_error","token_in_query","token_revoked","unsupported_grant_type","unsupported_media_type","user_deactivated","user_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable explanation","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"request_id":{"description":"Also sent as the X-Request-Id header. Quote it to support.","type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["ok","error","request_id"],"title":"ApiError","type":"object","uniqueKey":"","typeLabel":"ApiError · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"}}},"exampleType":"generated"}},"description":"`user_not_found`","exampleType":"generated"},"41736723-16b6-4640-9b8f-dabe63ea8a56":{"content":{"application/json":{"schema":{"description":"Every non-2xx response from the public API.","example":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"},"properties":{"error":{"properties":{"code":{"description":"Stable, machine-readable error code. Each code always comes with the same HTTP status, except `client_error` and `server_error`, which carry the response's own 4xx or 5xx status. New codes may be added; treat an unknown one as a generic failure.","type":"string","x-extensible-enum":["cannot_dm_user","client_error","conversation_archived","conversation_not_found","file_not_found","idempotency_key_reused","internal_error","invalid_auth","invalid_blocks","invalid_client","invalid_cursor","invalid_grant","invalid_request","message_not_found","missing_idempotency_key","missing_scope","not_acceptable","not_allowed_in_conversation","not_authed","not_found","not_in_conversation","payload_too_large","rate_limited","server_error","token_in_query","token_revoked","unsupported_grant_type","unsupported_media_type","user_deactivated","user_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable explanation","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"request_id":{"description":"Also sent as the X-Request-Id header. Quote it to support.","type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["ok","error","request_id"],"title":"ApiError","type":"object","uniqueKey":"","typeLabel":"ApiError · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"}}},"exampleType":"generated"}},"description":"`not_acceptable`: the Accept header does not allow application/json","exampleType":"generated"},"2a7fb9c7-595e-48c4-8fee-9e54b5cb3a84":{"content":{"application/json":{"schema":{"description":"Every non-2xx response from the public API.","example":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"},"properties":{"error":{"properties":{"code":{"description":"Stable, machine-readable error code. Each code always comes with the same HTTP status, except `client_error` and `server_error`, which carry the response's own 4xx or 5xx status. New codes may be added; treat an unknown one as a generic failure.","type":"string","x-extensible-enum":["cannot_dm_user","client_error","conversation_archived","conversation_not_found","file_not_found","idempotency_key_reused","internal_error","invalid_auth","invalid_blocks","invalid_client","invalid_cursor","invalid_grant","invalid_request","message_not_found","missing_idempotency_key","missing_scope","not_acceptable","not_allowed_in_conversation","not_authed","not_found","not_in_conversation","payload_too_large","rate_limited","server_error","token_in_query","token_revoked","unsupported_grant_type","unsupported_media_type","user_deactivated","user_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable explanation","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"request_id":{"description":"Also sent as the X-Request-Id header. Quote it to support.","type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["ok","error","request_id"],"title":"ApiError","type":"object","uniqueKey":"","typeLabel":"ApiError · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"}}},"exampleType":"generated"}},"description":"`rate_limited`: retry after the Retry-After header's seconds","exampleType":"generated"},"bc2fb53e-be46-456e-8bcf-fd5b4e2bd99e":{"content":{"application/json":{"schema":{"description":"Every non-2xx response from the public API.","example":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"},"properties":{"error":{"properties":{"code":{"description":"Stable, machine-readable error code. Each code always comes with the same HTTP status, except `client_error` and `server_error`, which carry the response's own 4xx or 5xx status. New codes may be added; treat an unknown one as a generic failure.","type":"string","x-extensible-enum":["cannot_dm_user","client_error","conversation_archived","conversation_not_found","file_not_found","idempotency_key_reused","internal_error","invalid_auth","invalid_blocks","invalid_client","invalid_cursor","invalid_grant","invalid_request","message_not_found","missing_idempotency_key","missing_scope","not_acceptable","not_allowed_in_conversation","not_authed","not_found","not_in_conversation","payload_too_large","rate_limited","server_error","token_in_query","token_revoked","unsupported_grant_type","unsupported_media_type","user_deactivated","user_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"Human-readable explanation","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"request_id":{"description":"Also sent as the X-Request-Id header. Quote it to support.","type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["ok","error","request_id"],"title":"ApiError","type":"object","uniqueKey":"","typeLabel":"ApiError · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"token_revoked","message":"The token has been revoked."},"ok":false,"request_id":"F7p0mJcXk3tq2x0AAAAB"}}},"exampleType":"generated"}},"description":"`internal_error`: something went wrong on our side","exampleType":"generated"}},"security":{"1f69fb0b-085d-403b-a55e-94b543b1f7d8":{"bearerAuth":{"description":"Bot token (`wc_bot_live_…` or `wc_bot_test_…`) from the OAuth install","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"680c2dcd-5d59-4b20-9211-799c61247c77":{"url":"https://public-api.dev.workchats.com","variables":{}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Bot token (`wc_bot_live_…` or `wc_bot_test_…`) from the OAuth install","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bot token (`wc_bot_live_…` or `wc_bot_test_…`) from the OAuth install","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/dev.json"},"subdomain":"workchats","siteName":"Workchats Developer Docs","title":"Get a user - Workchats Developer Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"Production":{"href":"/api-reference/production/users/get-a-user","matchLevel":1},"Staging (sandbox)":{"href":"/api-reference/staging/users/get-a-user","matchLevel":1},"Dev":{"href":"/api-reference/dev/users/get-a-user","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-12T08:31:38.123Z","originalFileLocation":"api-reference/dev/users/get-a-user.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"One person, by id. A bot, a person in another workspace, or a guest members cannot see is user_not_found. Needs users:read. Limited to 100 requests a minute per installation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Workchats Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a user - Workchats Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"One person, by id. A bot, a person in another workspace, or a guest members cannot see is user_not_found. Needs users:read. Limited to 100 requests a minute per installation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Workchats Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.workchats.com/api-reference/dev/users/get-a-user\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://workchats.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Get+a+user\u0026amp;description=One+person%2C+by+id.+A+bot%2C+a+person+in+another+workspace%2C+or+a+guest+members+cannot+see+is+%60user_not_found%60.+Needs+%60users%3Aread%60.+Limited+to+100+requests+a+minute\u0026amp;theme=fb0e798fd970cf050893b4c4\u0026amp;signature=670364df97e660c359b4afe05216f69ce5c3a9001634522575122f2e3dc916d2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get a user - Workchats Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"One person, by id. A bot, a person in another workspace, or a guest members cannot see is user_not_found. Needs users:read. Limited to 100 requests a minute per installation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://workchats.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Get+a+user\u0026amp;description=One+person%2C+by+id.+A+bot%2C+a+person+in+another+workspace%2C+or+a+guest+members+cannot+see+is+%60user_not_found%60.+Needs+%60users%3Aread%60.+Limited+to+100+requests+a+minute\u0026amp;theme=fb0e798fd970cf050893b4c4\u0026amp;signature=670364df97e660c359b4afe05216f69ce5c3a9001634522575122f2e3dc916d2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/workchats/RAF9BAhYsn2gj9uv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Workchats Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0077FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.workchats.com/api-reference/dev/users/get-a-user\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/dev/users/get-a-user.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.workchats.com/#organization\",\"name\":\"Workchats Developer Docs\",\"url\":\"https://developers.workchats.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/workchats/WdxP4zjamVj90oG9/logo/workchats-wordmark.svg?fit=max\u0026auto=format\u0026n=WdxP4zjamVj90oG9\u0026q=85\u0026s=bfed9e692205f253326fd0204ad44efa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.workchats.com#website\",\"name\":\"Workchats Developer Docs\",\"url\":\"https://developers.workchats.com\",\"publisher\":{\"@id\":\"https://developers.workchats.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.workchats.com/api-reference/dev/users/get-a-user#webpage\",\"url\":\"https://developers.workchats.com/api-reference/dev/users/get-a-user\",\"name\":\"Get a user\",\"description\":\"One person, by id. A bot, a person in another workspace, or a guest members cannot see is user_not_found. Needs users:read. Limited to 100 requests a minute per installation.\",\"dateModified\":\"2026-10-12T08:31:38.123Z\",\"isPartOf\":{\"@id\":\"https://developers.workchats.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.workchats.com/api-reference/dev/users/get-a-user#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.workchats.com/api-reference/dev/users/get-a-user#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://developers.workchats.com/reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a user\",\"item\":\"https://developers.workchats.com/api-reference/dev/users/get-a-user\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.workchats.com/api-reference/dev/users/get-a-user#apireference\",\"headline\":\"Get a user\",\"name\":\"Get a user\",\"description\":\"One person, by id. A bot, a person in another workspace, or a guest members cannot see is user_not_found. Needs users:read. Limited to 100 requests a minute per installation.\",\"url\":\"https://developers.workchats.com/api-reference/dev/users/get-a-user\",\"mainEntityOfPage\":{\"@id\":\"https://developers.workchats.com/api-reference/dev/users/get-a-user#webpage\"},\"dateModified\":\"2026-10-12T08:31:38.123Z\",\"publisher\":{\"@id\":\"https://developers.workchats.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.workchats.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Workchats Developer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Workchats Developer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/dev/users/get-a-user.md","siteName":"Workchats Developer Docs","nav":{"global":null,"versions":[{"version":"Production","default":true,"pages":[{"title":"Production","href":"/api-reference/production/users/get-a-user"}]},{"version":"Staging (sandbox)","pages":[{"title":"Staging (sandbox)","href":"/api-reference/staging/users/get-a-user"}]},{"version":"Dev","groups":[{"group":"Getting Started","pages":[{"title":"Workchats API","href":""},{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"Concepts","href":"/getting-started/concepts"},{"title":"Sandbox","href":"/getting-started/sandbox"}]},{"group":"Guides","pages":[{"title":"OAuth install","href":"/guides/oauth-install"},{"title":"Build an App for your own company","href":"/guides/company-apps"},{"title":"Sending messages","href":"/guides/sending-messages"},{"title":"Notifications","href":"/guides/notifications"},{"title":"Blocks","href":"/guides/blocks"},{"title":"Idempotency","href":"/guides/idempotency"},{"title":"Pagination","href":"/guides/pagination"},{"title":"Rate limits \u0026 retries","href":"/guides/rate-limits-and-retries"},{"title":"Errors","href":"/guides/errors"},{"title":"Callbacks \u0026 signature verification","href":"/guides/callbacks-and-signature-verification"},{"title":"Security","href":"/guides/security"},{"title":"Data \u0026 security","href":"/guides/data-and-security"}]},{"group":"AI assistants (MCP)","pages":[{"title":"Workchats MCP server","href":"/mcp/overview"},{"title":"Connect an AI assistant","href":"/mcp/connect"},{"title":"Tools","href":"/mcp/tools"},{"title":"Drafts and the \"via\" label","href":"/mcp/drafts"},{"title":"For company admins","href":"/mcp/admins"},{"title":"Troubleshooting","href":"/mcp/troubleshooting"},{"title":"OAuth for client developers","href":"/mcp/oauth"}]},{"group":"Reference","pages":[{"title":"Reference overview","href":"/reference/overview"},{"title":"Exchange an authorization code for a bot token","deprecated":null,"version":null,"openapi":"/openapi/dev.json post /oauth/token","href":"/api-reference/dev/oauth/exchange-an-authorization-code-for-a-bot-token"},{"title":"Revoke a bot token","deprecated":null,"version":null,"openapi":"/openapi/dev.json post /oauth/revoke","href":"/api-reference/dev/oauth/revoke-a-bot-token"},{"title":"Check a token","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/auth/test","href":"/api-reference/dev/auth/check-a-token"},{"title":"List users","description":"Lists the workspace's people: its members, and guests who are visible to them. Deactivated and removed people stay listed with `is_active: false`. Bots are never listed. `email` is present only with the `users:read.email` scope, and only when the person lets colleagues see it. Needs `users:read`. Limited to 20 requests a minute per installation.","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/users","href":"/api-reference/dev/users/list-users"},{"title":"Get a user","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/users/{id}","href":"/api-reference/dev/users/get-a-user"},{"title":"Look up a user by email","description":"The person with this email address, in any letter case. An address the person hides from colleagues is `user_not_found`, exactly as an unknown one is. Needs `users:read.email`. Limited to 100 requests a minute per installation.","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/users/lookup","href":"/api-reference/dev/users/look-up-a-user-by-email"},{"title":"List conversations","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/conversations","href":"/api-reference/dev/conversations/list-conversations"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/conversations/{id}","href":"/api-reference/dev/conversations/get-a-conversation"},{"title":"List a conversation's messages","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/conversations/{conversation_id}/messages","href":"/api-reference/dev/conversations/list-a-conversations-messages"},{"title":"Get a file","deprecated":null,"version":null,"openapi":"/openapi/dev.json get /v1/conversations/{conversation_id}/files/{id}","href":"/api-reference/dev/files/get-a-file"},{"title":"Send a message","deprecated":null,"version":null,"openapi":"/openapi/dev.json post /v1/messages","href":"/api-reference/dev/messages/send-a-message"},{"title":"Edit a message","deprecated":null,"version":null,"openapi":"/openapi/dev.json patch /v1/messages/{id}","href":"/api-reference/dev/messages/edit-a-message"},{"title":"Delete a message","deprecated":null,"version":null,"openapi":"/openapi/dev.json delete /v1/messages/{id}","href":"/api-reference/dev/messages/delete-a-message"},{"title":"Callbacks","href":"/reference/callbacks"},{"title":"Scopes","href":"/reference/scopes"},{"title":"Error codes","href":"/reference/error-codes"},{"title":"Block types","href":"/reference/block-types"},{"title":"Objects","href":"/reference/objects"}]},{"group":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"group":"Policies","pages":[{"title":"Versioning","href":"/policies/versioning"},{"title":"Rate limits","href":"/policies/rate-limits"},{"title":"Data residency","href":"/policies/data-residency"}]}]}]},"basePath":"","title":"Get a user - Workchats Developer Docs","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}