Sign in

Create Chat

documented

Create a new chat.

POST /api/v2/chat/chatsLive Chatno implementation yet0 runs
No 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://{{$subdomain}}.zendesk.com/api/v2/chat/chats" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"visitor": {"name": "{{$visitor_name}}", "email": "{{$visitor_email}}", "id": "{{$visitor_id}}", "phone": "{{$visitor_phone}}", "notes": "{{$visitor_notes}}"}, "message": "{{$message}}", "type": "offline_msg", "timestamp": {{$timestamp}}, "session": {"browser": "{{$browser}}", "city": "{{$city}}", "country_code": "{{$country_code}}", "country_name": "{{$country_name}}", "id": "{{$session_id}}", "ip": "{{$ip}}", "platform": "{{$platform}}", "region": "{{$region}}", "start_date": "{{$start_date}}", "end_date": "{{$end_date}}", "user_agent": "{{$user_agent}}" } }'
Create Chat · Zendesk · OpenIntegrations