Skip to main content
POST
/
open
/
api
/
phone
/
getRemoteToken
Get remote token
curl --request POST \
  --url https://user.pmock.com/api/open/api/phone/getRemoteToken \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneIds": [
    123
  ],
  "forceKick": true
}
'
{
  "traceId": "",
  "code": 0,
  "msg": "",
  "data": [
    {
      "phoneId": 0,
      "teamId": 0,
      "status": 0,
      "token": {},
      "errorMsg": "",
      "chargeType": 0,
      "nextPayTime": ""
    }
  ],
  "status": ""
}

Body

application/json
phoneIds
integer[]

List of phone IDs,obtain the id through Get phone list api

Minimum array length: 1
forceKick
boolean
default:true

Whether to force kick out

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