Skip to main content
PUT
Update a transfer target

Authorizations

Authorization
string
header
required

An organization API key created in the Klatt console, sent as Authorization: Bearer <key>. The key belongs to one organization.

Path Parameters

agent_uuid
string<uuid>
required

Unique identifier (UUID) of the agent.

transfer_target_uuid
string<uuid>
required

Unique identifier (UUID) of the transfer target.

Body

application/json

A person, phone number or SIP destination a voice agent may transfer the caller to.

description
string
required

When the agent should transfer a caller here, in plain words. The agent reads it to decide.

Minimum string length: 1
name
string
required

Name of the destination, for example a team or a person.

Required string length: 1 - 255
announce_caller_number
boolean
default:false

Whether the agent says the caller's phone number, digit by digit, when it briefs the person who answers. Only used when the agent briefs the team before transferring (warm_transfer_enabled). announced targets only.

handoff_fields
string[]

Names of the information the agent passes to the receiving team, up to 5 names of 1 to 64 characters. SIP targets only.

Maximum array length: 5
ringing_timeout
integer
default:20

Seconds to wait for the destination to answer, from 5 to 120.

Required range: 5 <= x <= 120
schedule_mode
enum<string>
default:always

When the target is offered: always, when_open or when_closed. The last two need your opening hours to be configured.

Available options:
always,
when_open,
when_closed
sip_destination
string | null

SIP address to transfer to. Required for SIP, not allowed for PHONE_NUMBER.

to_number
string | null

Phone number in international format. Required for PHONE_NUMBER, not allowed for SIP.

Pattern: ^\+[1-9][0-9]{1,14}$
transfer_method
enum<string>
default:announced

announced: the agent announces the caller before connecting. refer: the call is handed over with a SIP REFER. refer is only for SIP targets.

Available options:
announced,
refer
transfer_type
enum<string>
default:PHONE_NUMBER

PHONE_NUMBER transfers to a phone number, SIP to a SIP destination.

Available options:
PHONE_NUMBER,
SIP

Response

Successful Response

description
string
required

When the agent transfers a caller here.

inactive_reason
string | null
required

opening_hours_not_configured when the target follows opening hours that are not configured. null when the target is active.

Allowed value: "opening_hours_not_configured"
is_active
boolean
required

Whether the target can be used. A target that follows opening hours is inactive until your organization has configured them.

name
string
required

Name of the destination.

position
integer
required

Position of the target among the agent's transfer targets.

ringing_timeout
integer
required

Seconds to wait for the destination to answer.

to_number
string | null
required

Phone number to transfer to, in international format. null for SIP targets.

transfer_target_uuid
string<uuid>
required

Unique identifier (UUID) of the transfer target.

announce_caller_number
boolean
default:false

Whether the agent says the caller's phone number when it briefs the person who answers.

handoff_fields
string[]

Names of the information the agent passes to the receiving team.

inbound_only_numbers
string[]

Phone targets only: numbers of this agent that can only receive calls, and so cannot place the transfer call.

schedule_mode
enum<string>
default:always

When the target is offered: always, when_open or when_closed.

Available options:
always,
when_open,
when_closed
sip_destination
string | null

SIP address to transfer to. null for PHONE_NUMBER targets.

transfer_method
enum<string>
default:announced

announced or refer.

Available options:
announced,
refer
transfer_type
enum<string>
default:PHONE_NUMBER

PHONE_NUMBER or SIP.

Available options:
PHONE_NUMBER,
SIP