Identity
Who the current credential resolves to. Read this before a write when you are not sure which organization is active.
Properties
| Name | Type | Description |
|---|---|---|
| kind | string | How the identity was resolved. |
| organizationId | string | The active organization. |
| userId | string | The person, when a session is in play. |
| string | The person's e-mail, on a session. | |
| sessionId | string | Session identifier, on a session. |
| role | string | Role inside that organization; sessions only. |
| organization | object | `{ id, name, slug }` of the active organization; sessions only. |
| apiKeyId | string | Which key answered, on an API key. |
| scopes | array | Granted scopes; present on an API key, which carries its own narrower set. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/commsharbor/json-schema/commsharbor-identity-schema.json",
"title": "Identity",
"description": "Who the current credential resolves to. Read this before a write when you are not sure which organization is active.",
"x-generated": "2026-11-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/commsharbor-context-api-openapi.yml#/components/schemas/Identity",
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "How the identity was resolved."
},
"organizationId": {
"type": "string",
"description": "The active organization."
},
"userId": {
"type": "string",
"description": "The person, when a session is in play."
},
"email": {
"type": "string",
"description": "The person's e-mail, on a session."
},
"sessionId": {
"type": "string",
"description": "Session identifier, on a session."
},
"role": {
"type": "string",
"description": "Role inside that organization; sessions only."
},
"organization": {
"type": "object",
"description": "`{ id, name, slug }` of the active organization; sessions only."
},
"apiKeyId": {
"type": "string",
"description": "Which key answered, on an API key."
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Granted scopes; present on an API key, which carries its own narrower set."
}
},
"required": [
"kind",
"organizationId"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/commsharbor-identity"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.