Skip to main content
POST
/
api
/
telephony
/
configure
Configure phone service
curl --request POST \
  --url https://api.g-tateth.com/api/telephony/configure \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumber": "<string>",
  "recordingEnabled": true,
  "transcriptionEnabled": true,
  "defaultCountryCode": "<string>",
  "webhookUrl": "<string>"
}
'
{
  "success": true,
  "data": {}
}

Authorizations

Authorization
string
header
required

JWT session token authentication. Use for user-context requests. The token is returned by the login endpoint and expires after 15 minutes.

Body

application/json
phoneNumber
string

Your dedicated phone number

recordingEnabled
boolean

Enable automatic call recording

transcriptionEnabled
boolean

Enable call transcription

defaultCountryCode
string

Default country code for calls

webhookUrl
string

URL for receiving call events

Response

200 - application/json

Phone service configured successfully

success
boolean
data
object