Skip to main content
POST
/
open
/
api
/
getCpyConnect
Get the CPY connection details.
curl --request POST \
  --url https://user.pmock.com/api/open/api/getCpyConnect \
  --header 'Content-Type: application/json' \
  --data '{
  "phoneId": 123
}'
{
  "traceId": "",
  "code": 0,
  "msg": "",
  "data": {
    "token": "",
    "host": ""
  },
  "status": "finish"
}

Body

application/json
phoneId
integer<int64>
required

Phone ID

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