Create a case
kayako_create_caseWRITE: open a new case (conversation) for a requester. channel MAIL sends the first message to the customer by email from the mailbox given as channel_id; channel NOTE creates it with an internal note and emails nobody. Get channel ids from kayako_list_channels and status/priority/type ids from kayako_list_case_options. Kayako: POST /api/v1/cases.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | MAIL only: CC addresses. | |
| html | No | MAIL/NOTE: treat contents as HTML (sanitized by Kayako). | |
| tags | No | Comma-separated tags. | |
| channel | Yes | MAIL, TWITTER, FACEBOOK or NOTE (internal, not sent). | |
| form_id | No | ||
| subject | Yes | Case subject. | |
| type_id | No | ||
| contents | Yes | Body of the first post. | |
| status_id | No | ||
| channel_id | No | Channel account id (e.g. the mailbox id). Required unless channel is NOTE. | |
| priority_id | No | ||
| field_values | No | Custom field values keyed by field key, e.g. {"order_number": "1234"}. For multi-select fields pass CSV options — ALL options must be passed; omitted ones are removed. | |
| requester_id | Yes | The requester (customer user) id (integer). | |
| assigned_team_id | No | ||
| assigned_agent_id | No |