POST
/
v1
/
create-outbound-call
curl --request POST \
  --url https://client-api.tryvox.co/v1/create-outbound-call \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "call_from": "<string>",
  "call_to": "<string>",
  "agent_id": "<string>",
  "metadata": {},
  "dynamic_variables": {}
}'
{
  "call_id": "<string>",
  "status": "initiated"
}

Authorizations

Authorization
string
header
required

API 키를 사용한 인증. Authorization 헤더에 Bearer 접두사와 함께 포함시켜야 합니다.

Body

application/json
call_from
string
required

워크스페이스에 등록된 발신 전화번호

call_to
string
required

수신 전화번호 (예: 01012345678)

agent_id
string

에이전트 ID, 값이 없을 경우 '번호 관리' 페이지에서 설정된 아웃바운드 에이전트가 전화를 발신합니다.

metadata
object

통화 관련 추가 메타데이터

dynamic_variables
object

통화 중 사용될 동적 변수 데이터

Response

200
application/json
Successful Response
call_id
string

생성된 통화의 고유 ID

status
string

생성된 통화의 상태

Example:

"initiated"