上传呼入电话号码
开发环境
开发环境
POST
/v1/inbound/insert
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v1/inbound/insert' \
--header 'authorization: <authorization>' \
--header 'encrypted_key: <encrypted_key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"numbers": [
"<string>"
]
}'
响应示例响应示例
{
"status": "success",
"message": "Successfully inserted numbers",
"inserted": [
"+12223334444",
"+13334445555"
]
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
authorization
string
必需
示例值:
<authorization>
encrypted_key
string
必需
示例值:
<encrypted_key>
Body 参数application/json
返回响应
修改于 2024-05-10 08:31:30