Skip to main content
POST
発信前の確認

Authorizations

Authorization
string
header
required

管理画面「設定 → API」で作成したAPIキー(aic_sk_…)。

Body

application/json
agent_id
string
required

使うAIエージェントのID

Example:

"0123456789abcdef01234567"

to
string
required

発信先の日本の電話番号(フリーダイヤル等は不可)

Example:

"090-1234-5678"

phone_number_id
string

発信元の電話番号のID。省略時はこのエージェントの発信番号、既定の発信番号、使える番号の順

purpose
string

今回の電話の目的(通話記録に残ります)

Maximum string length: 500
Example:

"資料請求のお礼と面談のご案内"

contact
object

この通話だけの相手の情報

variables
object

会話で使う項目(英数字の名前40文字・値500文字、50個まで)

Example:
metadata
object

通話とWebhookにそのまま返す自由な値(英数字の名前40文字・値500文字、20個まで)

Example:

Response

確認の結果

ok
boolean

今すぐかけられるか

to
string | null
Example:

"+819012345678"

agent
object | null
from
object | null
calling_hours
object
limits
object
problems
object[]