Chandra
Chandra

Reputation: 471

Nexmo API: Is there any method or API to cancel ongoing outbound or inbound call in Nexmo?

I want to disconnect an ongoing call from my server based on some circumstances. Is there any Nexmo API through which I can do the same?

Upvotes: 0

Views: 131

Answers (1)

Chandra
Chandra

Reputation: 471

Got answer to my query. Bit of more searching and study found my answer.

I can modify in-progress call by making a PUT call to below URL.

https://api.nexmo.com/v1/calls/:uuid

where UUID is uuid of call. have to give action = 'hangup'

Upvotes: 1

Related Questions