PUT
/
dialer
/
update?id=
{id}
curl --request PUT \
  --url 'https://api.precallai.com/api/v1/dialer/update?id={id}' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "dialer_type": "<string>",
  "name": "<string>",
  "phone_number": "<string>",
  "sid": "<string>",
  "auth_token": "<string>"
}'
{
  "type": "<string>",
  "name": "<string>",
  "company_name": "<string>",
  "gender": "<string>",
  "accent": "<string>",
  "actions": [
    "<any>"
  ],
  "goal": "<string>",
  "start_speech": "<string>",
  "voice_id": "<string>",
  "voice_name": "<string>",
  "voice_note": "<string>",
  "zapier_hook": "<string>",
  "script": "<string>",
  "knowledge_base_Id": "<string>",
  "maximum_time_per_call": 123,
  "is_recording": true,
  "is_voice_note": true
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The ID of the dialer to update

Body

application/json

Dialer to update

The body is of type object.

Response

200
application/json

Dialer response

The response is of type object.