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": "<string>",
  "code": 123,
  "msg": "<string>",
  "status": "finish",
  "data": {
    "token": "<string>",
    "host": "<string>"
  }
}

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