Create ticket
documentedCreate a new ticket.
POST /api/1.1/json/tickets/Ticketsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$account_name}}.happyfox.com/api/1.1/json/tickets/" \
-X POST \
-u "{{$HAPPYFOX_API_KEY}}:{{$HAPPYFOX_SECRET}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "{{$name}}", "email": "{{$email}}", "phone": "{{$phone}}", "subject": "{{$subject}}", "text": "{{$text}}", "html": "{{$html}}", "category": {{$category_id}}, "priority": {{$priority_id}}, "assignee": {{$assignee_id}}, "tags": ["{{$tag1}}","{{$tag2}}"]}' # Docs: https://support.happyfox.com/kb/article/1039-tickets-endpoint/; API for HappyFox: https://support.happyfox.com/kb/article/360-api-for-happyfox/