한국어로 읽기

Guide

South Korea Voice API Guide | Provision, Route, Call and Release a 070 Number

Provision a South Korean 070 number over REST, route inbound calls to VoiceML, verify outbound calls and status webhooks, and safely release the number.

KoreaAITel (한국에이아이통신, operated by TeamLearners Inc.) provisions South Korean 070 numbers through POST /v1/accounts/{accountId}/numbers after account verification. The assigned number can receive calls through a VoiceML webhook and serve as the caller ID for outbound calls from the same account. Check inbound audio on a test phone, use the outbound callId to check the result, and release the number with DELETE once you are done.

Verify the full lifecycle with one test number

StepWhat to verify
Provision201 Created and the assigned number
RouteThe VoiceML and status callback URLs returned by the number lookup
ReceiveThe prompt on the test phone and signed callbacks for the same call
DialThe outbound 201 Created and callId, followed by the call lookup
Release204 No Content, followed by 404 on a number lookup in the same account

Individual accounts require identity verification for the account owner. Business accounts require business verification. The API base is https://api.koreaaitel.com. Use a Bearer API key for your test account and obtain the separate webhook signing secret under Developer → Webhooks in the console. The HTTP snippets illustrate request formats. Replace the brace-delimited placeholders and use your own public HTTPS endpoints in place of the reserved .example URLs. Confirm the account and target before provisioning, dialing, or releasing. Phone number documentation

1. Provision a test 070 number

POST /v1/accounts/{accountId}/numbers
Authorization: Bearer {apiKey}
Content-Type: application/json

{}

The API assigns a number from the available pool. Keep the number returned with 201. Incomplete verification can return 409, and exceeding the account's number quota can return 422. If the response times out, check the account's number list before deciding whether to retry. Provision number · List numbers

2. Add VoiceML routing and an inbound status callback

PUT /v1/accounts/{accountId}/numbers/{number}
Authorization: Bearer {apiKey}
Content-Type: application/json

{
  "routingType": "webhook",
  "webhookUrl": "https://voice.example/inbound",
  "webhookMethod": "POST",
  "statusCallback": "https://voice.example/status",
  "statusCallbackEvents": "initiated ringing answered completed",
  "recordingEnabled": false
}

Verify the persisted URLs and recording setting with GET /v1/accounts/{accountId}/numbers/{number}. The test API key needs permission to change recording settings to turn off recording with this request. Provide the outbound status callback separately when creating a call in step 4. Update number · Get number

3. Receive a call and verify status events

For a signed form POST to /inbound, return Content-Type: application/xml and the following VoiceML. Call the test number and listen for the test prompt.

<Response>
  <Say language="ko">음성 연결 테스트입니다.</Say>
  <Hangup/>
</Response>

Acknowledge a verified /status event with HTTP 2xx. On both endpoints, verify X-Signature using that endpoint's public URL and parsed form fields. Correlate by AccountId and CallId, and handle duplicate status events without repeating side effects. The answered event arrives with CallStatus=in-progress. The final status event carries the actual outcome, such as completed, busy, or no-answer. VoiceML · Status callbacks · Signature verification

4. Dial a test destination you control

POST /v1/accounts/{accountId}/calls
Authorization: Bearer {apiKey}
Content-Type: application/json

{
  "To": "{yourTestDestination}",
  "From": "{issued070Number}",
  "Url": "https://voice.example/outbound",
  "StatusCallback": "https://voice.example/status",
  "StatusCallbackEvent": "initiated ringing answered completed",
  "Record": false
}

Use a number registered to the same account in From. Set up /outbound to verify the signature and return the test prompt from step 3. A 201 means that the call entered the queue. Query GET /v1/accounts/{accountId}/calls/{callId} using the returned ID and confirm the prompt and caller ID on the receiving phone. If the request times out, check the account's call records and callbacks before deciding whether to dial again. Create call · Get call

5. Release the test number

Look up the number in the test account and confirm its purpose. Check that no call jobs, forwarding rules, CRM records, or public contact listings depend on the number before releasing it.

DELETE /v1/accounts/{accountId}/numbers/{number}
Authorization: Bearer {apiKey}

The API returns 204 with an empty body. Verify that the lookup returns 404 from the same account and remove any leftover application configuration. A lookup from a different account can also return 404, so confirm the account and number before release. A returned number can be reassigned immediately. Release number

Set up numbers for multiple customers

SetupOwnership and operation
A 070 number in your accountThe number belongs to the verified individual or business account. Use it for your own service or testing.
Managed customer numbersThe customer completes identity verification from an assignment link and receives a 070 number in their name. The number is registered to and billed through the operator's account. Webhooks and usage can be separated by link. Requires a Business plan and business verification.
Separate customer organizationsEach customer creates an organization with its own numbers, billing, and API keys, then invites you to operate as a member. The organization owner controls key administrative settings.

KoreaAITel does not offer nested subaccounts or port-ins for existing 070 and Korean representative numbers from other carriers. Customer numbers · Number porting policy

Related guides