Skip to main content
POST
/
open
/
api
/
phone
/
action
/
input
phone operate - input
curl --request POST \
  --url https://user.pmock.com/api/open/api/phone/action/input \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "inputType": 123,
  "text": "<string>",
  "url": "<string>",
  "waitTime": 123
}
'
{
  "traceId": "",
  "code": 0,
  "msg": "",
  "data": 0,
  "status": ""
}

Body

application/json
code
string
required

phone code

inputType
integer

输入类型:1=直接输入,2=来源网络请求 input type:1=text,2=from url

text
string

text content

url
string

请求的URL url

waitTime
integer

等待结果时长 wait time for result

Response

200 - application/json
traceId
string
required

Request link ID

code
integer
required

code

msg
string
required

Request return message

status
string
default:finish
required

Status, representing whether this is an instant completion or waiting state, finish or pending

data
integer<int64>

Request return data