Menu
PIOPIYHomeVoice APIWebhooksOutbound Call
ExamplesGitHub
PIOPIY
  • Home
  • Voice API
  • Webhooks
  • Outbound Call
  • Examples
  • GitHub
  • Get Started
    • Overview
    • Create Account
    • Choose Number
    • Add Capacity
    • Create Endpoint
    • Build your app
    • Configuring Answer URL
    • Configuring Event URL
  • Voice API
    • PCMO Overview
    • Overview
      • Play File
      • Forward Call to PSTN
      • Connect Call to SIP Endpoint
      • Input
      • Play & Get Input
      • Record
      • Hangup
  • Webhooks
    • Overview
    • Setup
    • Inbound Webhooks
      • Missed
      • Answered
    • Outbound Webhooks
      • Missed
      • Answered
  • Live Events
    • Overview
    • Inbound Live Events
      • Inbound Answered
      • Inbound Hangup
    • Outbound Live Events
      • Outbound Started
      • Outbound Ringing
      • Outbound Answered
      • Outgoing Hangup
  • Outbound Call
    • Outbound Call
    • PCMO Outbound Call
  • Call API
    • Play Call Recording
    • Get CMIUUID
    • Get Request ID
  • Examples
    • Nodejs
    • Python
    • Java
    • PHP
  • SDK
    • NodeJS SDK
    • Python SDK
  • Tools
    • Ngrok

Hangup

The hangup action will hangup the call. For example, you can hangup the incoming call without answering it.

#Prerequisites

  1. Sign up for a free PIOPIY demo account.

  2. Create your endpoint and add capacity.

  3. Buy PIOPIY phone number.

  4. Setup your webserver and map your POST method URL in answer URL.

#Hangup action JSON

[
{
"action": "hangup"
}
]

#Properties

PropertyTypeDescription
*actionstringThe PCMO action to control the flow of the call.
Note
The * marked property is mandatory.
Previous

« Record

Next

Webhooks Overview »

  • Prerequisites
  • Hangup action JSON
  • Properties