{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-user-profile-get-response-object-schema.json", "title": "UserProfileGetResponseObject", "description": "User profile details for the authenticated user.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/webex-call-settings-for-me-api-openapi.yml#/components/schemas/UserProfileGetResponseObject", "type": "object", "required": [ "id", "lastName", "firstName", "email", "announcementLanguage", "locationDialingCode", "supportMobility", "emergencyCallBackNumber", "phoneNumbers", "devices", "location", "receptionistUrl", "callingHostUrl", "attendantConsoleUrl" ], "properties": { "id": { "type": "string", "description": "Unique identifier of the user." }, "lastName": { "type": "string", "description": "Last name of the user." }, "firstName": { "type": "string", "description": "First name of the user." }, "email": { "type": "string", "description": "The email addresses of the person." }, "announcementLanguage": { "type": "string", "description": "Language for announcements." }, "locationDialingCode": { "type": "string", "description": "Dialing code for the user's location." }, "supportMobility": { "type": "boolean", "description": "If `true`, the user supports mobility." }, "emergencyCallBackNumber": { "type": "string", "description": "Emergency callback number for the user." }, "phoneNumbers": { "type": "array", "items": { "$ref": "#/$defs/UserNumber" }, "description": "List of numbers associated with the user." }, "devices": { "type": "array", "items": { "$ref": "#/$defs/UserDevice" }, "description": "List of devices associated with the user." }, "location": { "$ref": "#/$defs/LocationObject" }, "receptionistUrl": { "type": "string", "description": "URL for the receptionist console." }, "callingHostUrl": { "type": "string", "description": "URL for the calling host." }, "attendantConsoleUrl": { "type": "string", "description": "URL for the attendant console." } }, "$defs": { "DeviceActivationState": { "type": "string", "enum": [ "ACTIVATING", "ACTIVATED", "DEACTIVATED" ], "description": " * `ACTIVATING` - Device is activating using an activation code.\n * `ACTIVATED` - Device has been activated using an activation code.\n * `DEACTIVATED` - Device has not been activated using an activation code.\n" }, "DeviceTypeObject": { "type": "string", "enum": [ "PRIMARY", "SHARED_CALL_APPEARANCE", "MOBILITY" ], "description": " * `PRIMARY` - Primary line for the user.\n * `SHARED_CALL_APPEARANCE` - Shared line for the user. A shared line allows users to receive and place calls to and from another user's extension, using their own device.\n * `MOBILITY` - Device is a shared line.\n" }, "LocationObject": { "type": "object", "properties": { "id": { "type": "string", "description": "The ID of the location." }, "name": { "type": "string", "description": "The name of the location." } } }, "MemberType": { "type": "string", "enum": [ "PEOPLE", "PLACE" ], "description": " * `PEOPLE` - Indicates the associated member is a person.\n * `PLACE` - Indicates the associated member is a workspace.\n" }, "OwnerObject": { "type": "object", "description": "Details of the owner of the device.", "required": [ "lastName", "firstName", "type" ], "properties": { "lastName": { "type": "string", "description": "First name of device owner." }, "firstName": { "type": "string", "description": "Last name of device owner." }, "type": { "$ref": "#/$defs/MemberType" } } }, "UserDevice": { "type": "object", "description": "Details of a device associated with the user.", "required": [ "description", "model", "mac", "primaryOwner", "type", "owner", "activationState" ], "properties": { "description": { "type": "array", "items": { "type": "string", "description": "A tag used to describe the device." }, "description": "Comma separated array of tags used to describe device." }, "model": { "type": "string", "description": "Identifier for device model." }, "mac": { "type": "string", "description": "MAC address of the device." }, "primaryOwner": { "type": "boolean", "description": "Indicates whether the person or the workspace is the owner of the device, and points to a primary Line/Port of the device." }, "type": { "$ref": "#/$defs/DeviceTypeObject" }, "owner": { "$ref": "#/$defs/OwnerObject" }, "activationState": { "$ref": "#/$defs/DeviceActivationState" } } }, "UserNumber": { "type": "object", "description": "Details of a phone number associated with the user.", "required": [ "directNumber", "enterprise", "extension", "routingPrefix", "esn", "primary" ], "properties": { "directNumber": { "type": "string", "description": "Direct number of the user." }, "enterprise": { "type": "string", "description": "Enterprise number of the user. This always combines the location routing prefix with the user's extension, and is only present when both are present. That is, the location has a routing prefix and the user has an extension." }, "extension": { "type": "string", "description": "Extension of the user. This is always the user's extension, only present if the user has an extension." }, "routingPrefix": { "type": "string", "description": "Routing prefix of the user." }, "esn": { "type": "string", "description": "Enterprise Significant Number. This combines the location routing prefix and extension when both are set, and only the extension when the location routing prefix is not set. if the extension is not set, the esn is not present." }, "primary": { "type": "boolean", "description": "Indicates if the number is primary or alternate number." } } } } }