Set workspace profile
set_workspace_profileRecord who this workspace is: company or organization name, industry, who the page is mainly shared with, and one sentence on what it is used for. The web form for this was retired; this is the only way to write it. company_name is the sole source of the company name on WeChat share cards — without it recipients see a generated workspace name. Fields passed are merged into the existing profile and omitted fields are left unchanged, so changing only the company name needs only company_name. A first-time profile must supply the required fields: with usage=work, company name and industry are required; customer_type and use_case are required in both modes. Validation matches the retired web form exactly: placeholder names such as “personal”, “test” or “my company” are rejected (pass usage="personal" for personal use, which does not ask for company or industry), phone numbers and messaging handles are not allowed in the name, and industry must be one of the listed values. The profile is used for compliance and support and is not shown to viewers, except that the company name appears on share cards. Read-only members cannot call it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | No | Usage: work (default) means work use, where company name and industry are required; personal allows both to be empty. | |
| industry | No | Industry (required when usage=work); must be one of the listed values. | |
| use_case | No | One sentence on what you will send and to whom, for example “send the weekly report to my team”. | |
| company_name | No | Company or organization name (required when usage=work). It appears on WeChat share cards. | |
| customer_type | No | Who your pages are mainly shared with: b2b = colleagues, clients or partners; b2c = friends, family and other individuals. |