cigchat_flow_create_user_field
Create a custom user field in cig.chat, specifying name, value, and type. Optionally add a namespace or description for management.
Instructions
create new user field [POST /flow/create-user-field] Requires the "Manage Flow" scope on the token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Field name | |
| value | Yes | Field value Example: 'string', 123, true, '2018-07-18', '2018-07-02T00:00:00+00:00' | |
| var_ns | No | Accepts either the user_field namespace id or the user_field's exact name — the server resolves names automatically. | |
| var_type | Yes | One of: text, number, boolean, date, datetime, array, longtext. Example: text | |
| description | No |