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

Body

application/json
code
string
required

phone code

taskId
integer<int64>
required

taskId

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
object

Request return data