Create SIP endpoint
documentedCreate a SIP endpoint
POST /sip-endpoint/Agent Consoleno 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://api.callhub.io/v2/sip-endpoint/" \
-X POST \
-H "Authorization: Token {{CALLHUB_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$endpoint_name}}", "sip_username": "{{$sip_username}}", "sip_password": "{{$sip_password}}", "domain": "{{$sip_domain}}", "port": {{$sip_port}}, "transport": "{{$transport}}", "agent_id": "{{$agent_id}}" }'