跳到导航

获取企业资料

获取接待员应答所依据的商家资料,以及商家时区的当前时间。

请求头

xi-api-keystring可选
xi-workspace-idstring必需

经销商 API 密钥操作的客户工作区。

响应

成功响应

idstring

商家资料 ID。

created_at_unixinteger

业务资料创建时间,以秒为单位的 Unix 时间戳。

updated_at_unixinteger

业务资料上次更新时间,以秒为单位的 Unix 时间戳。

workspace_nowobject
Current time in workspace timezone, computed on each request.
business_namestring可选默认为
Name of the business.
business_countrystring or null可选

ISO 3166-1 alpha-2 country code where the business is based (e.g. ‘US’, ‘PL’, ‘DE’).

business_descriptionstring可选默认为

业务的经营内容,提供给接待员。

timezonestring可选格式: "zoneinfo"

商家的 IANA 时区。

currencyenum可选默认为 USD

Currency code for all prices (ISO 4217)

operating_hoursobject可选

Default business hours. Each location’s own operating_hours decide when that location is open.

tool_call_soundenum or null可选

Ambient sound played while any receptionist runs a tool (e.g. checking availability or looking up a client), filling the silence callers would otherwise hear. One sound for the whole workspace, because custom webhook and MCP tools are shared by every receptionist. Off when null.

允许的值:

错误

422
Unprocessable Entity Error