Samva
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceVoice

Transfer PSTN Call

POST
/voice/calls/{id}/transfer

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

to*string

Destination phone number (E.164 or SIP)

Response Body

application/json

curl -X POST "https://samva.app/api/v1/voice/calls/497f6eca-6276-4993-bfeb-53cbbbba6f08/transfer" \  -H "Content-Type: application/json" \  -d '{    "to": "string"  }'
{
  "success": true
}